zephyr/arch
Luke Starrett 430952f0b2 arch: arm64: GICv2/v3 handling causes abort on spurious interrupt
In _isr_wrapper, the interrupt ID read from the GIC is blindly used to
index into _sw_isr_table, which is only sized based on CONFIG_NUM_IRQ.

It is possible for both GICv2 and GICv3 to return 1023 for a handful
of scenarios, the simplest of which is a level sensitive interrupt
which has subsequently become de-asserted.  Borrowing from the Linux
GIC implementation, a read that returns an interrupt ID of 1023 is
simply ignored.

Minor collateral changes to gic.h to group !_ASMLANGUAGE content
together to allow this header to be used in assembler files.

Signed-off-by: Luke Starrett <luke.starrett@gmail.com>
2020-12-16 08:46:03 -05:00
..
arc power: rename _sys_suspend/_sys_resume 2020-12-09 15:18:29 -05:00
arm arch: arm64: GICv2/v3 handling causes abort on spurious interrupt 2020-12-16 08:46:03 -05:00
common
nios2
posix posix: Add cpu_hold() function to better emulate code delay 2020-12-14 12:32:11 +01:00
riscv
sparc
x86 x86: mmu: clarify physical/virtual conversions 2020-12-15 14:16:51 -05:00
xtensa
CMakeLists.txt
Kconfig power: move kconfigs from arch/ to power/ 2020-12-09 15:18:29 -05:00