powerpc/powernv: Don't select the cpufreq governors
authorJoel Stanley <joel@jms.id.au>
Tue, 21 Aug 2018 02:14:28 +0000 (11:44 +0930)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 17 Sep 2018 11:16:26 +0000 (21:16 +1000)
Deciding wich govenors should be built into the kernel can be left to
users to configure.

Fixes: 81f359027a3a ("cpufreq: powernv: Select CPUFreq related Kconfig options for powernv")
Signed-off-by: Joel Stanley <joel@jms.id.au>
[mpe: Update powernv/ppc64 defconfigs to enable them by default]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/configs/powernv_defconfig
arch/powerpc/configs/ppc64_defconfig
arch/powerpc/platforms/powernv/Kconfig

index 6ab34e60495f4b88e55c7a63f6c525a4204bd091..b035d909e6819192664051207afb9f23301472f8 100644 (file)
@@ -44,6 +44,9 @@ CONFIG_PPC_MEMTRACE=y
 # CONFIG_PPC_PSERIES is not set
 # CONFIG_PPC_OF_BOOT_TRAMPOLINE is not set
 CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
+CONFIG_CPU_FREQ_GOV_POWERSAVE=y
+CONFIG_CPU_FREQ_GOV_USERSPACE=y
+CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
 CONFIG_CPU_IDLE=y
 CONFIG_HZ_100=y
 CONFIG_BINFMT_MISC=m
index 5033e630afead44bca03320fc29d0266f2d8b0f0..1b4753d4070b467be314fafe56e42cb60406e3f9 100644 (file)
@@ -40,6 +40,9 @@ CONFIG_PS3_LPM=m
 CONFIG_PPC_IBM_CELL_BLADE=y
 CONFIG_RTAS_FLASH=m
 CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
+CONFIG_CPU_FREQ_GOV_POWERSAVE=y
+CONFIG_CPU_FREQ_GOV_USERSPACE=y
+CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
 CONFIG_CPU_FREQ_PMAC64=y
 CONFIG_HZ_100=y
 CONFIG_BINFMT_MISC=m
index f8dc98d3dc01a053ddf3f1b69ae0816e3c6114e3..028ac941c05c69deabd11d4371201b6b83456403 100644 (file)
@@ -15,11 +15,6 @@ config PPC_POWERNV
        select PPC_SCOM
        select ARCH_RANDOM
        select CPU_FREQ
-       select CPU_FREQ_GOV_PERFORMANCE
-       select CPU_FREQ_GOV_POWERSAVE
-       select CPU_FREQ_GOV_USERSPACE
-       select CPU_FREQ_GOV_ONDEMAND
-       select CPU_FREQ_GOV_CONSERVATIVE
        select PPC_DOORBELL
        select MMU_NOTIFIER
        select FORCE_SMP