diff mbox

[2/2] ARM: multi_v7_defconfig: Enable CPUFreq governors as modules

Message ID 1460142130-31822-2-git-send-email-javier@osg.samsung.com (mailing list archive)
State New, archived
Headers show

Commit Message

Javier Martinez Canillas April 8, 2016, 7:02 p.m. UTC
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 <javier@osg.samsung.com>

---

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

Comments

Krzysztof Kozlowski April 10, 2016, 8:14 a.m. UTC | #1
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 <javier@osg.samsung.com>
> 
> ---
> 
>  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 <k.kozlowski@samsung.com>

Best regards,
Krzysztof
Krzysztof Kozlowski April 12, 2016, 2:20 p.m. UTC | #2
On Fri, Apr 8, 2016 at 9:02 PM, Javier Martinez Canillas
<javier@osg.samsung.com> 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 <javier@osg.samsung.com>
>
> ---
>
>  arch/arm/configs/multi_v7_defconfig | 4 ++++
>  1 file changed, 4 insertions(+)

Applied, thanks.

Krzysztof
diff mbox

Patch

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