]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc: Reset kernel stack on cpu online from cede state
authorVaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
Mon, 1 Mar 2010 02:58:09 +0000 (02:58 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 12 May 2010 22:02:54 +0000 (15:02 -0700)
commita3cbce7a301b4291814296fda0ec571fcc0a1c2e
treeaff28fdd94b866f31ad7abaa73408042d8e70e29
parent467e1b31ef815aadd8c7648929fd1fa8d46b811d
powerpc: Reset kernel stack on cpu online from cede state

commit 8dbce53cc249a76e9450708d291fce5a7e29c6a1 upstream.

Cpu hotplug (offline) without dlpar operation will place cpu
in cede state and the extended_cede_processor() function will
return when resumed.

Kernel stack pointer needs to be reset before
start_secondary() is called to continue the online operation.

Added new function start_secondary_resume() to do the above
steps.

Signed-off-by: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
Cc: Gautham R Shenoy <ego@in.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/powerpc/kernel/head_64.S
arch/powerpc/platforms/pseries/hotplug-cpu.c
arch/powerpc/platforms/pseries/offline_states.h