powerpc/powernv: Fix starting of secondary CPUs on OPALv2 and v3
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 14 May 2013 05:12:31 +0000 (15:12 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 14 May 2013 05:12:31 +0000 (15:12 +1000)
commitb2b48584dfc69a5ebc70ee7976524d7122e5df5f
tree0b13cf3bae358c65aa577ef7f3ee9962bf6fff43
parent75b93da43aa1132bf23dafbb4badb028ccf78129
powerpc/powernv: Fix starting of secondary CPUs on OPALv2 and v3

The current code fails to handle kexec on OPALv2. This fixes it
and adds code to improve the situation on OPALv3 where we can
query the CPU status from the firmware and decide what to do
based on that.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/powernv/smp.c