powerpc/pseries: Don't panic when H_PROD fails during cpu-online.
authorGautham R Shenoy <ego@in.ibm.com>
Thu, 10 Dec 2009 01:19:37 +0000 (01:19 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 18 Dec 2009 03:54:26 +0000 (14:54 +1100)
commite9edb232d3b0848457a83a5b697f55264542892f
tree1881524953c51d458d85d218576bbc15f0de715a
parent50891457f1001450be61be0861b2b49abdcb5fb9
powerpc/pseries: Don't panic when H_PROD fails during cpu-online.

If an online-attempt on a CPU which has been offlined using H_CEDE
with an appropriate cede latency hint fails, don't panic.

Instead print the error message and let the __cpu_up() code notify the
CPU Hotplug framework of the failure, which in turn can notify the
other subsystem through CPU_UP_CANCELED.

Signed-off-by: Gautham R Shenoy <ego@in.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/smp.c