Files
android_kernel_xiaomi_sm8450/arch/powerpc/kernel
Benjamin Herrenschmidt fa3f82c8bb powerpc/smp: soft-replugged CPUs must go back to start_secondary
Various thing are torn down when a CPU is hot-unplugged. That CPU
is expected to go back to start_secondary when re-plugged to re
initialize everything, such as clock sources, maps, ...

Some implementations just return from cpu_die() callback
in the idle loop when the CPU is "re-plugged". This is not enough.

We fix it using a little asm trampoline which resets the stack
and calls back into start_secondary as if we were all fresh from
boot. The trampoline already existed on ppc64, but we add it for
ppc32

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2011-04-01 15:37:09 +11:00
..
2010-07-14 17:14:00 +10:00
2011-03-30 10:44:00 +11:00
2011-03-29 14:48:13 +02:00
2010-10-05 17:27:54 -07:00
2010-12-09 15:35:32 +11:00
2010-09-22 09:33:50 -07:00
2010-07-19 10:56:54 +02:00
2010-03-12 15:52:32 -08:00