Re: calling runtime PM from system PM methods

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

 



On Fri, Jun 10, 2011 at 10:27:25PM +0200, Rafael J. Wysocki wrote:

> So, there are a few things to consider:

> * Can the device do things like DMA?
> * Does the driver use a workqueue?
> * Does it use timers?

> In all of the above cases your system suspend handling will require extra
> care to make sure those things won't get in the way of the suspend process.

Yes, that's the quiesce operation I think myself or Alan mentioned.

> It's probably fair to say that everithing depends on the subsystem, what it
> does and what it expects from the driver.  In the extreme case, when the
> subsystem is like the platform bus type, the driver unfortunately is on its
> own and has to deal with the whole complexity.

I'm pretty much only working with buses that have no infrastructure and
for which power is essentially orthogonal to the control bus itself -
that's a very large proportion of the embedded space.  It really feels
like we could be doing a better job for drivers using these buses,
there's a lot of similarities in what many of them need but I can never
find the time to get my head round it confidently enough to actually
propose anything.
_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm


[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