[kernel] r7012 - in dists/sid/linux-2.6.16/debian: . patches

Martin Michlmayr tbm at costa.debian.org
Sat Jul 15 12:29:58 UTC 2006


Author: tbm
Date: Sat Jul 15 12:29:56 2006
New Revision: 7012

Added:
   dists/sid/linux-2.6.16/debian/patches/powernow-k7.patch
Modified:
   dists/sid/linux-2.6.16/debian/changelog
   dists/sid/linux-2.6.16/debian/patches/series/17

Log:
Make powernow-k7 work on SMP kernels (Dave Jones).


Modified: dists/sid/linux-2.6.16/debian/changelog
==============================================================================
--- dists/sid/linux-2.6.16/debian/changelog	(original)
+++ dists/sid/linux-2.6.16/debian/changelog	Sat Jul 15 12:29:56 2006
@@ -27,6 +27,7 @@
   * [arm/nslu2] Unset CONFIG_USB_STORAGE_DEBUG.  Closes: #377853.
   * [mips] SGI ip22 RTC was broken, fixed thanks to Julien Blache.
   * [mips] Fix SGI ip22 serial console, thanks to Julien Blache.
+  * [i386] Make powernow-k7 work on SMP kernels (Dave Jones).
 
  -- Martin Michlmayr <tbm at cyrius.com>  Fri, 14 Jul 2006 01:00:57 +0200
 

Added: dists/sid/linux-2.6.16/debian/patches/powernow-k7.patch
==============================================================================
--- (empty file)
+++ dists/sid/linux-2.6.16/debian/patches/powernow-k7.patch	Sat Jul 15 12:29:56 2006
@@ -0,0 +1,28 @@
+commit 436fe7b8b4a5016ef1fcb32bff77bde84003e15d
+Author: Dave Jones <davej at redhat.com>
+Date:   Mon Jun 5 14:03:50 2006 -0400
+
+    [CPUFREQ] Make powernow-k7 work on SMP kernels.
+    Even though powernow-k7 doesn't work in SMP environments,
+    it can work on an SMP configured kernel if there's only
+    one CPU present, however recalibrate_cpu_khz was returning
+    -EINVAL on such kernels, so we failed to init the cpufreq driver.
+    
+    Signed-off-by: Dave Jones <davej at redhat.com>
+
+diff --git a/arch/i386/kernel/cpu/cpufreq/powernow-k7.c b/arch/i386/kernel/cpu/cpufreq/powernow-k7.c
+index 5d2b601..694d479 100644
+--- a/arch/i386/kernel/cpu/cpufreq/powernow-k7.c
++++ b/arch/i386/kernel/cpu/cpufreq/powernow-k7.c
+@@ -581,10 +581,7 @@ static int __init powernow_cpu_init (str
+ 
+ 	rdmsrl (MSR_K7_FID_VID_STATUS, fidvidstatus.val);
+ 
+-	/* recalibrate cpu_khz */
+-	result = recalibrate_cpu_khz();
+-	if (result)
+-		return result;
++	recalibrate_cpu_khz();
+ 
+ 	fsb = (10 * cpu_khz) / fid_codes[fidvidstatus.bits.CFID];
+ 	if (!fsb) {

Modified: dists/sid/linux-2.6.16/debian/patches/series/17
==============================================================================
--- dists/sid/linux-2.6.16/debian/patches/series/17	(original)
+++ dists/sid/linux-2.6.16/debian/patches/series/17	Sat Jul 15 12:29:56 2006
@@ -6,3 +6,4 @@
 + mips-ip22-serial-fix.patch
 + 2.6.16.25
 + relax-proc-fix.patch
++ powernow-k7.patch



More information about the Kernel-svn-changes mailing list