[linux-pm] PM models

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

 



Hi!

> > OTOH... there's preparation for shutdown, which does not fit here too
> > much, and preparation for apm sleep, which does not fit, either:
> > 
> > For shutdown, power state is not interesting, and you do not even need
> > to freeze, but you'd better spin down the disks, or you loose your
> > data.
> 
> If you don't freeze, a stal request may spin back up. Also, shutdown is
> used for kexec as well, which absolutely need DMA off, that is freeze
> semantics.

Well, we probably want different flags for kexec.

> I suggest we define a shutdown message too. By default, busses would
> call shutdown if it exist, if not, pass suspend with the shutdown
> message. Looks ok ?

Yep... 

> > For apm suspend... noone knows whats really required. Theoretically,
> > neither freeze nor powersaving is needed.
> 
> Freeze would be a good thing tho. There are interesting "races" with APM
> suspend that would be fixed... Also, saving/restoring device states
> since APM tend to fail restore some stuffs here or there.

I believe it would be nicer to SUSPEND, because apm bios may fail to put
devices into powersave...
								Pavel
PS: The mail with list of states was sent before I received this one...
-- 
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!


[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