powerpc/powernv: Make it possible to skip the IRQHAPPENED check in power7_nap()
authorMichael Ellerman <mpe@ellerman.id.au>
Fri, 23 May 2014 08:15:26 +0000 (18:15 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 28 May 2014 03:35:35 +0000 (13:35 +1000)
commit8d6f7c5aa3db6f3e5e43d09f8a0166c7d96f33f3
treeabde7ff85f8eb47d7c028228101c0fd3880bb0fa
parent441c19c8a290f5f1e1b263691641124c84232b6e
powerpc/powernv: Make it possible to skip the IRQHAPPENED check in power7_nap()

To support split core we need to be able to force all secondaries into
nap, so the core can detect they are idle and do an unsplit.

Currently power7_nap() will return without napping if there is an irq
pending. We want to ignore the pending irq and nap anyway, we will deal
with the interrupt later.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/processor.h
arch/powerpc/kernel/idle_power7.S
arch/powerpc/platforms/powernv/smp.c