]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit23276be3e001b1bb03d3ed3a110240e75169c5b9
tree0b13cf3bae358c65aa577ef7f3ee9962bf6fff43
parent7cd03bba15197c780a570d83845411558b4c53d2
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