Skip to content

PM / QoS: Support for PM QoS device flags

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 19 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7PM / QoS: Prepare device structure for adding more constraint typesdrivers/base/power/qos.c include/linux/pm.h include/linux/pm_qos.h+27 -210 replies
1/7PM / QoS: Prepare device structure for adding more constraint typesdrivers/base/power/qos.c include/linux/pm.h include/linux/pm_qos.h+27 -212 replies
2/7PM / QoS: Introduce request and constraint data types for PM QoS flagsinclude/linux/pm_qos.h kernel/power/qos.c+78 -22 replies
2/7PM / QoS: Introduce request and constraint data types for PM QoS flagsinclude/linux/pm_qos.h kernel/power/qos.c+78 -21 reply
3/7PM / QoS: Prepare struct dev_pm_qos_request for more request typesdrivers/base/power/qos.c drivers/base/power/sysfs.c include/linux/pm_qos.h+7 -50 replies
3/7PM / QoS: Prepare struct dev_pm_qos_request for more request typesdrivers/base/power/qos.c drivers/base/power/sysfs.c include/linux/pm_qos.h+7 -51 reply
4/7PM / QoS: Introduce device PM QoS flags supportDocumentation/power/pm_qos_interface.txt drivers/base/power/qos.c drivers/mtd/nand/sh_flctl.c +1 more+127 -290 replies
4/7PM / QoS: Introduce PM QoS device flags supportDocumentation/power/pm_qos_interface.txt drivers/base/power/qos.c drivers/mtd/nand/sh_flctl.c +1 more+127 -291 reply
5/7PM / QoS: Make it possible to expose PM QoS device flags to user spaceDocumentation/ABI/testing/sysfs-devices-power drivers/base/power/power.h drivers/base/power/qos.c +3 more+280 -482 replies
5/7PM / QoS: Make it possible to expose PM QoS device flags to user spaceDocumentation/ABI/testing/sysfs-devices-power drivers/base/power/power.h drivers/base/power/qos.c +3 more+278 -481 reply
6/7PM / Domains: Check device PM QoS flags in pm_genpd_poweroff()drivers/base/power/domain.c+10 -10 replies
6/7PM / Domains: Check device PM QoS flags in pm_genpd_poweroff()drivers/base/power/domain.c+10 -11 reply
7/7PM / ACPI: Take device PM QoS flags into accountdrivers/acpi/sleep.c drivers/pci/pci-acpi.c+19 -54 replies
7/7PM / ACPI: Take device PM QoS flags into accountdrivers/acpi/sleep.c drivers/pci/pci-acpi.c+24 -52 replies

Reviews trailers per patch

All 14 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJean PihetHuang Yingmark gross
SeriesR-b
1/7R-b
1/7R-b
2/7R-b A-b
2/7R-b A-b
3/7R-b R-b
3/7R-b R-b
4/7R-b R-b
4/7R-b R-b
5/7R-b A-b
5/7R-b A-b
6/7R-b R-b
6/7R-b R-b
7/7R-b R-b
7/7R-b R-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 [RFD][PATCH 0/7] PM / QoS: Support for PM QoS device flags

Hi All,

The following patch series extends the existing device PM QoS core code to support PM QoS flags representing binary (on/off) requirements, such as whether or not power may be removed entirely from the device or whether or not remote wakeup (i.e. signalling of external events while suspended) should work for it.

[1/7] Prepare PM QoS device structure for adding more constraint types. [2/7] Introduce request and constraint data types for PM QoS flags. [3/7] Prepare struct dev_pm_qos_request for representing more request types. [4/7] Introduce device PM QoS flags support.
[5/7] Make it possible to expose PM QoS device flags to user space. [6/7] PM / Domains: Check device PM QoS flags in pm_genpd_poweroff(). [7/7] PM / ACPI: Take device PM QoS flags into account.

The last two patches make the generic PM domains framework and ACPI / PCI, respectively, take the PM QoS device flags introduced by patch [5/7] into accont when making their decisions.

The changelogs describe the details, but if anything isn't clear, please let me know.

Thanks,
Rafael