[linux-pm] [PATCH 2/2] Fix console handling during suspend/resume

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

 



Hi!

> > It's not so different from what Linus has been sketching, except
> > for the actual turn-off-DMA step.  (Needed because you want to get
> > an atomic snapshot.)  In terms of $SUBJECT the gain is that you
> > actually get a debuggable suspend sequence.
> 
> Actually, if the _only_ thing STD wants to do, why not just have a
> 
> 	->freeze(dev)
> 	->unfreeze(dev)
> 
> call-in?

Unfortunately, it is not the _only_ thing STD needs to do. unfreeze()
must be able to reinitialize/resume the device during resume.

> In other words, if you really just want to stop the devices in order to do 
> a memory snapshot, doing a "suspend" + "resume" is _way_way_way_ overkill, 
> and really really fragile because it is so much more complicated. A
> simple

Well, but we need that to work for s2ram anyway.
									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