]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.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)
committerKamal Mostafa <kamal@canonical.com>
Fri, 10 Jun 2016 13:32:25 +0000 (06:32 -0700)
commit0b2106178b3c168719c7141c5a1e62ec86aae623
tree6e8ce836cb0c67dc5f9165699e4dbb04425cbf27
parentddfd06429c0b4d688ba433fa7a79c6274a5caaa8
irqchip/gic-v3: Configure all interrupts as non-secure Group-1

BugLink: http://bugs.launchpad.net/bugs/1588945
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>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
drivers/irqchip/irq-gic-v3.c