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

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

 



On Friday 16 June 2006 4:04 pm, Benjamin Herrenschmidt wrote:
> On Fri, 2006-06-16 at 11:45 -0700, Linus Torvalds wrote:

> That's why having a simple parameter to suspend() indicating wether you
> want a full suspend or just a freeze works well in most cases: The
> driver author doesn't have to think too much about it and can default to
> suspend (suboptimal but works). I think it makes things easier on the
> driver side of things.

Right.

> > My point is, this has nothing to do with _suspending_ the device.
> 
> No, but it's about suspending the _driver_. My point is that suspending
> the device and suspending the driver are 2 different things. STR
> involves both, STD involves only the driver. However, because of the
> dependency on parent devices, they always have to be done at the same
> time.

I'll call that, and  raise you.  It's about quiescing (and in some
cases suspending) an entire _stack_ of drivers and collaborating tasks.
That stack can easily cross subsystem boundaries...

- 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