Re: [ACPI] Re: [RFC 0/6] S3 SMP support with physcial CPU hotplug

Li Shaohua
2005-04-04T09:26:42Z

On Mon, 2005-04-04 at 17:10, Pavel Machek wrote:
> Hi!
>
> > > I'm switching suspend2 to use hotplug too. Li, I'll try adding your
> > > patches as well as Zwane's if you like
> > Great!
> >
> > > (suspend2 can enter S3, S4 or S5
> > > after writing the image). I'd love to try it on my HT desktop, and
> > > hotplug will get more testing too :>
> > Unfortunately, my patches break Pavel's swsusp SMP, as my patches break
> > current 'cpu_up' mechanism. S4 doesn't require to boot AP CPUs from real
> > mode.
>
> Uh, I don't like that one. Is it possible to put secondary CPUs back
> to the real mode
Possibly doesn't need the trouble. Send a SIPI also can wakeup the a CPU
in protected mode.

> so that cpu_up mechanism can handle them?
If S4 also calls a smp_prepare_cpu, then the patches don't break S4. If
people don't complain warm boot a CPU is slow, I'd like S4 also use
smp_prepare_cpu.

Thanks,
Shaohua