Skip to content

PM: domains: Various improvements for genpd

Ulf Hansson linux-arm-kernel linux-pm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14PM: domains: Add GENPD_FLAG_RPM_ALWAYS_ON for the always-on governordrivers/base/power/domain.c+4 -00 replies
2/14PM: domains: Drop redundant code for genpd always-on governordrivers/base/power/domain_governor.c+0 -60 replies
3/14PM: domains: Don't check PM_QOS_FLAG_NO_POWER_OFF in genpddrivers/base/power/domain.c+0 -60 replies
4/14PM: domains: Rename irq_safe_dev_in_no_sleep_domain() in genpddrivers/base/power/domain.c+7 -70 replies
5/14PM: domains: Skip another warning in irq_safe_dev_in_sleep_domain()drivers/base/power/domain.c+4 -10 replies
6/14PM: domains: Allocate gpd_timing_data dynamically based on governordrivers/base/power/domain.c drivers/base/power/domain_governor.c include/linux/pm_domain.h+40 -190 replies
7/14PM: domains: Move the next_wakeup variable into the struct gpd_timing_datadrivers/base/power/domain.c drivers/base/power/domain_governor.c include/linux/pm_domain.h+7 -60 replies
8/14PM: domains: Measure suspend/resume latencies in genpd based on governordrivers/base/power/domain.c+9 -120 replies
9/14PM: domains: Fixup QoS latency measurements for IRQ safe devices in genpddrivers/base/power/domain.c+1 -30 replies
10/14PM: domains: Fix initialization of genpd's next_wakeupdrivers/base/power/domain.c+1 -00 replies
11/14PM: domains: Clean up some code in pm_genpd_init() and genpd_remove()drivers/base/power/domain.c+38 -180 replies
12/14PM: domains: Allocate governor data dynamically based on a genpd governordrivers/base/power/domain.c drivers/base/power/domain_governor.c include/linux/pm_domain.h+70 -410 replies
13/14PM: domains: Measure power-on/off latencies in genpd based on a governordrivers/base/power/domain.c+4 -40 replies
14/14PM: domains: Trust domain-idle-states from DT to be correct by genpddrivers/base/power/domain.c+2 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/14] PM: domains: Various improvements for genpd

The main goal with this series is to improve the way genpd deals with its governor(s). Especially it turns allocation of governor related data to be dynamically allocated. It also improves the execution path for runtime- suspend/resume of devices (attached to a genpd of course) and the similar is also done for genpd's power-on/off path.

Note that, patch 1->3 have already been sent before in a separate series [1], but for simplicity I have included them here again.

Tests/reviews are as usual highly appreciated!

Kind regards
Ulf Hansson

[1]
https://www.spinics.net/lists/kernel/msg4335838.html

Ulf Hansson (14):
PM: domains: Add GENPD_FLAG_RPM_ALWAYS_ON for the always-on governor
PM: domains: Drop redundant code for genpd always-on governor
PM: domains: Don't check PM_QOS_FLAG_NO_POWER_OFF in genpd
PM: domains: Rename irq_safe_dev_in_no_sleep_domain() in genpd
PM: domains: Skip another warning in irq_safe_dev_in_sleep_domain()
PM: domains: Allocate gpd_timing_data dynamically based on governor
PM: domains: Move the next_wakeup variable into the struct
gpd_timing_data
PM: domains: Measure suspend/resume latencies in genpd based on
governor
PM: domains: Fixup QoS latency measurements for IRQ safe devices in
genpd
PM: domains: Fix initialization of genpd's next_wakeup
PM: domains: Clean up some code in pm_genpd_init() and genpd_remove()
PM: domains: Allocate governor data dynamically based on a genpd
governor
PM: domains: Measure power-on/off latencies in genpd based on a
governor
PM: domains: Trust domain-idle-states from DT to be correct by genpd

 drivers/base/power/domain.c          | 201 +++++++++++++++++----------
 drivers/base/power/domain_governor.c |  65 +++++----
 include/linux/pm_domain.h            |  18 ++-
 3 files changed, 173 insertions(+), 111 deletions(-)
Signature · 1 line
2.25.1