irqchip: mips-gic: Configure EIC when CPUs come online
authorPaul Burton <paul.burton@mips.com>
Tue, 31 Oct 2017 16:41:47 +0000 (09:41 -0700)
committerMarc Zyngier <marc.zyngier@arm.com>
Thu, 2 Nov 2017 15:55:46 +0000 (15:55 +0000)
commit890f6b55e5a5cc4e1a2efe36026c6fe3fb253b3b
treecc95a5c77c4e6b8415545e89314b11b4b854611d
parent25ac19e1b076e52c41d713138cb21d6dd2339440
irqchip: mips-gic: Configure EIC when CPUs come online

Rather than configuring EIC mode for all CPUs during boot, configure it
locally on each when they come online. This will become important with
multi-cluster support, since clusters may be powered on & off (for
example via hotplug) and would lose the EIC configuration when powered
off.

Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-mips@linux-mips.org
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-mips-gic.c