History

PM: Eliminate CONFIG_PM_RUNTIME

Having switched over all of the users of CONFIG_PM_RUNTIME to use CONFIG_PM directly, turn the latter into a user-selectable option and drop the former entirely from the tree.

Rafael J. Wysocki committed 11 years ago

Commit 464ed181 parent 71504e537 files · +39 −48Browse files

Unified · Split

37 files
  1. arch/arm/configs/ape6evm_defconfig +1 −1
  2. arch/arm/configs/armadillo800eva_defconfig +1 −1
  3. arch/arm/configs/bcm_defconfig +1 −1
  4. arch/arm/configs/bockw_defconfig +1 −1
  5. arch/arm/configs/davinci_all_defconfig +1 −1
  6. arch/arm/configs/exynos_defconfig +1 −1
  7. arch/arm/configs/ezx_defconfig +0 −1
  8. arch/arm/configs/hisi_defconfig +1 −1
  9. arch/arm/configs/imote2_defconfig +0 −1
  10. arch/arm/configs/imx_v6_v7_defconfig +1 −1
  11. arch/arm/configs/keystone_defconfig +1 −1
  12. arch/arm/configs/kzm9g_defconfig +1 −1
  13. arch/arm/configs/lager_defconfig +1 −1
  14. arch/arm/configs/mackerel_defconfig +0 −1
  15. arch/arm/configs/marzen_defconfig +1 −1
  16. arch/arm/configs/omap1_defconfig +0 −1
  17. arch/arm/configs/prima2_defconfig +1 −1
  18. arch/arm/configs/sama5_defconfig +1 −1
  19. arch/arm/configs/shmobile_defconfig +1 −1
  20. arch/arm/configs/sunxi_defconfig +1 −1
  21. arch/arm/configs/tegra_defconfig +1 −1
  22. arch/arm/configs/u8500_defconfig +1 −1
  23. arch/arm/configs/vt8500_v6_v7_defconfig +1 −1
  24. arch/arm/mach-omap2/Kconfig +3 −3
  25. arch/mips/configs/db1xxx_defconfig +1 −1
  26. arch/mips/configs/lemote2f_defconfig +0 −1
  27. arch/mips/configs/loongson3_defconfig +1 −1
  28. arch/mips/configs/nlm_xlp_defconfig +1 −1
  29. arch/mips/configs/nlm_xlr_defconfig +1 −1
  30. arch/powerpc/configs/ps3_defconfig +1 −1
  31. arch/sh/Kconfig +1 −1
  32. arch/sh/configs/apsh4ad0a_defconfig +1 −1
  33. arch/sh/configs/sdk7786_defconfig +1 −1
  34. drivers/usb/host/isp1760-hcd.c +1 −1
  35. drivers/usb/host/oxu210hp-hcd.c +1 −1
  36. include/linux/devfreq.h +1 −1
  37. kernel/power/Kconfig +6 −10
arch/arm/configs/ape6evm_defconfig+1−1
@@ -33,7 +33,7 @@ CONFIG_ARM_APPENDED_DTB=y · 32 unmodified lines
3333 CONFIG_VFP=y
3434 CONFIG_NEON=y
3535 CONFIG_BINFMT_MISC=y
36−CONFIG_PM_RUNTIME=y
36+CONFIG_PM=y
3737 CONFIG_NET=y
3838 CONFIG_PACKET=y
3939 CONFIG_UNIX=y
arch/arm/configs/armadillo800eva_defconfig+1−1
@@ -43,7 +43,7 @@ CONFIG_KEXEC=y · 42 unmodified lines
4343 CONFIG_VFP=y
4444 CONFIG_NEON=y
4545 # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
46−CONFIG_PM_RUNTIME=y
46+CONFIG_PM=y
4747 CONFIG_NET=y
4848 CONFIG_PACKET=y
4949 CONFIG_UNIX=y
arch/arm/configs/bcm_defconfig+1−1
@@ -39,7 +39,7 @@ CONFIG_CPU_IDLE=y · 38 unmodified lines
3939 CONFIG_VFP=y
4040 CONFIG_NEON=y
4141 # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
42−CONFIG_PM_RUNTIME=y
42+CONFIG_PM=y
4343 CONFIG_NET=y
4444 CONFIG_PACKET=y
4545 CONFIG_PACKET_DIAG=y
arch/arm/configs/bockw_defconfig+1−1
@@ -29,7 +29,7 @@ CONFIG_ZBOOT_ROM_BSS=0x0 · 28 unmodified lines
2929 CONFIG_ARM_APPENDED_DTB=y
3030 CONFIG_VFP=y
3131 # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
32−CONFIG_PM_RUNTIME=y
32+CONFIG_PM=y
3333 CONFIG_NET=y
3434 CONFIG_PACKET=y
3535 CONFIG_UNIX=y
arch/arm/configs/davinci_all_defconfig+1−1
@@ -49,7 +49,7 @@ CONFIG_CPU_FREQ_GOV_PERFORMANCE=m · 48 unmodified lines
4949 CONFIG_CPU_FREQ_GOV_POWERSAVE=m
5050 CONFIG_CPU_FREQ_GOV_ONDEMAND=m
5151 CONFIG_CPU_IDLE=y
52−CONFIG_PM_RUNTIME=y
52+CONFIG_PM=y
5353 CONFIG_NET=y
5454 CONFIG_PACKET=y
5555 CONFIG_UNIX=y
arch/arm/configs/exynos_defconfig+1−1
@@ -27,7 +27,7 @@ CONFIG_ARM_ATAG_DTB_COMPAT=y · 26 unmodified lines
2727 CONFIG_CMDLINE="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC1,115200 init=/linuxrc mem=256M"
2828 CONFIG_VFP=y
2929 CONFIG_NEON=y
30−CONFIG_PM_RUNTIME=y
30+CONFIG_PM=y
3131 CONFIG_NET=y
3232 CONFIG_PACKET=y
3333 CONFIG_UNIX=y
arch/arm/configs/ezx_defconfig+0−1
@@ -39,7 +39,6 @@ CONFIG_BINFMT_AOUT=m · 38 unmodified lines
3939 CONFIG_BINFMT_MISC=m
4040 CONFIG_PM=y
4141 CONFIG_APM_EMULATION=y
42−CONFIG_PM_RUNTIME=y
4342 CONFIG_NET=y
4443 CONFIG_PACKET=y
4544 CONFIG_UNIX=y
arch/arm/configs/hisi_defconfig+1−1
@@ -18,7 +18,7 @@ CONFIG_ARM_APPENDED_DTB=y · 17 unmodified lines
1818 CONFIG_ARM_ATAG_DTB_COMPAT=y
1919 CONFIG_NEON=y
2020 CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_FROM_BOOTLOADER=y
21−CONFIG_PM_RUNTIME=y
21+CONFIG_PM=y
2222 CONFIG_NET=y
2323 CONFIG_PACKET=y
2424 CONFIG_UNIX=y
arch/arm/configs/imote2_defconfig+0−1
@@ -31,7 +31,6 @@ CONFIG_BINFMT_AOUT=m · 30 unmodified lines
3131 CONFIG_BINFMT_MISC=m
3232 CONFIG_PM=y
3333 CONFIG_APM_EMULATION=y
34−CONFIG_PM_RUNTIME=y
3534 CONFIG_NET=y
3635 CONFIG_PACKET=y
3736 CONFIG_UNIX=y
arch/arm/configs/imx_v6_v7_defconfig+1−1
@@ -54,7 +54,7 @@ CONFIG_ARM_IMX6Q_CPUFREQ=y · 53 unmodified lines
5454 CONFIG_VFP=y
5555 CONFIG_NEON=y
5656 CONFIG_BINFMT_MISC=m
57−CONFIG_PM_RUNTIME=y
57+CONFIG_PM=y
5858 CONFIG_PM_DEBUG=y
5959 CONFIG_PM_TEST_SUSPEND=y
6060 CONFIG_NET=y
arch/arm/configs/keystone_defconfig+1−1
@@ -30,7 +30,7 @@ CONFIG_HIGHMEM=y · 29 unmodified lines
3030 CONFIG_VFP=y
3131 CONFIG_NEON=y
3232 # CONFIG_SUSPEND is not set
33−CONFIG_PM_RUNTIME=y
33+CONFIG_PM=y
3434 CONFIG_NET=y
3535 CONFIG_PACKET=y
3636 CONFIG_UNIX=y
arch/arm/configs/kzm9g_defconfig+1−1
@@ -43,7 +43,7 @@ CONFIG_KEXEC=y · 42 unmodified lines
4343 CONFIG_VFP=y
4444 CONFIG_NEON=y
4545 # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
46−CONFIG_PM_RUNTIME=y
46+CONFIG_PM=y
4747 CONFIG_NET=y
4848 CONFIG_PACKET=y
4949 CONFIG_UNIX=y
arch/arm/configs/lager_defconfig+1−1
@@ -37,7 +37,7 @@ CONFIG_AUTO_ZRELADDR=y · 36 unmodified lines
3737 CONFIG_VFP=y
3838 CONFIG_NEON=y
3939 # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
40−CONFIG_PM_RUNTIME=y
40+CONFIG_PM=y
4141 CONFIG_NET=y
4242 CONFIG_PACKET=y
4343 CONFIG_UNIX=y
arch/arm/configs/mackerel_defconfig+0−1
@@ -28,7 +28,6 @@ CONFIG_KEXEC=y · 27 unmodified lines
2828 CONFIG_VFP=y
2929 # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
3030 CONFIG_PM=y
31−CONFIG_PM_RUNTIME=y
3231 CONFIG_NET=y
3332 CONFIG_PACKET=y
3433 CONFIG_UNIX=y
arch/arm/configs/marzen_defconfig+1−1
@@ -33,7 +33,7 @@ CONFIG_ARM_APPENDED_DTB=y · 32 unmodified lines
3333 CONFIG_VFP=y
3434 CONFIG_KEXEC=y
3535 # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
36−CONFIG_PM_RUNTIME=y
36+CONFIG_PM=y
3737 CONFIG_NET=y
3838 CONFIG_PACKET=y
3939 CONFIG_UNIX=y
arch/arm/configs/omap1_defconfig+0−1
@@ -63,7 +63,6 @@ CONFIG_FPE_NWFPE=y · 62 unmodified lines
6363 CONFIG_BINFMT_MISC=y
6464 CONFIG_PM=y
6565 # CONFIG_SUSPEND is not set
66−CONFIG_PM_RUNTIME=y
6766 CONFIG_NET=y
6867 CONFIG_PACKET=y
6968 CONFIG_UNIX=y
arch/arm/configs/prima2_defconfig+1−1
@@ -18,7 +18,7 @@ CONFIG_PREEMPT=y · 17 unmodified lines
1818 CONFIG_AEABI=y
1919 CONFIG_KEXEC=y
2020 CONFIG_BINFMT_MISC=y
21−CONFIG_PM_RUNTIME=y
21+CONFIG_PM=y
2222 CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
2323 CONFIG_BLK_DEV_LOOP=y
2424 CONFIG_BLK_DEV_RAM=y
arch/arm/configs/sama5_defconfig+1−1
@@ -32,7 +32,7 @@ CONFIG_VFP=y · 31 unmodified lines
3232 CONFIG_NEON=y
3333 CONFIG_KERNEL_MODE_NEON=y
3434 # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
35−CONFIG_PM_RUNTIME=y
35+CONFIG_PM=y
3636 CONFIG_PM_DEBUG=y
3737 CONFIG_PM_ADVANCED_DEBUG=y
3838 CONFIG_NET=y
arch/arm/configs/shmobile_defconfig+1−1
@@ -39,7 +39,7 @@ CONFIG_KEXEC=y · 38 unmodified lines
3939 CONFIG_VFP=y
4040 CONFIG_NEON=y
4141 # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
42−CONFIG_PM_RUNTIME=y
42+CONFIG_PM=y
4343 CONFIG_NET=y
4444 CONFIG_PACKET=y
4545 CONFIG_UNIX=y
arch/arm/configs/sunxi_defconfig+1−1
@@ -11,7 +11,7 @@ CONFIG_ARM_APPENDED_DTB=y · 10 unmodified lines
1111 CONFIG_ARM_ATAG_DTB_COMPAT=y
1212 CONFIG_VFP=y
1313 CONFIG_NEON=y
14−CONFIG_PM_RUNTIME=y
14+CONFIG_PM=y
1515 CONFIG_NET=y
1616 CONFIG_PACKET=y
1717 CONFIG_UNIX=y
arch/arm/configs/tegra_defconfig+1−1
@@ -46,7 +46,7 @@ CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y · 45 unmodified lines
4646 CONFIG_CPU_IDLE=y
4747 CONFIG_VFP=y
4848 CONFIG_NEON=y
49−CONFIG_PM_RUNTIME=y
49+CONFIG_PM=y
5050 CONFIG_NET=y
5151 CONFIG_PACKET=y
5252 CONFIG_UNIX=y
arch/arm/configs/u8500_defconfig+1−1
@@ -25,7 +25,7 @@ CONFIG_CPU_IDLE=y · 24 unmodified lines
2525 CONFIG_ARM_U8500_CPUIDLE=y
2626 CONFIG_VFP=y
2727 CONFIG_NEON=y
28−CONFIG_PM_RUNTIME=y
28+CONFIG_PM=y
2929 CONFIG_NET=y
3030 CONFIG_PACKET=y
3131 CONFIG_UNIX=y
arch/arm/configs/vt8500_v6_v7_defconfig+1−1
@@ -16,7 +16,7 @@ CONFIG_ARM_APPENDED_DTB=y · 15 unmodified lines
1616 CONFIG_ARM_ATAG_DTB_COMPAT=y
1717 CONFIG_VFP=y
1818 CONFIG_NEON=y
19−CONFIG_PM_RUNTIME=y
19+CONFIG_PM=y
2020 CONFIG_NET=y
2121 CONFIG_UNIX=y
2222 CONFIG_INET=y
arch/arm/mach-omap2/Kconfig+3−3
@@ -15,7 +15,7 @@ config ARCH_OMAP3 · 14 unmodified lines
1515 select ARM_CPU_SUSPEND if PM
1616 select OMAP_INTERCONNECT
1717 select PM_OPP if PM
18− select PM_RUNTIME if CPU_IDLE
18+ select PM if CPU_IDLE
1919 select SOC_HAS_OMAP2_SDRC
2020
2121 config ARCH_OMAP4
@@ -32,7 +32,7 @@ config ARCH_OMAP4 · 10 unmodified lines
3232 select PL310_ERRATA_588369 if CACHE_L2X0
3333 select PL310_ERRATA_727915 if CACHE_L2X0
3434 select PM_OPP if PM
35− select PM_RUNTIME if CPU_IDLE
35+ select PM if CPU_IDLE
3636 select ARM_ERRATA_754322
3737 select ARM_ERRATA_775420
3838
@@ -103,7 +103,7 @@ config ARCH_OMAP2PLUS_TYPICAL · 64 unmodified lines
103103 select I2C_OMAP
104104 select MENELAUS if ARCH_OMAP2
105105 select NEON if CPU_V7
106− select PM_RUNTIME
106+ select PM
107107 select REGULATOR
108108 select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
109109 select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
arch/mips/configs/db1xxx_defconfig+1−1
@@ -36,7 +36,7 @@ CONFIG_PCI=y · 35 unmodified lines
3636 CONFIG_PCI_REALLOC_ENABLE_AUTO=y
3737 CONFIG_PCCARD=y
3838 CONFIG_PCMCIA_ALCHEMY_DEVBOARD=y
39−CONFIG_PM_RUNTIME=y
39+CONFIG_PM=y
4040 CONFIG_NET=y
4141 CONFIG_PACKET=y
4242 CONFIG_PACKET_DIAG=y
arch/mips/configs/lemote2f_defconfig+0−1
@@ -37,7 +37,6 @@ CONFIG_MIPS32_N32=y · 36 unmodified lines
3737 CONFIG_PM=y
3838 CONFIG_HIBERNATION=y
3939 CONFIG_PM_STD_PARTITION="/dev/hda3"
40−CONFIG_PM_RUNTIME=y
4140 CONFIG_CPU_FREQ=y
4241 CONFIG_CPU_FREQ_DEBUG=y
4342 CONFIG_CPU_FREQ_STAT=m
arch/mips/configs/loongson3_defconfig+1−1
@@ -58,7 +58,7 @@ CONFIG_BINFMT_MISC=m · 57 unmodified lines
5858 CONFIG_MIPS32_COMPAT=y
5959 CONFIG_MIPS32_O32=y
6060 CONFIG_MIPS32_N32=y
61−CONFIG_PM_RUNTIME=y
61+CONFIG_PM=y
6262 CONFIG_NET=y
6363 CONFIG_PACKET=y
6464 CONFIG_UNIX=y
arch/mips/configs/nlm_xlp_defconfig+1−1
@@ -61,7 +61,7 @@ CONFIG_BINFMT_MISC=y · 60 unmodified lines
6161 CONFIG_MIPS32_COMPAT=y
6262 CONFIG_MIPS32_O32=y
6363 CONFIG_MIPS32_N32=y
64−CONFIG_PM_RUNTIME=y
64+CONFIG_PM=y
6565 CONFIG_PM_DEBUG=y
6666 CONFIG_NET=y
6767 CONFIG_PACKET=y
arch/mips/configs/nlm_xlr_defconfig+1−1
@@ -41,7 +41,7 @@ CONFIG_PCI=y · 40 unmodified lines
4141 CONFIG_PCI_MSI=y
4242 CONFIG_PCI_DEBUG=y
4343 CONFIG_BINFMT_MISC=m
44−CONFIG_PM_RUNTIME=y
44+CONFIG_PM=y
4545 CONFIG_PM_DEBUG=y
4646 CONFIG_NET=y
4747 CONFIG_PACKET=y
arch/powerpc/configs/ps3_defconfig+1−1
@@ -36,7 +36,7 @@ CONFIG_KEXEC=y · 35 unmodified lines
3636 CONFIG_SCHED_SMT=y
3737 CONFIG_CMDLINE_BOOL=y
3838 CONFIG_CMDLINE=""
39−CONFIG_PM_RUNTIME=y
39+CONFIG_PM=y
4040 CONFIG_PM_DEBUG=y
4141 # CONFIG_SECCOMP is not set
4242 # CONFIG_PCI is not set
arch/sh/Kconfig+1−1
@@ -223,7 +223,7 @@ config CPU_SHX3 · 222 unmodified lines
223223 config ARCH_SHMOBILE
224224 bool
225225 select ARCH_SUSPEND_POSSIBLE
226− select PM_RUNTIME
226+ select PM
227227
228228 config CPU_HAS_PMU
229229 depends on CPU_SH4 || CPU_SH4A
arch/sh/configs/apsh4ad0a_defconfig+1−1
@@ -47,7 +47,7 @@ CONFIG_PREEMPT=y · 46 unmodified lines
4747 CONFIG_BINFMT_MISC=y
4848 CONFIG_PM=y
4949 CONFIG_PM_DEBUG=y
50−CONFIG_PM_RUNTIME=y
50+CONFIG_PM=y
5151 CONFIG_CPU_IDLE=y
5252 CONFIG_NET=y
5353 CONFIG_PACKET=y
arch/sh/configs/sdk7786_defconfig+1−1
@@ -82,7 +82,7 @@ CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y · 81 unmodified lines
8282 CONFIG_BINFMT_MISC=y
8383 CONFIG_PM=y
8484 CONFIG_PM_DEBUG=y
85−CONFIG_PM_RUNTIME=y
85+CONFIG_PM=y
8686 CONFIG_CPU_IDLE=y
8787 CONFIG_NET=y
8888 CONFIG_PACKET=y
drivers/usb/host/isp1760-hcd.c+1−1
@@ -1739,7 +1739,7 @@ static int isp1760_hub_status_data(struct usb_hcd *hcd, char *buf) · 1738 unmodified lines
17391739 int retval = 1;
17401740 unsigned long flags;
17411741
1742− /* if !PM_RUNTIME, root hub timers won't get shut down ... */
1742+ /* if !PM, root hub timers won't get shut down ... */
17431743 if (!HC_IS_RUNNING(hcd->state))
17441744 return 0;
17451745
drivers/usb/host/oxu210hp-hcd.c+1−1
@@ -3087,7 +3087,7 @@ static int oxu_hub_status_data(struct usb_hcd *hcd, char *buf) · 3086 unmodified lines
30873087 int ports, i, retval = 1;
30883088 unsigned long flags;
30893089
3090− /* if !PM_RUNTIME, root hub timers won't get shut down ... */
3090+ /* if !PM, root hub timers won't get shut down ... */
30913091 if (!HC_IS_RUNNING(hcd->state))
30923092 return 0;
30933093
include/linux/devfreq.h+1−1
@@ -188,7 +188,7 @@ extern struct devfreq *devm_devfreq_add_device(struct device *dev, · 187 unmodified lines
188188 extern void devm_devfreq_remove_device(struct device *dev,
189189 struct devfreq *devfreq);
190190
191−/* Supposed to be called by PM_SLEEP/PM_RUNTIME callbacks */
191+/* Supposed to be called by PM callbacks */
192192 extern int devfreq_suspend_device(struct devfreq *devfreq);
193193 extern int devfreq_resume_device(struct devfreq *devfreq);
194194
kernel/power/Kconfig+6−10
@@ -94,7 +94,7 @@ config PM_STD_PARTITION · 93 unmodified lines
9494 config PM_SLEEP
9595 def_bool y
9696 depends on SUSPEND || HIBERNATE_CALLBACKS
97− select PM_RUNTIME
97+ select PM
9898
9999 config PM_SLEEP_SMP
100100 def_bool y
@@ -130,23 +130,19 @@ config PM_WAKELOCKS_GC · 29 unmodified lines
130130 depends on PM_WAKELOCKS
131131 default y
132132
133−config PM_RUNTIME
134− bool "Run-time PM core functionality"
133+config PM
134+ bool "Device power management core functionality"
135135 ---help---
136136 Enable functionality allowing I/O devices to be put into energy-saving
137− (low power) states at run time (or autosuspended) after a specified
138− period of inactivity and woken up in response to a hardware-generated
137+ (low power) states, for example after a specified period of inactivity
138+ (autosuspended), and woken up in response to a hardware-generated
139139 wake-up event or a driver's request.
140140
141141 Hardware support is generally required for this functionality to work
142142 and the bus type drivers of the buses the devices are on are
143− responsible for the actual handling of the autosuspend requests and
143+ responsible for the actual handling of device suspend requests and
144144 wake-up events.
145145
146−config PM
147− def_bool y
148− depends on PM_SLEEP || PM_RUNTIME
149−
150146 config PM_DEBUG
151147 bool "Power Management Debug Support"
152148 depends on PM