[linux-pm] RFC -- updated Documentation/power/devices.txt

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

 



Hi!

Not sure if I'm commenting on latest version...

>     PM_EVENT_FREEZE -- quiesce the driver, but don't necessarily change into
> 	any low power mode.  The driver's resume() will often be called soon.
> 	Neither wakeup events nor DMA are allowed.
> 
>     PM_EVENT_PRETHAW -- quiesce the driver, knowing that the upcoming resume()
> 	will restore a suspend-to-disk snapshot from a different kernel image.
> 	Drivers that are smart enough to look at their hardware state during
> 	resume() processing need that state to be correct ... a PRETHAW could
> 	be used to invalidate that state (by resetting the device).  Other
> 	drivers might handle this the same way as PM_EVENT_FREEZE.

"Neither wakeup events nor DMA are allowed." should be added here,
too.
								Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


[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