New: us3_cpufreq not working on blade
Quoted 36 lines · On Wed, 25 Jul 2007 14:27:00 -0700 (PDT) [email protected] wrote:
http://bugzilla.kernel.org/show_bug.cgi?idˆ11
Summary:
us3_cpufreqnot working on blade 2000 with 2xUltraSPARC
IIIcu 900MHz
Product: Platform Specific/Hardware
Version: 2.5
KernelVersion: 2.6.22.1
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: SPARC64
AssignedTo: [email protected]
ReportedBy: [email protected]Most recent kernel where this bug did not occur: -
Distribution: Gentoo/Linux
Hardware Environment: Sun Blade 2000, 2xUltraSPARC IIIcu 900MHz 8mb cache, 4GB RAM
Software Environment: cpufrequtils-002 from
http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html,
installed from gentoo ebuild.Problem Description:
cpufreq-info reports frequency ranges just fine, and after setting the governor to "powersave" will report current cpufreq as the minimum one, yet the cpu frequency is definitivelly not lowered, because it'll take the same time to do an mplayer -noaudio -benchmark movie.aviSteps to reproduce:
1. Load theus3_cpufreqkernel module
2. Set the governor to powersave
From: Andrew Morton <[email protected]>
Date: Wed, 25 Jul 2007 16:14:40 -0700
Quoted 3 lines
Quoted 3 lines
Steps to reproduce:
1. Load theus3_cpufreqkernel module
2. Set the governor to powersave
What does the kernel print in the logs during these attempted cpufreq changes with the following debugging patch applied?
arch/sparc64/kernel/us3_cpufreq.c +4 -0
@@ -141,6 +141,10 @@ static void us3_set_cpu_divider_index(unsigned int cpu, unsigned int index)cpufreq_notify_transition (&freqs,CPUFREQ_POSTCHANGE );set_cpus_allowed (current, cpus_allowed); +#if 1 +printk (KERN_ERR "US3: Wrote %lx (index %x) to SAFARI_CFG on cpu %u\n" , + reg, index, cpu); +#endif } static int us3_freq_target(struct cpufreq_policy *policy,