From: Russell King <rmk@arm.linux.org.uk>
To: cpufreq@www.linux.org.uk, David Jones <davej@redhat.com>
Subject: [PATCH] Fix ARM cpufreq governor selection
Date: Sat, 21 Feb 2004 00:19:16 +0000 [thread overview]
Message-ID: <20040221001916.E22043@flint.arm.linux.org.uk> (raw)
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
reply other threads:[~2004-02-21 0:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040221001916.E22043@flint.arm.linux.org.uk \
--to=rmk@arm.linux.org.uk \
--cc=cpufreq@www.linux.org.uk \
--cc=davej@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox