[linux-pm] Some thoughts on suspend/resume development

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Pavel Machek writes:

> We put all but one cpu in tight loop in smp_pause, so that it can't
> interfere. That's enough for STD, but not for STR.

I have an SMP powermac here that does STR quite nicely.  The best
solution I found to dealing with the 2nd cpu is to use the hotplug cpu
framework and offline the cpu before starting the process of going to
sleep.  (Offline means that the cpu is put into a deep sleep state
with interrupts disabled.)  Then, after wakeup is complete, the 2nd
cpu is brought online again (by a soft reset).  The point is that the
hotplug cpu framework exists and works, and all that I had to do was
provide the low-level routines to actually put the cpu into the deep
sleep state, and to reinitialize it once it had been reset.

Paul.

[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux