[linux-pm] PM models

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

 



On Monday 01 November 2004 18:16, Benjamin Herrenschmidt wrote:
> 
> The fact that all suspend() callbacks imply freeze, which is a drivers
> state, makes me think that freeze is just what ... suspend() means. That
> is, we can get rid of the "freeze" semantic altogether if we consider
> that the pm_message contains a suggested "abstract" power state. suspend
> with state "on" would mean freeze.

I'm not sure I like "on == freeze", but certainly it
seems plausible to model "freeze" as a power state
with minimal semantics.  If the state is really needed,
that is ... I suspect the kexec() model would be just
as well achieved by unbinding all drivers from the
devices.  Ditto halt().

You've claimed that APM needs a FREEZE state.  Why?
If the issue is "BIOS handles hardware power states"
that could be addressed more directly in for example
pci_set_power_state(): "if (system_uses_APM()) return".

- Dave
 


[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