Re: [Bugme-new] [Bug 8811] New: us3_cpufreq not working on blade 2000 with 2xUltraSPARC IIIcu 900MHz

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 25 Jul 2007 16:14:40 -0700

> > Steps to reproduce:
> > 1. Load the us3_cpufreq kernel 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?

diff --git a/arch/sparc64/kernel/us3_cpufreq.c b/arch/sparc64/kernel/us3_cpufreq.c
index 47e3aca..521d865 100644
--- a/arch/sparc64/kernel/us3_cpufreq.c
+++ b/arch/sparc64/kernel/us3_cpufreq.c
@@ -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,
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux