[PATCH] ARM: smp: return from ipi_cpu_stop()
Ulrich Hecht
ulrich.hecht at gmail.com
Sat Jan 5 10:08:07 EST 2013
On Sat, Jan 5, 2013 at 3:09 PM, Russell King - ARM Linux
<linux at arm.linux.org.uk> wrote:
> On Sat, Jan 05, 2013 at 02:05:23PM +0100, Ulrich Hecht wrote:
>> ipi_cpu_stop() is supposed to mark a CPU offline, but it's the job of the
>> idle thread to actually shut it down.
>
> Wrong. Where do you get that idea from?
I think it's because that's where the only code path ending up at
shmobile_cpu_die() starts:
cpu_idle() -> cpu_die() -> platform_cpu_die() -> smp_ops.cpu_die()
(which is set to shmobile_cpu_die() on my board).
CU
Uli
More information about the linux-arm-kernel
mailing list