]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
powerpc: Don't skip ePAPR spin-table CPUs
authorScott Wood <scottwood@freescale.com>
Wed, 25 Jun 2014 01:15:51 +0000 (20:15 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jul 2014 01:59:11 +0000 (18:59 -0700)
commitf1ee6ff83edd96a756b6c986d50a92e772bc5ed4
treec6c346121ece9dbe64c311f8b7d087316280acdd
parent99860b1d9cc9f6900af7e1b2a33441dea900c2be
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/kernel/setup-common.c