public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/6] S3 SMP support with physcial CPU hotplug
@ 2005-04-04  2:05 Li Shaohua
       [not found] ` <1112580342.4194.329.camel-U5EdaLXB8smDugQYiPIPGdh3ngVCH38I@public.gmane.org>
  0 siblings, 1 reply; 16+ messages in thread
From: Li Shaohua @ 2005-04-04  2:05 UTC (permalink / raw)
  To: lkml, ACPI-DEV; +Cc: Zwane Mwaikambo, Len Brown, Pavel Machek

Hi,
The following 6 patches try to add suspend-to-ram (or S3) SMP support
for IA32. It's for support HT based system suspend/resume currently and
most of the code are also useful for physical CPU hotplug.

In a SMP system, after S3 resume, the BP is starting to execute the ACPI
wakeup address just like the UP case. And the APs possibly are in a
BIOS's busy loop. This just looks like the boot time case, we must use a
SIPI circle to wakeup the APs.

We uses the CPU hotplug infrastructure. In order to reuse the SMP boot
code, we clean up all CPU states after the CPU is dead, including its
idle thread, runqueue and other CPU states. Since the CPU is in idle
thread before suspend, we don't require to save and restore after resume
most of the CPU states.

Now the sequences of S3 are:
1. hotremove all APs, put them into idle thread.
2. follow UP S3 code path.
3. warm boot all APs.
4. UP all APs.

The patches are against 2.6.11-rc1 with Zwane's CPU hotplug patch in -mm
tree. To test the SMP S3, please don't enable MTRR driver (it's SMP
broken for Suspend/resume). And please kill syslogd, there is a bug in
the sususpend/resume refrigerator mechanism, which can be fixed by
swsusp2 refrigerator.
I'm looking forward to your comments. Thanks in advance!

Thanks,
Shaohua



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2005-04-04 19:42 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-04  2:05 [RFC 0/6] S3 SMP support with physcial CPU hotplug Li Shaohua
     [not found] ` <1112580342.4194.329.camel-U5EdaLXB8smDugQYiPIPGdh3ngVCH38I@public.gmane.org>
2005-04-04  2:37   ` Andrew Morton
     [not found]     ` <20050403193750.40cdabb2.akpm-3NddpPZAyC0@public.gmane.org>
2005-04-04  2:42       ` Li Shaohua
     [not found]         ` <1112582553.4194.349.camel-U5EdaLXB8smDugQYiPIPGdh3ngVCH38I@public.gmane.org>
2005-04-04  2:48           ` Andrew Morton
     [not found]             ` <20050403194807.32fd761a.akpm-3NddpPZAyC0@public.gmane.org>
2005-04-04  2:49               ` Li Shaohua
     [not found]                 ` <1112582947.4194.352.camel-U5EdaLXB8smDugQYiPIPGdh3ngVCH38I@public.gmane.org>
2005-04-04  8:01                   ` Nigel Cunningham
     [not found]                     ` <1112601670.3757.6.camel-r49W/1Cwd2ff0s6lnCXPX/uOuaPYTxhvJwvTLr3MMZM@public.gmane.org>
2005-04-04  8:44                       ` Li Shaohua
2005-04-04  9:10                         ` [ACPI] " Pavel Machek
2005-04-04  9:24                           ` Li Shaohua
     [not found]                             ` <1112606651.4194.391.camel-U5EdaLXB8smDugQYiPIPGdh3ngVCH38I@public.gmane.org>
2005-04-04  9:32                               ` Pavel Machek
2005-04-04  9:55                               ` Nigel Cunningham
2005-04-04  8:44       ` Pavel Machek
2005-04-04  9:54       ` Nigel Cunningham
2005-04-04 11:31         ` [ACPI] " Pavel Machek
     [not found]           ` <20050404113129.GA7120-jyMamyUUXNJG4ohzP4jBZS1Fcj925eT/@public.gmane.org>
2005-04-04 11:46             ` Nigel Cunningham
2005-04-04 19:42             ` Zwane Mwaikambo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox