From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Linux PM mailing list <linux-pm@lists.linux-foundation.org>
Cc: Greg KH <gregkh@suse.de>, LKML <linux-kernel@vger.kernel.org>,
Kevin Hilman <khilman@ti.com>,
Grant Likely <grant.likely@secretlab.ca>,
Magnus Damm <magnus.damm@gmail.com>,
linux-sh@vger.kernel.org, MyungJoo Ham <myungjoo.ham@gmail.com>,
Guennadi Liakhovetski <g.liakhovetski@gmx.de>,
Alan Stern <stern@rowland.harvard.edu>
Subject: [PATCH 0/6] PM: Support for generic I/O power domains (v3)
Date: Mon, 16 May 2011 01:17:46 +0200 [thread overview]
Message-ID: <201105160117.46927.rjw@sisk.pl> (raw)
In-Reply-To: <201105082320.57185.rjw@sisk.pl>
Hi,
This is the second update of the patchset adding support for generic I/O power
domains. Patches [1-5/6] have been posted and discussed already, although in
a slightly different form. The last patch is new. The short description of
all the patches and changes since the previous update follow.
The patches are on top of the branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6.git power-domains
which is going to be pushed for 2.6.40. I'd like to push patch [1/6] for
2.6.40 too, since it's only slightly related to the rest of the patchset that
depends on it. Patches [2-5/6] are regarded as 2.6.41 material. Patch [6/6]
is an RFC and it may become 2.6.41 material depending on what you think.
The entire patchset has been tested with an ARM shmobile Mackerel board.
[1/6] - Introduction of generic prepare and complete callbacks for subsystems.
This patch hasn't changed since it was posted last time.
[2/6] - Support for generic I/O power domains (runtime PM part).
There are a few changes relative to the previous version. First,
I added CONFIG_PM_GENERIC_DOMAINS to be selected by platforms
wanting to use the new code (this allows, for example, x86 to avoid
compiling it unnecessarily). Second, the loop over devices in
__pm_genpd_poweroff() doesn't increment "not_suspended" for devices
without drivers, so that they don't prevent the domain from being
powered down. Finally, the kerneldoc comment for pm_genpd_init()
has been fixed.
[3/6] - Support for generic I/O power domains (system sleep part).
pm_genpd_prepare() has been modified to execute pm_runtime_resume()
for the device is the domain's power_is_off flag is clear (the
device needs to be "active" from the runtime PM viewpoint, so that
we can save its registers before suspending the whole system).
Accordingly, pm_genpd_suspend() and pm_genpd_freeze() don't call
pm_runtime_resume() any more (they don't need to do that).
[4/6] - Implementation of generic I/O power domains support for SH7372.
[5/6] - Introduction of SH7372's A4MP power domain.
[6/6] - [RFC] Support of multiple power domain states.
This shows how I think we can handle multiple power domain states
on top of the previous patches.
Comments welcome.
Thanks,
Rafael
next prev parent reply other threads:[~2011-05-15 23:34 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-28 23:54 [RFC][PATCH 0/2] PM: Support for generic I/O power domains Rafael J. Wysocki
2011-04-28 23:54 ` [RFC][PATCH 1/2] PM / Runtime: " Rafael J. Wysocki
2011-04-29 1:26 ` [linux-pm] " MyungJoo Ham
2011-04-29 20:11 ` Rafael J. Wysocki
2011-05-04 8:43 ` MyungJoo Ham
2011-05-04 17:08 ` Rafael J. Wysocki
2011-04-29 20:54 ` Greg KH
2011-04-30 0:54 ` [Update][RFC][PATCH 1/2] PM / Runtime: Support for generic I/O power domains (v2) Rafael J. Wysocki
2011-04-30 1:08 ` Greg KH
2011-05-11 7:26 ` Kevin Hilman
2011-05-11 20:37 ` Rafael J. Wysocki
2011-04-28 23:55 ` [RFC][PATCH 2/2] ARM / shmobile: Support for I/O power domains for SH7372 Rafael J. Wysocki
2011-04-30 0:59 ` [Update][RFC][PATCH 2/2] ARM / shmobile: Support for I/O power domains for SH7372 (v2) Rafael J. Wysocki
2011-04-30 9:56 ` [RFC][PATCH] ARM / shmobile: Support for power domain A4MP on SH7372 Rafael J. Wysocki
2011-05-08 21:20 ` [RFC][PATCH 0/5] PM: Support for generic I/O power domains (v2) Rafael J. Wysocki
2011-05-08 21:22 ` [PATCH 1/5] PM / Runtime: Support for generic I/O power domains (v3) Rafael J. Wysocki
[not found] ` <BANLkTinPGQNUrFnyFVazqA72iyMbB-K_OA@mail.gmail.com>
2011-05-09 19:22 ` [linux-pm] " Rafael J. Wysocki
2011-05-10 8:22 ` Lin Ming
2011-05-10 19:03 ` Rafael J. Wysocki
2011-05-08 21:23 ` [PATCH 2/5] PM: Introduce generic prepare and complete callbacks for subsystems Rafael J. Wysocki
2011-05-08 21:24 ` [PATCH 3/5] PM: Support for system-wide power transitions in generic power domains Rafael J. Wysocki
2011-05-09 14:36 ` [linux-pm] " Alan Stern
2011-05-09 19:20 ` Rafael J. Wysocki
2011-05-09 22:10 ` [Update][PATCH 3/5] PM: System-wide power transitions support for " Rafael J. Wysocki
2011-05-10 21:19 ` [Update 2x][PATCH " Rafael J. Wysocki
2011-05-11 17:17 ` [PATCH 3/5] PM: Support for system-wide power transitions in " Jonathan Corbet
2011-05-11 19:11 ` Rafael J. Wysocki
2011-05-08 21:25 ` [PATCH 4/5] ARM / shmobile: Support for I/O power domains for SH7372 (v4) Rafael J. Wysocki
2011-05-08 21:25 ` [PATCH 5/5] ARM / shmobile: Support for power domain A4MP on SH7372 Rafael J. Wysocki
2011-05-15 23:17 ` Rafael J. Wysocki [this message]
2011-05-15 23:30 ` [PATCH 1/6] PM: Introduce generic prepare and complete callbacks for subsystems Rafael J. Wysocki
2011-05-15 23:31 ` [PATCH 2/6] PM / Runtime: Support for generic I/O power domains (v4) Rafael J. Wysocki
2011-05-15 23:31 ` [PATCH 3/6] PM: System-wide transitions support for generic power domains (v2) Rafael J. Wysocki
2011-05-15 23:32 ` [PATCH 4/6] ARM / shmobile: Support for I/O power domains for SH7372 (v5) Rafael J. Wysocki
2011-05-15 23:33 ` [PATCH 5/6] ARM / shmobile: Support for power domain A4MP on SH7372 Rafael J. Wysocki
2011-05-15 23:34 ` [PATCH 6/6][RFC] PM / Domains: Support for multiple generic power domain states R. J. Wysocki
2011-05-15 23:38 ` Rafael J. Wysocki
2011-05-16 10:07 ` Kevin Hilman
2011-05-16 18:29 ` Rafael J. Wysocki
2011-05-27 23:15 ` [PATCH 0/5] PM: Support for generic I/O power domains (v4) Rafael J. Wysocki
2011-05-27 23:17 ` [PATCH 1/5] PM / Runtime: " Rafael J. Wysocki
2011-06-02 7:29 ` Guennadi Liakhovetski
2011-06-06 18:48 ` Rafael J. Wysocki
2011-05-27 23:17 ` [PATCH 2/5] PM: System-wide transitions support for generic power domains (v2) Rafael J. Wysocki
2011-05-27 23:18 ` [PATCH 3/5] ARM / shmobile: Support for I/O power domains for SH7372 (v5) Rafael J. Wysocki
2011-05-27 23:18 ` [PATCH 4/5] PM / Domains: Support for multiple generic power domain states Rafael J. Wysocki
2011-05-27 23:19 ` [PATCH 5/5] ARM / shmobile: Support for power domain A4MP on SH7372 Rafael J. Wysocki
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=201105160117.46927.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=g.liakhovetski@gmx.de \
--cc=grant.likely@secretlab.ca \
--cc=gregkh@suse.de \
--cc=khilman@ti.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@lists.linux-foundation.org \
--cc=linux-sh@vger.kernel.org \
--cc=magnus.damm@gmail.com \
--cc=myungjoo.ham@gmail.com \
--cc=stern@rowland.harvard.edu \
/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
all inboxes | Powered by JetHome®