]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit589df4a77dabdb739b28fedb99c71fcd6476f963
treecc95a5c77c4e6b8415545e89314b11b4b854611d
parenta80d7f3a0d1a44034529535f6b0f1dcdd0348bfd
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