powerpc/powernv: Return secondary CPUs to firmware on kexec
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 21 Aug 2013 03:03:20 +0000 (13:03 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 27 Aug 2013 07:43:50 +0000 (17:43 +1000)
commit13906db670a128864714c30c244b866dce119494
tree3f615ce7648aa6b15cbd8ff8eaf2c51250f57cd9
parentee372bc1c6ab2f411d098337936ebb994af264c4
powerpc/powernv: Return secondary CPUs to firmware on kexec

With OPAL v3 we can return secondary CPUs to firmware on kexec. This
allows firmware to do various cleanups making things generally more
reliable, and will enable the "new" kernel to call OPAL to perform
some reconfiguration tasks early on that can only be done while
all the CPUs are in firmware.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/opal.h
arch/powerpc/platforms/powernv/opal-wrappers.S
arch/powerpc/platforms/powernv/setup.c