From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: linux-pm@lists.linux-foundation.org, linux-omap@vger.kernel.org
Subject: Re: calling runtime PM from system PM methods
Date: Sat, 11 Jun 2011 22:56:36 +0200 [thread overview]
Message-ID: <201106112256.37012.rjw@sisk.pl> (raw)
In-Reply-To: <20110611114239.GC2738@opensource.wolfsonmicro.com>
On Saturday, June 11, 2011, Mark Brown wrote:
> 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.
I agree. That's one of the reasons why I introduced the struct dev_power_domain
thing a while ago and the generic PM domains patchset I've just posted is a step
in that direction.
Thanks,
Rafael
next prev parent reply other threads:[~2011-06-11 20:56 UTC|newest]
Thread overview: 58+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20110610155707.GN26436@opensource.wolfsonmicro.com>
2011-06-10 17:17 ` calling runtime PM from system PM methods Alan Stern
[not found] ` <Pine.LNX.4.44L0.1106101317160.1921-100000@iolanthe.rowland.org>
2011-06-10 17:31 ` Mark Brown
[not found] ` <20110610173154.GO26436@opensource.wolfsonmicro.com>
2011-06-10 18:38 ` Rafael J. Wysocki
[not found] ` <201106102038.22725.rjw@sisk.pl>
2011-06-10 18:42 ` Mark Brown
[not found] ` <20110610184222.GT26436@opensource.wolfsonmicro.com>
2011-06-10 20:27 ` Rafael J. Wysocki
[not found] ` <201106102227.25391.rjw@sisk.pl>
2011-06-10 21:27 ` Alan Stern
2011-06-11 11:42 ` Mark Brown
[not found] ` <20110611114239.GC2738@opensource.wolfsonmicro.com>
2011-06-11 20:56 ` Rafael J. Wysocki [this message]
2011-06-13 12:22 ` Mark Brown
[not found] <Pine.LNX.4.44L0.1106201028470.2113-100000@iolanthe.rowland.org>
2011-06-20 19:53 ` Rafael J. Wysocki
[not found] <201106192136.51572.rjw@sisk.pl>
2011-06-20 14:39 ` Alan Stern
[not found] <Pine.LNX.4.44L0.1106191042510.11375-100000@netrider.rowland.org>
2011-06-19 19:36 ` Rafael J. Wysocki
[not found] <201106191604.11074.rjw@sisk.pl>
2011-06-19 15:01 ` Alan Stern
[not found] <Pine.LNX.4.44L0.1106182137100.3523-100000@netrider.rowland.org>
2011-06-19 14:04 ` Rafael J. Wysocki
[not found] <201106190157.31526.rjw@sisk.pl>
2011-06-19 1:42 ` Alan Stern
[not found] <Pine.LNX.4.44L0.1106181123050.29370-100000@netrider.rowland.org>
2011-06-18 21:01 ` Rafael J. Wysocki
[not found] ` <201106182301.04090.rjw@sisk.pl>
2011-06-18 23:57 ` Rafael J. Wysocki
[not found] <201106181308.42298.rjw@sisk.pl>
2011-06-18 15:31 ` Alan Stern
[not found] <Pine.LNX.4.44L0.1106171554510.2143-100000@iolanthe.rowland.org>
2011-06-17 21:29 ` Rafael J. Wysocki
[not found] ` <201106172329.37087.rjw@sisk.pl>
2011-06-18 11:08 ` Rafael J. Wysocki
[not found] <201106172147.13189.rjw@sisk.pl>
2011-06-17 20:04 ` Alan Stern
[not found] <Pine.LNX.4.44L0.1106161017310.2204-100000@iolanthe.rowland.org>
2011-06-16 22:48 ` Rafael J. Wysocki
[not found] ` <201106170048.37072.rjw@sisk.pl>
2011-06-17 19:47 ` Rafael J. Wysocki
[not found] <Pine.LNX.4.44L0.1106121153510.18475-100000@netrider.rowland.org>
2011-06-12 18:27 ` Rafael J. Wysocki
[not found] <Pine.LNX.4.44L0.1106111227580.3439-100000@netrider.rowland.org>
2011-06-11 22:46 ` Rafael J. Wysocki
[not found] ` <201106120046.36618.rjw@sisk.pl>
2011-06-12 15:59 ` Alan Stern
2011-06-15 21:54 ` Kevin Hilman
[not found] ` <87fwna3gnb.fsf@ti.com>
2011-06-16 0:01 ` Rafael J. Wysocki
[not found] ` <201106160201.47123.rjw@sisk.pl>
2011-06-16 1:17 ` Kevin Hilman
[not found] ` <87boxytw05.fsf@ti.com>
2011-06-16 14:27 ` Alan Stern
2011-06-16 22:30 ` Rafael J. Wysocki
[not found] <87ipsdnt1a.fsf@ti.com>
2011-06-11 16:42 ` Alan Stern
[not found] <20110610152151.GG26441@sirena.org.uk>
2011-06-10 15:45 ` Alan Stern
[not found] ` <Pine.LNX.4.44L0.1106101131110.1921-100000@iolanthe.rowland.org>
2011-06-10 15:57 ` Mark Brown
[not found] <87k4d55c8k.fsf@ti.com>
2011-06-02 14:18 ` Alan Stern
2011-06-06 18:01 ` Rafael J. Wysocki
[not found] <Pine.LNX.4.44L0.1106021010360.1913-100000@iolanthe.rowland.org>
2011-06-02 17:10 ` Kevin Hilman
[not found] ` <87lixkyxa8.fsf@ti.com>
2011-06-02 18:38 ` Alan Stern
2011-06-06 18:29 ` Rafael J. Wysocki
[not found] ` <201106062029.36389.rjw@sisk.pl>
2011-06-06 19:16 ` Alan Stern
2011-06-06 22:25 ` Kevin Hilman
[not found] ` <87zkluwqab.fsf@ti.com>
2011-06-07 13:55 ` Alan Stern
2011-06-07 21:32 ` Rafael J. Wysocki
[not found] ` <201106072332.30464.rjw@sisk.pl>
2011-06-07 22:34 ` Kevin Hilman
2011-06-08 22:50 ` Kevin Hilman
[not found] ` <87hb80546c.fsf@ti.com>
2011-06-09 5:29 ` Magnus Damm
2011-06-09 13:56 ` Alan Stern
[not found] ` <Pine.LNX.4.44L0.1106090945490.2081-100000@iolanthe.rowland.org>
2011-06-10 14:36 ` Mark Brown
[not found] ` <20110610143657.GF26441@sirena.org.uk>
2011-06-10 14:51 ` Alan Stern
[not found] ` <Pine.LNX.4.44L0.1106101050140.1921-100000@iolanthe.rowland.org>
2011-06-10 15:21 ` Mark Brown
2011-06-10 18:49 ` Rafael J. Wysocki
[not found] ` <201106102049.03777.rjw@sisk.pl>
2011-06-10 18:54 ` Mark Brown
[not found] ` <20110610185458.GU26436@opensource.wolfsonmicro.com>
2011-06-10 20:45 ` Rafael J. Wysocki
2011-06-10 23:52 ` Kevin Hilman
2011-06-10 23:14 ` Kevin Hilman
[not found] ` <8739jhs2hv.fsf@ti.com>
2011-06-11 16:27 ` Alan Stern
2011-06-11 23:13 ` Rafael J. Wysocki
2011-06-02 0:05 Kevin Hilman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201106112256.37012.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=linux-omap@vger.kernel.org \
--cc=linux-pm@lists.linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox