irqchip/gic: Only set the EOImodeNS bit for the root controller
commit389a00d3ad02a06b5d6d692cce76fed6a3dae8b4
authorJon Hunter <jonathanh@nvidia.com>
Tue, 9 Feb 2016 15:24:57 +0000 (9 15:24 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Thu, 11 Feb 2016 10:20:02 +0000 (11 10:20 +0000)
tree542435c6bdb04f0ffe0434773214be768e365394
parent7bf29d3af6807d2a97a8b7d4627104a8da9bcdcb
irqchip/gic: Only set the EOImodeNS bit for the root controller

EOImode1 is only used for the root controller and hence only the root
controller uses the eoimode1 functions for handling interrupts. However,
if the root controller supports EOImode1, then the EOImodeNS bit will be
set for all GICs, enabling EOImode1. This is not what we want and this
causes interrupts on non-root GICs to only be dropped in priority but
never deactivated. Therefore, only set the EOImodeNS bit for the root
controller.

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-gic.c