powerpc/pseries: Do not start secondaries in Open Firmware
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 25 Sep 2013 04:02:50 +0000 (14:02 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 25 Sep 2013 04:19:00 +0000 (14:19 +1000)
commitdbe78b40118636f2d5d276144239dd4bfd5f04f9
tree5f92183e5a07ccb71a3127b72f333d087ff5459d
parent0c9fa29149d3726e14262aeb0c8461a948cc9d56
powerpc/pseries: Do not start secondaries in Open Firmware

Starting secondary CPUs early on from Open Firmware and placing them
in a holding spin loop slows down the boot process significantly under
some hypervisors such as KVM.

This is also unnecessary when RTAS supports querying the CPU state

So let's not do it.

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