cpufreq Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix ARM cpufreq governor selection
@ 2004-02-21  0:19 Russell King
  0 siblings, 0 replies; only message in thread
From: Russell King @ 2004-02-21  0:19 UTC (permalink / raw)
  To: cpufreq, David Jones

The patch below fixes the cpufreq governor selection such that it
finally works as expected on ARM platforms.

===== arch/arm/Kconfig 1.40 vs edited =====
--- 1.40/arch/arm/Kconfig	Sat Oct  4 14:36:50 2003
+++ edited/arch/arm/Kconfig	Tue Jan 27 10:53:53 2004
@@ -336,14 +336,12 @@
 	bool
 	depends on CPU_FREQ && SA1100_LART
 	default y
-	select CPU_FREQ_DEFAULT_GOV_USERSPACE
 	select CPU_FREQ_24_API if SYSCTL
 
 config CPU_FREQ_SA1110
 	bool
 	depends on CPU_FREQ && (SA1100_ASSABET || SA1100_CERF || SA1100_PT_SYSTEM3)
 	default y
-	select CPU_FREQ_DEFAULT_GOV_USERSPACE
 	select CPU_FREQ_24_API if SYSCTL
 
 config CPU_FREQ_INTEGRATOR
===== drivers/cpufreq/Kconfig 1.7 vs edited =====
--- 1.7/drivers/cpufreq/Kconfig	Mon Jan  5 18:43:42 2004
+++ edited/drivers/cpufreq/Kconfig	Tue Jan 27 10:53:48 2004
@@ -13,7 +13,8 @@
 choice
 	prompt "Default CPUFreq governor"
 	depends on CPU_FREQ
-	default CPU_FREQ_DEFAULT_GOV_PERFORMANCE
+	default CPU_FREQ_DEFAULT_GOV_PERFORMANCE if !CPU_FREQ_SA1100 && !CPU_FREQ_SA1110
+	default CPU_FREQ_DEFAULT_GOV_USERSPACE if CPU_FREQ_SA1100 || CPU_FREQ_SA1110
 	help
 	  This option sets which CPUFreq governor shall be loaded at
 	  startup. If in doubt, select 'performance'.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                 2.6 Serial core

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-02-21  0:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-21  0:19 [PATCH] Fix ARM cpufreq governor selection Russell King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox