PM: Support for generic I/O power domains (v3)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | PM: Introduce generic prepare and complete callbacks for subsystemsdrivers/ include/ | +58 | 0 replies | |
| 1/6 | PM: Introduce generic prepare and complete callbacks for subsystemsdrivers/ include/ | +58 | 0 replies | |
| 2/6 | PM / Runtime: Support for generic I/O power domains (v4)drivers/ drivers/ include/ +2 more | +528 | 0 replies | |
| 2/6 | PM / Runtime: Support for generic I/O power domains (v4)drivers/ drivers/ include/ +2 more | +528 | 0 replies | |
| 3/6 | PM: System-wide transitions support for generic power domains (v2)drivers/ include/ | +315 | 0 replies | |
| 3/6 | PM: System-wide transitions support for generic power domains (v2)drivers/ include/ | +315 | 0 replies | |
| 4/6 | ARM / shmobile: Support for I/O power domains for SH7372 (v5)arch/ arch/ arch/ +2 more | +121 | 0 replies | |
| 4/6 | ARM / shmobile: Support for I/O power domains for SH7372 (v5)arch/ arch/ arch/ +2 more | +121 | 0 replies | |
| 5/6 | ARM / shmobile: Support for power domain A4MP on SH7372arch/ arch/ arch/ | +12 | 0 replies | |
| 5/6 | ARM / shmobile: Support for power domain A4MP on SH7372arch/ arch/ arch/ | +12 | 0 replies | |
| 6/6 | PM / Domains: Support for multiple generic power domain statesarch/ drivers/ include/ | +67 | 4 replies | |
| 6/6 | PM / Domains: Support for multiple generic power domain statesarch/ drivers/ include/ | +67 | 0 replies |
Reviews trailers per patch
4 of 12 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Greg Kroah-Hartman | Kevin Hilman |
|---|---|---|
| Series | A-b A-b | R-b R-b |
| 1/6 | ||
| 1/6 | ||
| 2/6 | A-b A-b | |
| 2/6 | A-b A-b | |
| 3/6 | ||
| 3/6 | ||
| 4/6 | ||
| 4/6 | ||
| 5/6 | ||
| 5/6 | ||
| 6/6 | R-b R-b | |
| 6/6 | R-b R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/6] PM: Support for generic I/O power domains (v3)
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