# \[PATCH\] ARM: config: multi\_v7 Use schedutil cpufreq

- From: Linus Walleij \<hidden\>
- Date: 2020-02-29 21:04:56 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2020/02/8791669
- Thread: https://ratatoskr.run/linux-arm-kernel/2020/02/8791669/t.md

```text
The multi v7 config is using the ondemand governor by default,
but the schedutil is mature and enabled by default in other
defconfigs, let's encourage schedutil as governor but keep
ondemand as compiled-in instead of the other way around.

Cc: Rafael J. Wysocki <redacted>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Linus Walleij <redacted>
---
ARM SoC folks: if you agree please apply this directly. I think
putting this in the multi v7 as default is a good way to
actively encourage this governor, unless Viresh or Rafael
objects.
---
 arch/arm/configs/multi_v7_defconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index 017d65f86eba..beec2c8d76aa 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -100,11 +100,11 @@ CONFIG_KEXEC=y
 CONFIG_EFI=y
 CONFIG_CPU_FREQ=y
 CONFIG_CPU_FREQ_STAT=y
-CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
+CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL=y
 CONFIG_CPU_FREQ_GOV_POWERSAVE=m
 CONFIG_CPU_FREQ_GOV_USERSPACE=m
 CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m
-CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
+CONFIG_CPU_FREQ_GOV_ONDEMAND=y
 CONFIG_CPUFREQ_DT=y
 CONFIG_ARM_IMX6Q_CPUFREQ=y
 CONFIG_ARM_RASPBERRYPI_CPUFREQ=y
-- 
2.24.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
```
