]> 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)
commite561ce1bdb3a1f05579229437dcf5caeda0dcf7c
treecc95a5c77c4e6b8415545e89314b11b4b854611d
parente5d5a4940d55a63b95b580dc0f5e8b8de6ae582b
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