]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
irqchip/gic-v3: Configure all interrupts as non-secure Group-1
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 6 May 2016 18:41:56 +0000 (19:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Jun 2016 19:17:59 +0000 (12:17 -0700)
commit740c23109e875370f4217f507723ee6ccf329b88
treefd1a7f4dcf8bccd9ec69097314a0a456ddf2ac09
parent00a6ed86a7695a937cf4be481ea08aa492da3c7d
irqchip/gic-v3: Configure all interrupts as non-secure Group-1

commit 7c9b973061b03af62734f613f6abec46c0dd4a88 upstream.

The GICv3 driver wrongly assumes that it runs on the non-secure
side of a secure-enabled system, while it could be on a system
with a single security state, or a GICv3 with GICD_CTLR.DS set.

Either way, it is important to configure this properly, or
interrupts will simply not be delivered on this HW.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/irqchip/irq-gic-v3.c