summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2010-04-28 13:39:41 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2010-07-05 11:08:42 -0700
commit4be4e01c7d844bbb7b88a2bcf931ac00408289c3 (patch)
treee31445f9e3e902e67de44ecf7f13484e2c113a73 /lib
parentae7aff994d0934d86a3278a65889f34629c778a7 (diff)
downloadlwn-4be4e01c7d844bbb7b88a2bcf931ac00408289c3.tar.gz
lwn-4be4e01c7d844bbb7b88a2bcf931ac00408289c3.zip
powerpc/pseries: Only call start-cpu when a CPU is stopped
commit aef40e87d866355ffd279ab21021de733242d0d5 upstream. Currently we always call start-cpu irrespective of if the CPU is stopped or not. Unfortunatley on POWER7, firmware seems to not like start-cpu being called when a cpu already been started. This was not the case on POWER6 and earlier. This patch checks to see if the CPU is stopped or not via an query-cpu-stopped-state call, and only calls start-cpu on CPUs which are stopped. This fixes a bug with kexec on POWER7 on PHYP where only the primary thread would make it to the second kernel. Reported-by: Ankita Garg <ankita@linux.vnet.ibm.com> Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions