Skip to content

PM: Runtime PM and device PM QoS refinements

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3PM / Domains: Split device PM domain data into base and need_restoredrivers/base/power/domain.c include/linux/pm.h include/linux/pm_domain.h+30 -110 replies
2/3PM / Runtime: Don't run callbacks under lock for power.irq_safe setdrivers/base/power/runtime.c+46 -225 replies
3/3PM / QoS: Add function dev_pm_qos_read_value() (v2)drivers/base/power/main.c drivers/base/power/qos.c include/linux/pm.h +1 more+103 -804 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchMing LeiKevin HilmanJean Pihet
1/3
2/3R-b R-b R-b R-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/3] PM: Runtime PM and device PM QoS refinements

Hi,

Quoted 17 lines · Rafael J. Wysocki

Hi,

This patchset illustrates how device PM QoS may be used along with PM domains in my view.

Actually, it consists of two parts. Namely, patches [1-3/5] seem to be suitable for 3.2, unless somebody hates them, but patches [4-5/5] are total RFC. They haven't been tested, only compiled, so the use of them is not encouraged (they may kill your dog or make your cat go wild, or do something equally nasty, so beware). Their purpose is to illustrate an idea that I'd like to discuss at the PM miniconference during the LPC.

[1/5] - Split device PM domain data into a "base" and additional fields
(one need_restore field at the moment, but the subsequent patches add more fields).

Quoted 7 lines

[2/5] - Make runtime PM always release power.lock if power.irq_safe is set.

[3/5] - Add function for reading device PM QoS values safely.

[4/5] - Add governor function for stopping devices.

[5/5] - Add generic PM domain power off governor function.

I have updated patches [1-3] after receiving some feedback and the result follows. These patches are regarded as 3.2 material, if no one has objections.

[1/3] - Split device PM domain data into a "base" and additional fields
(one need_restore field at the moment).

[2/3] - Make runtime PM always release power.lock if power.irq_safe is set.

[3/3] - Add function for reading device PM QoS values safely.

Thanks,
Rafael