[PATCH 08/13] arm64: Use cpu_ops for smp_stop
Geoff Levand
geoff at infradead.org
Wed Sep 24 17:24:42 PDT 2014
Hi Mark,
On Mon, 2014-09-15 at 20:06 +0100, Mark Rutland wrote:
> Hi Geoff,
>
> On Tue, Sep 09, 2014 at 11:49:05PM +0100, Geoff Levand wrote:
> > The current implementation of ipi_cpu_stop() is just a tight infinite loop
> > around cpu_relax(). This infinite loop implementation is OK if the machine
> > will soon do a poweroff, but it doesn't have any mechanism to allow a CPU
> > to be brought back on-line, nor is it compatible with kexec re-boot.
>
> I don't see why we should use this when we have disable_nonboot_cpus.
I decided to use disable_nonboot_cpus, so this patch is no longer
needed. I'll put the rework of disable_nonboot_cpus to not depend on
CONFIG_PM_SLEEP_SMP on my todo list.
-Geoff
More information about the linux-arm-kernel
mailing list