Skip to content

PM / Domains: Per-device callbacks and PM QoS

Rafael J. Wysocki linux-sh lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7PM / Domains: Make it possible to use per-device start/stop routinesarch/arm/mach-shmobile/pm-sh7372.c drivers/base/power/domain.c include/linux/pm_domain.h+156 -342 replies
1/7PM / Domains: Make it possible to use per-device domain callbacksarch/arm/mach-shmobile/pm-sh7372.c drivers/base/power/domain.c include/linux/pm_domain.h+175 -440 replies
1/7PM / Domains: Make it possible to use per-device domain callbacksarch/arm/mach-shmobile/pm-sh7372.c drivers/base/power/domain.c include/linux/pm_domain.h+175 -440 replies
2/7PM / Domains: Make it possible to use per-device .active_wakeup()arch/arm/mach-shmobile/pm-sh7372.c drivers/base/power/domain.c include/linux/pm_domain.h+41 -395 replies
2/7PM / Domains: Introduce "save/restore state" device callbacksdrivers/base/power/domain.c include/linux/pm_domain.h+58 -120 replies
2/7PM / Domains: Introduce "save/restore state" device callbacksdrivers/base/power/domain.c include/linux/pm_domain.h+58 -120 replies
3/7PM / Domains: Introduce "save/restore state" device callbacksdrivers/base/power/domain.c include/linux/pm_domain.h+58 -120 replies
3/7PM / Domains: Rework system suspend callback routinesdrivers/base/power/domain.c include/linux/pm_domain.h+87 -1060 replies
3/7PM / Domains: Rework system suspend callback routinesdrivers/base/power/domain.c include/linux/pm_domain.h+87 -1060 replies
3/7PM / Domains: Rework system suspend callback routines (v2)drivers/base/power/domain.c include/linux/pm_domain.h+158 -990 replies
4/7PM / Domains: Rework system suspend callback routinesdrivers/base/power/domain.c include/linux/pm_domain.h+87 -1062 replies
4/7PM / Runtime: Use device PM QoS constraintsdrivers/base/power/qos.c drivers/base/power/runtime.c include/linux/pm.h +1 more+108 -80 replies
4/7PM / Runtime: Use device PM QoS constraintsdrivers/base/power/qos.c drivers/base/power/runtime.c include/linux/pm.h +2 more+120 -80 replies
4/7PM / Runtime: Use device PM QoS constraints (v2)drivers/base/power/qos.c drivers/base/power/runtime.c include/linux/pm.h +2 more+154 -280 replies
5/7PM / Domains: Add device stop governor function (v3)arch/arm/mach-shmobile/pm-sh7372.c drivers/base/power/Makefile drivers/base/power/domain.c +2 more+125 -210 replies
5/7PM / Domains: Add device stop governor function (v4)arch/arm/mach-shmobile/pm-sh7372.c drivers/base/power/Makefile drivers/base/power/domain.c +2 more+118 -170 replies
5/7PM / Domains: Add device stop governor function (v4)arch/arm/mach-shmobile/pm-sh7372.c drivers/base/power/Makefile drivers/base/power/domain.c +2 more+118 -170 replies
6/7PM / Domains: Add default power off governor function (v3)drivers/base/power/domain.c drivers/base/power/domain_governor.c include/linux/pm_domain.h+136 -00 replies
6/7PM / Domains: Add default power off governor function (v4)drivers/base/power/domain.c drivers/base/power/domain_governor.c include/linux/pm_domain.h+129 -00 replies
6/7PM / Domains: Add default power off governor function (v4)drivers/base/power/domain.c drivers/base/power/domain_governor.c include/linux/pm_domain.h+129 -00 replies
7/7PM / Domains: Automatically update overoptimistic latency informationdrivers/base/power/domain.c+17 -30 replies
7/7PM / Domains: Automatically update overoptimistic latency informationdrivers/base/power/domain.c+35 -40 replies
7/7PM / Domains: Automatically update overoptimistic latency informationdrivers/base/power/domain.c+39 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] PM / Domains: Per-device callbacks and PM QoS

Hi,

The following patchset makes it possible to define device-specific PM domain callbacks, allowing device drivers to be designed to support generic PM domains and work without them as well, and introduces governor functions deciding whether or not it is beneficial to put devices into low-power states. The new code is designed to be backwards compatible, as far as necessary.

[1/7] - Make it possible to defing per-device start/stop routines. [2/7] - Make it possible to defing per-device .active_wakeup() callbacks. [3/7] - Introduce "save/restore state" device callbacks. [4/7] - Introduce per-device PM domain callbacks for system suspend. [5/7] - Add device "stop governor".
[6/7] - Add domain "power off governor".
[7/7] - Automatically update overoptimistic latency information.

Please refer to the changelogs for more information.

The patches haven't been fully tested yet, so most likely there still are some rough edges here and there.

Thanks,
Rafael