irqchip/gic: Make sure all interrupts are deactivated at boot
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 16 Nov 2015 19:13:26 +0000 (19:13 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 17 Nov 2015 13:25:58 +0000 (14:25 +0100)
commit0eece2b22849c90b730815c893425a36b9d10fd5
tree40868612548c166d5f363994121242bb12accd42
parent8005c49d9aea74d382f474ce11afbbc7d7130bec
irqchip/gic: Make sure all interrupts are deactivated at boot

When booting a GIC/GICv3 based system, we have no idea what
state the firmware (or previous kernel in the case of kexec)
has left the GIC, and some interrupts may still be active.

In order to garantee that we have a clean state, make sure
the active bits are cleared at init time.

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-3-git-send-email-marc.zyngier@arm.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/irqchip/irq-gic-common.c