[kernel] r7662 - in dists/trunk/linux-2.6/debian: . patches/bugfix patches/series

maximilian attems maks-guest at alioth.debian.org
Mon Oct 30 15:55:15 UTC 2006


Author: maks-guest
Date: Mon Oct 30 16:55:14 2006
New Revision: 7662

Added:
   dists/trunk/linux-2.6/debian/patches/bugfix/x86-64-c3_timer.patch
Modified:
   dists/trunk/linux-2.6/debian/changelog
   dists/trunk/linux-2.6/debian/patches/series/4
Log:
pull upstream amd64 c3 timer fix - seen in fedora too


Modified: dists/trunk/linux-2.6/debian/changelog
==============================================================================
--- dists/trunk/linux-2.6/debian/changelog	(original)
+++ dists/trunk/linux-2.6/debian/changelog	Mon Oct 30 16:55:14 2006
@@ -34,8 +34,9 @@
   * r8169: Add upstream fix for infinite loop during hotplug.
   * Bump build-dependency on kernel-package to 10.063.
   * r8169: pull revert mac address change support.
+  * [amd64]: Add upstream fix C3 timer test for dual core laptops.
 
- -- maximilian attems <maks at sternwelten.at>  Mon, 30 Oct 2006 16:47:47 +0100
+ -- maximilian attems <maks at sternwelten.at>  Mon, 30 Oct 2006 16:54:29 +0100
 
 linux-2.6 (2.6.18-3) unstable; urgency=low
 

Added: dists/trunk/linux-2.6/debian/patches/bugfix/x86-64-c3_timer.patch
==============================================================================
--- (empty file)
+++ dists/trunk/linux-2.6/debian/patches/bugfix/x86-64-c3_timer.patch	Mon Oct 30 16:55:14 2006
@@ -0,0 +1,40 @@
+From git-commits-head-owner at vger.kernel.org Mon Oct 23 10:18:42 2006
+Date: Sun, 22 Oct 2006 00:59:04 GMT
+Message-Id: <200610220059.k9M0x4e8025532 at hera.kernel.org>
+From: Linux Kernel Mailing List <linux-kernel at vger.kernel.org>
+To: git-commits-head at vger.kernel.org
+Subject: [PATCH] x86-64: Fix C3 timer test
+
+commit aa026ede513b7d672fa7d9106b2f2a475455dcf2
+tree 13a4e7934f3597336ebdfde1d720b5f2c877ad6e
+parent cb7fabcf9d4340b61f012cc7e8e3d7ff5c4f441c
+author Andi Kleen <ak at suse.de> 1161470475 +0200
+committer Andi Kleen <andi at basil.nowhere.org> 1161470475 +0200
+
+[PATCH] x86-64: Fix C3 timer test
+
+There was a typo in the C3 latency test to decide of the TSC
+should be used or not. It used the C2 latency threshold, not the
+C3 one. Fix that.
+
+This should fix the time on various dual core laptops.
+
+Signed-off-by: Andi Kleen <ak at suse.de>
+
+ arch/x86_64/kernel/time.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/arch/x86_64/kernel/time.c b/arch/x86_64/kernel/time.c
+index 1ba5a44..88722f1 100644
+--- a/arch/x86_64/kernel/time.c
++++ b/arch/x86_64/kernel/time.c
+@@ -948,7 +948,7 @@ #endif
+  	if (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL) {
+ #ifdef CONFIG_ACPI
+ 		/* But TSC doesn't tick in C3 so don't use it there */
+-		if (acpi_fadt.length > 0 && acpi_fadt.plvl3_lat < 100)
++		if (acpi_fadt.length > 0 && acpi_fadt.plvl3_lat < 1000)
+ 			return 1;
+ #endif
+  		return 0;
+

Modified: dists/trunk/linux-2.6/debian/patches/series/4
==============================================================================
--- dists/trunk/linux-2.6/debian/patches/series/4	(original)
+++ dists/trunk/linux-2.6/debian/patches/series/4	Mon Oct 30 16:55:14 2006
@@ -14,3 +14,4 @@
 + bugfix/arm/ixp4xx-clocksource.patch
 + bugfix/audit-syscalls.patch
 + bugfix/net-r8169-no_mac_adress_change.patch
++ bugfix/x86-64-c3_timer.patch



More information about the Kernel-svn-changes mailing list