PM: Use CONFIG_PM instead of CONFIG_PM_RUNTIME in core code
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 15 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | PM: Drop the SET_PM_RUNTIME_PM_OPS() macrodrivers/ drivers/ drivers/ +7 more | +10 | 4 replies | |
| 1/4 | PM: Merge the SET*_RUNTIME_PM_OPS() macrosdrivers/ drivers/ drivers/ +7 more | +11 | 1 reply | |
| 2/4 | PM: Drop CONFIG_PM_RUNTIME from the driver coredrivers/ drivers/ drivers/ +9 more | +60 | 0 replies | |
| 3/4 | ACPI / PM: Drop CONFIG_PM_RUNTIME from the ACPI coredrivers/ drivers/ drivers/ +1 more | +15 | 0 replies | |
| 3/4 | ACPI / PM: Drop CONFIG_PM_RUNTIME from the ACPI coredrivers/ drivers/ drivers/ +2 more | +16 | 0 replies | |
| 4/4 | PCI / PM: Drop CONFIG_PM_RUNTIME from the PCI coredrivers/ drivers/ drivers/ | +10 | 0 replies | |
| 4/4 | PCI / PM: Drop CONFIG_PM_RUNTIME from the PCI coredrivers/ drivers/ drivers/ | +10 | 1 reply |
Reviews trailers per patch
2 of 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Bjorn Helgaas | Kevin Hilman |
|---|---|---|
| Series | A-b | |
| 1/4 | ||
| 1/4 | ||
| 2/4 | ||
| 3/4 | ||
| 3/4 | ||
| 4/4 | A-b | |
| 4/4 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] PM: Use CONFIG_PM instead of CONFIG_PM_RUNTIME in core code
Hi,
After commit b2b49ccbdd54 "PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is selected" (currently in Linux next) CONFIG_PM_RUNTIME is set whenever CONFIG_PM is set, so CONFIG_PM can be used in #ifdefs instead of CONFIG_PM_RUNTIME which simplifies things in quite a few cases.
For this reason, the following patches modify some core code to use CONFIG_PM instead of CONFIG_PM_RUNTIME.
[1/4] Drop a macro which is redundant after the above commit. [2/4] Use PM instead of PM_RUNTIME in the core device PM code. [3/4] Use PM instead of PM_RUNTIME in the ACPI core. [4/4] Use PM instead of PM_RUNTIME in the PCI core.
They build for me for all of the relevant combinations of options (on x86), but more testing (on the other architectures) would be welcome.
Thanks!
Signature · 2 lines
I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center.