2016-04-08 19:03:04

by Javier Martinez Canillas

[permalink] [raw]
Subject: [PATCH 1/2] ARM: exynos_defconfig: Enable CPUFreq governors as modules

Currently only the ondemand and performance CPUFreq policy governors are
enabled in the Exynos defconfig. But the other governors are also useful
for some cases, enable them to allow users change the default if needed.

The options are enabled as module to keep the kernel image size minimal.

Signed-off-by: Javier Martinez Canillas <[email protected]>
---

arch/arm/configs/exynos_defconfig | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/exynos_defconfig
index 6ffd7e76f3ce..c38a33e3c861 100644
--- a/arch/arm/configs/exynos_defconfig
+++ b/arch/arm/configs/exynos_defconfig
@@ -28,6 +28,10 @@ CONFIG_CMDLINE="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttyS
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_STAT_DETAILS=y
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
+CONFIG_CPU_FREQ_GOV_POWERSAVE=m
+CONFIG_CPU_FREQ_GOV_USERSPACE=m
+CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m
+CONFIG_CPU_FREQ_GOV_SCHEDUTIL=m
CONFIG_CPUFREQ_DT=y
CONFIG_CPU_IDLE=y
CONFIG_ARM_EXYNOS_CPUIDLE=y
--
2.5.0


2016-04-08 19:03:33

by Javier Martinez Canillas

[permalink] [raw]
Subject: [PATCH 2/2] ARM: multi_v7_defconfig: Enable CPUFreq governors as modules

Currently only the ondemand and performance CPUFreq policy governors are
enabled in multi_v7 defconfig. But the other governors are also useful
for some cases, enable them to allow users change the default if needed.

The options are enabled as module to keep the kernel image size minimal.

Signed-off-by: Javier Martinez Canillas <[email protected]>

---

arch/arm/configs/multi_v7_defconfig | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index 4eb10f5ea493..a8afbd9d4ead 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -131,6 +131,10 @@ CONFIG_KEXEC=y
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_STAT_DETAILS=y
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
+CONFIG_CPU_FREQ_GOV_POWERSAVE=m
+CONFIG_CPU_FREQ_GOV_USERSPACE=m
+CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m
+CONFIG_CPU_FREQ_GOV_SCHEDUTIL=m
CONFIG_QORIQ_CPUFREQ=y
CONFIG_CPU_IDLE=y
CONFIG_ARM_CPUIDLE=y
--
2.5.0

2016-04-10 08:13:22

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH 1/2] ARM: exynos_defconfig: Enable CPUFreq governors as modules

On Fri, Apr 08, 2016 at 03:02:09PM -0400, Javier Martinez Canillas wrote:
> Currently only the ondemand and performance CPUFreq policy governors are
> enabled in the Exynos defconfig. But the other governors are also useful
> for some cases, enable them to allow users change the default if needed.
>
> The options are enabled as module to keep the kernel image size minimal.
>
> Signed-off-by: Javier Martinez Canillas <[email protected]>
> ---
>
> arch/arm/configs/exynos_defconfig | 4 ++++
> 1 file changed, 4 insertions(+)

Hi,

Reviewed-by: Krzysztof Kozlowski <[email protected]>

Best regards,
Krzysztof

2016-04-10 08:14:33

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH 2/2] ARM: multi_v7_defconfig: Enable CPUFreq governors as modules

On Fri, Apr 08, 2016 at 03:02:10PM -0400, Javier Martinez Canillas wrote:
> Currently only the ondemand and performance CPUFreq policy governors are
> enabled in multi_v7 defconfig. But the other governors are also useful
> for some cases, enable them to allow users change the default if needed.
>
> The options are enabled as module to keep the kernel image size minimal.
>
> Signed-off-by: Javier Martinez Canillas <[email protected]>
>
> ---
>
> arch/arm/configs/multi_v7_defconfig | 4 ++++
> 1 file changed, 4 insertions(+)

Hi,

Makes sense for me. If there are no objections I can take it through
samsung-soc tree along with exynos_defconfig change.

Reviewed-by: Krzysztof Kozlowski <[email protected]>

Best regards,
Krzysztof

2016-04-12 14:15:24

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH 1/2] ARM: exynos_defconfig: Enable CPUFreq governors as modules

On Fri, Apr 8, 2016 at 9:02 PM, Javier Martinez Canillas
<[email protected]> wrote:
> Currently only the ondemand and performance CPUFreq policy governors are
> enabled in the Exynos defconfig. But the other governors are also useful
> for some cases, enable them to allow users change the default if needed.
>
> The options are enabled as module to keep the kernel image size minimal.
>
> Signed-off-by: Javier Martinez Canillas <[email protected]>
> ---
>
> arch/arm/configs/exynos_defconfig | 4 ++++
> 1 file changed, 4 insertions(+)

Applied, thanks.

Krzysztof

2016-04-12 14:20:17

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH 2/2] ARM: multi_v7_defconfig: Enable CPUFreq governors as modules

On Fri, Apr 8, 2016 at 9:02 PM, Javier Martinez Canillas
<[email protected]> wrote:
> Currently only the ondemand and performance CPUFreq policy governors are
> enabled in multi_v7 defconfig. But the other governors are also useful
> for some cases, enable them to allow users change the default if needed.
>
> The options are enabled as module to keep the kernel image size minimal.
>
> Signed-off-by: Javier Martinez Canillas <[email protected]>
>
> ---
>
> arch/arm/configs/multi_v7_defconfig | 4 ++++
> 1 file changed, 4 insertions(+)

Applied, thanks.

Krzysztof