powerpc: Don't skip ePAPR spin-table CPUs
authorScott Wood <scottwood@freescale.com>
Wed, 25 Jun 2014 01:15:51 +0000 (20:15 -0500)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 6 Aug 2015 23:32:16 +0000 (00:32 +0100)
commitdfbbd2eeb55b42e1e32a113c3cde01a6114391d3
tree683c4286d23a891e377252b85b36721195a4d0e8
parent86e059f8367c5fc34bbe2350cc6a8c78335f4c58
powerpc: Don't skip ePAPR spin-table CPUs

commit 6663a4fa6711050036562ddfd2086edf735fae21 upstream.

Commit 59a53afe70fd530040bdc69581f03d880157f15a "powerpc: Don't setup
CPUs with bad status" broke ePAPR SMP booting.  ePAPR says that CPUs
that aren't presently running shall have status of disabled, with
enable-method being used to determine whether the CPU can be enabled.

Fix by checking for spin-table, which is currently the only supported
enable-method.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Cc: Michael Neuling <mikey@neuling.org>
Cc: Emil Medve <Emilian.Medve@Freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: Jonathan Toppins <jtoppins@cumulusnetworks.com>
arch/powerpc/kernel/setup-common.c