summaryrefslogtreecommitdiffstats
path: root/drivers/irqchip/alphascale_asm9260-icoll.h
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2015-11-16 20:13:28 +0100
committerThomas Gleixner <tglx@linutronix.de>2015-11-17 14:25:59 +0100
commit1c7d4dd46ee048afe19e1294634df6fa66862519 (patch)
tree91c74527ad3a1041a33af93b2420fa95630685cd /drivers/irqchip/alphascale_asm9260-icoll.h
parentirqchip/gic: Clear enable bits before restoring them (diff)
downloadlinux-1c7d4dd46ee048afe19e1294634df6fa66862519.tar.xz
linux-1c7d4dd46ee048afe19e1294634df6fa66862519.zip
irqchip/gic: Add save/restore of the active state
When using EOImode==1, we may mark interrupts as being forwarded to a virtual machine. In that case, the interrupt is left active while being passed to the VM. If we suspend the system before the VM has deactivated the interrupt, the active state will be lost (which may be very annoying, as this may result in spurious interrupts and a confused guest). To avoid this, save and restore the active state together with the rest of the GIC registers. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Cc: <linux-arm-kernel@lists.infradead.org> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Russell King <linux@arm.linux.org.uk> Link: http://lkml.kernel.org/r/1447701208-18150-5-git-send-email-marc.zyngier@arm.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/irqchip/alphascale_asm9260-icoll.h')
0 files changed, 0 insertions, 0 deletions