Skip to content

PM: Use CONFIG_PM instead of CONFIG_PM_RUNTIME in core code

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 Latest4 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4PM: Drop the SET_PM_RUNTIME_PM_OPS() macrodrivers/amba/bus.c drivers/dma/ste_dma40.c drivers/gpio/gpio-zynq.c +7 more+10 -194 replies
1/4PM: Merge the SET*_RUNTIME_PM_OPS() macrosdrivers/amba/bus.c drivers/dma/ste_dma40.c drivers/gpio/gpio-zynq.c +7 more+11 -181 reply
2/4PM: Drop CONFIG_PM_RUNTIME from the driver coredrivers/base/power/clock_ops.c drivers/base/power/domain.c drivers/base/power/domain_governor.c +9 more+60 -2160 replies
3/4ACPI / PM: Drop CONFIG_PM_RUNTIME from the ACPI coredrivers/acpi/acpi_lpss.c drivers/acpi/device_pm.c drivers/acpi/pci_irq.c +1 more+15 -250 replies
3/4ACPI / PM: Drop CONFIG_PM_RUNTIME from the ACPI coredrivers/acpi/acpi_lpss.c drivers/acpi/device_pm.c drivers/acpi/pci_irq.c +2 more+16 -300 replies
4/4PCI / PM: Drop CONFIG_PM_RUNTIME from the PCI coredrivers/pci/pci-driver.c drivers/pci/pci-sysfs.c drivers/pci/pcie/Kconfig+10 -160 replies
4/4PCI / PM: Drop CONFIG_PM_RUNTIME from the PCI coredrivers/pci/pci-driver.c drivers/pci/pci-sysfs.c drivers/pci/pcie/Kconfig+10 -161 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.

PatchBjorn HelgaasKevin Hilman
SeriesA-b
1/4
1/4
2/4
3/4
3/4
4/4A-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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.