Skip to contentSkip to conversation

ARM: omap2plus_defconfig: use CONFIG_CPUFREQ_DT

PATCH In review Nishanth Menon 4 participants 4 messages Dec 12, 2014 – Jan 5, 2015

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: omap2plus_defconfig: use CONFIG_CPUFREQ_DT

CONFIG_GENERIC_CPUFREQ_CPU0 disappeared with commit bbcf071969b20f ("cpufreq: cpu0: rename driver and internals to 'cpufreq_dt'")

Use the renamed CONFIG_CPUFREQ_DT generic driver. It looks like with v3.18-rc1, commit bbcf071969b20f and fdc509b15eb3eb came in via different trees causing the resultant v3.18-rc1 to be non-functional for cpufreq as default supported with omap2plus_defconfig.

Fixes fdc509b15eb3eb ("ARM: omap2plus_defconfig: Add cpufreq to defconfig")

---

NOTE: as of v3.18 tag, The following still need to be fixed - I do not have all the platforms impacted to make a generic change, so CCying folks who might be interested

arch/arm/configs/shmobile_defconfig:CONFIG_GENERIC_CPUFREQ_CPU0=y arch/arm/configs/multi_v7_defconfig:CONFIG_GENERIC_CPUFREQ_CPU0=y

 arch/arm/configs/omap2plus_defconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/configs/omap2plus_defconfig +1 -1
index 3e09286..5fc0dbe 100644
@@ -68,7 +68,7 @@ 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_GENERIC_CPUFREQ_CPU0=y
+CONFIG_CPUFREQ_DT=y
 # CONFIG_ARM_OMAP2PLUS_CPUFREQ is not set
 CONFIG_CPU_IDLE=y
 CONFIG_BINFMT_MISC=y
Signature · 1 line
1.7.9.5
Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines · Nishanth Menon

CONFIG_GENERIC_CPUFREQ_CPU0 disappeared with commit bbcf071969b20f ("cpufreq: cpu0: rename driver and internals to 'cpufreq_dt'")

Use the renamed CONFIG_CPUFREQ_DT generic driver. It looks like with v3.18-rc1, commit bbcf071969b20f and fdc509b15eb3eb came in via different trees causing the resultant v3.18-rc1 to be non-functional for cpufreq as default supported with omap2plus_defconfig.

Fixes fdc509b15eb3eb ("ARM: omap2plus_defconfig: Add cpufreq to defconfig")

Whomsoever applies it, please add:

Cc <[email protected]> # 3.18
Quoted 7 lines

---

NOTE: as of v3.18 tag, The following still need to be fixed - I do not have all the platforms impacted to make a generic change, so CCying folks who might be interested

arch/arm/configs/shmobile_defconfig:CONFIG_GENERIC_CPUFREQ_CPU0=y arch/arm/configs/multi_v7_defconfig:CONFIG_GENERIC_CPUFREQ_CPU0=y

I have fixed them now.

Quoted 9 lines
 arch/arm/configs/omap2plus_defconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/configs/omap2plus_defconfig +0 -0
index 3e09286..5fc0dbe 100644

arch/arm/configs/omap2plus_defconfig CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y · line 74

Quoted 8 lines
arch/arm/configs/omap2plus_defconfig +1 -1
@@ -68,7 +68,7 @@ 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_GENERIC_CPUFREQ_CPU0=y
+CONFIG_CPUFREQ_DT=y
 # CONFIG_ARM_OMAP2PLUS_CPUFREQ is not set
 CONFIG_CPU_IDLE=y
 CONFIG_BINFMT_MISC=y
#2 lore raw
In reply to Nishanth Menon
Quoted 8 lines · Nishanth Menon

CONFIG_GENERIC_CPUFREQ_CPU0 disappeared with commit bbcf071969b20f ("cpufreq: cpu0: rename driver and internals to 'cpufreq_dt'")

Use the renamed CONFIG_CPUFREQ_DT generic driver. It looks like with v3.18-rc1, commit bbcf071969b20f and fdc509b15eb3eb came in via different trees causing the resultant v3.18-rc1 to be non-functional for cpufreq as default supported with omap2plus_defconfig.

Quoted 8 lines
Fixes fdc509b15eb3eb ("ARM: omap2plus_defconfig: Add cpufreq to defconfig")

---

NOTE: as of v3.18 tag, The following still need to be fixed - I do not have all the platforms impacted to make a generic change, so CCying folks who might be interested

arch/arm/configs/shmobile_defconfig:CONFIG_GENERIC_CPUFREQ_CPU0=y

Thanks!

FTR: this has been fixed in Simon's defconfig-for-v3.20 branch.

Quoted 1 line

arch/arm/configs/multi_v7_defconfig:CONFIG_GENERIC_CPUFREQ_CPU0=y

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

maintainer
#3 lore raw
Quoted 13 lines · Geert Uytterhoeven
Quoted 12 lines · Nishanth Menon

CONFIG_GENERIC_CPUFREQ_CPU0 disappeared with commit bbcf071969b20f ("cpufreq: cpu0: rename driver and internals to 'cpufreq_dt'")

Use the renamed CONFIG_CPUFREQ_DT generic driver. It looks like with v3.18-rc1, commit bbcf071969b20f and fdc509b15eb3eb came in via different trees causing the resultant v3.18-rc1 to be non-functional for cpufreq as default supported with omap2plus_defconfig.

Fixes fdc509b15eb3eb ("ARM: omap2plus_defconfig: Add cpufreq to defconfig")

---

Quoted 10 lines
Quoted 4 lines

NOTE: as of v3.18 tag, The following still need to be fixed - I do not have all the platforms impacted to make a generic change, so CCying folks who might be interested

arch/arm/configs/shmobile_defconfig:CONFIG_GENERIC_CPUFREQ_CPU0=y

Thanks!

FTR: this has been fixed in Simon's defconfig-for-v3.20 branch.

Quoted 1 line

arch/arm/configs/multi_v7_defconfig:CONFIG_GENERIC_CPUFREQ_CPU0=y

Oops looks like this is still missing from omap2plus_defconfig, so applying into omap-for-v3.19/fixes.

Regards,

Tony