irqchip/gic: Make interrupt ID 1020 invalid
authorMarc Zyngier <marc.zyngier@arm.com>
Wed, 16 Dec 2015 14:11:22 +0000 (14:11 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 16 Dec 2015 15:30:51 +0000 (15:30 +0000)
commit327ebe1f3a9b7e20e298b39d0cff627169a28012
tree88ef47c45126e62e307599d8d9955e1a6e834a57
parent86d14c72b7837589a4381b3bc2e117e7d842a92a
irqchip/gic: Make interrupt ID 1020 invalid

The GIC has no such thing as interrupt 1020: the last valid ID is
1019, and the range 1020-1023 is reserved - 1023 indicating that
no interrupt is pending. So let's make sure we don't try to handle
this ID.

This bug has been in since the initial GIC code was introduced in
8ad68bbf7a06 ("[ARM] Add support for ARM RealView board").

Reported-by: Eric Auger <eric.auger@linaro.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-gic.c
This page took 0.026426 seconds and 5 git commands to generate.