[linux-pm] States we need to represent

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

 



On Tue, 2004-11-02 at 16:00 -0500, Alan Stern wrote:
> On Tue, 2 Nov 2004, Pavel Machek wrote:
> 
> > Event codes are:
> > 
> > ON - no need to do anything except special cases like broken hw
> > FREEZE - stop dma and interrupts, and be prepared to reinit hw from scratch
> > SUSPEND - like FREEZE, but also put hardware into low-power state
> 
> Presumably SUSPEND includes FREEZE.  What then about wakeup IRQs?  Clearly 
> they need to be enabled on wakeup-capable devices when the system is 
> suspended.  Should they be enabled during a FREEZE?  The fact that SUSPEND 
> includes FREEZE argues that it should be legal to enable wakeup interrupts 
> during FREEZE.

That is totally orthogonal, but FREEZE doesn't imply a system low power
state, so there should be no need for enabling wakeup events. FREEZE is
used for snapshotting the system memory image, and for APM & kexec. APM
is totally under BIOS control and kexec doesn't require wakeup events.

I think wakeup events are only needed for STANDBY and SUSPEND

Ben.




[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