diff options
author | Achin Gupta <achin.gupta@arm.com> | 2015-05-18 10:56:47 +0100 |
---|---|---|
committer | Achin Gupta <achin.gupta@arm.com> | 2015-05-19 11:53:54 +0100 |
commit | ca0225a5dcdd496e1ed1808ff0925dc911098654 (patch) | |
tree | ee81a7e7a6c50033623cc1f683f3718bcd1a1cb7 /plat/arm/css/common/css_scp_bootloader.c | |
parent | 5717aae1c34c8ad3b556d65179f1e197c45a41c3 (diff) |
Fix reporting of interrupt ID in ARM GIC driver
The ARM GIC driver treats the entire contents of the GICC_HPPIR as the interrupt
ID instead of just bits[9:0]. This could result in an SGI being treated as a
Group 1 interrupt on a GICv2 system.
This patch introduces a mask to retrieve only the ID from a read of GICC_HPPIR,
GICC_IAR and similar registers. The value read from these registers is masked
with this constant prior to use as an interrupt ID.
Fixes ARM-software/tf-issues#306
Change-Id: Ie3885157de33b71df9781a41f6ef015a30c4608d
Diffstat (limited to 'plat/arm/css/common/css_scp_bootloader.c')
0 files changed, 0 insertions, 0 deletions