[kernel] r12453 - in dists/sid/linux-2.6/debian: . patches/features/all/xen patches/series

Ian Campbell ijc-guest at alioth.debian.org
Thu Nov 27 07:59:32 UTC 2008


Author: ijc-guest
Date: Thu Nov 27 07:59:31 2008
New Revision: 12453

Log:
xen: fix ACPI processor throttling for when processor id is -1. (closes: #502849)

Added:
   dists/sid/linux-2.6/debian/patches/features/all/xen/dom0-fix-processor-throttling-when-pr-id-is-minus-1.patch
   dists/sid/linux-2.6/debian/patches/series/12-extra
Modified:
   dists/sid/linux-2.6/debian/changelog

Modified: dists/sid/linux-2.6/debian/changelog
==============================================================================
--- dists/sid/linux-2.6/debian/changelog	(original)
+++ dists/sid/linux-2.6/debian/changelog	Thu Nov 27 07:59:31 2008
@@ -1,3 +1,10 @@
+linux-2.6 (2.6.26-12) UNRELEASED; urgency=low
+
+  [ Ian Campbell ]
+  * xen: fix ACPI processor throttling for when processor id is -1. (closes: #502849)
+
+ -- Ian Campbell <ijc at hellion.org.uk>  Thu, 27 Nov 2008 07:21:22 +0000
+
 linux-2.6 (2.6.26-11) unstable; urgency=low
 
   [ Bastian Blank ]

Added: dists/sid/linux-2.6/debian/patches/features/all/xen/dom0-fix-processor-throttling-when-pr-id-is-minus-1.patch
==============================================================================
--- (empty file)
+++ dists/sid/linux-2.6/debian/patches/features/all/xen/dom0-fix-processor-throttling-when-pr-id-is-minus-1.patch	Thu Nov 27 07:59:31 2008
@@ -0,0 +1,32 @@
+# HG changeset patch
+# User Keir Fraser <keir.fraser at citrix.com>
+# Date 1225190351 0
+# Node ID de7f94bd650b7e00cd57191280c5f0959b2a286e
+# Parent  f40f4f86d5a2c5caa0261512279f3590e95f3d91
+dom0: Fix for throttling while pr->id == -1
+
+Signed-off-by: Wei Gang <gang.wei at intel.com>
+
+diff -r f40f4f86d5a2 -r de7f94bd650b drivers/acpi/processor_core.c
+--- a/drivers/acpi/processor_core.c	Mon Oct 27 13:47:07 2008 +0000
++++ b/drivers/acpi/processor_core.c	Tue Oct 28 10:39:11 2008 +0000
+@@ -677,8 +677,17 @@
+ #if defined(CONFIG_CPU_FREQ) || defined(CONFIG_PROCESSOR_EXTERNAL_CONTROL)
+ 	acpi_processor_ppc_has_changed(pr);
+ #endif
+-	acpi_processor_get_throttling_info(pr);
+-	acpi_processor_get_limit_info(pr);
++
++	/* 
++	 * pr->id may equal to -1 while processor_cntl_external enabled.
++	 * throttle and thermal module don't support this case.
++	 * Tx only works when dom0 vcpu == pcpu num by far, as we give 
++	 * control to dom0.
++	 */
++	if (pr->id != -1) {
++		acpi_processor_get_throttling_info(pr);
++		acpi_processor_get_limit_info(pr);
++	}
+ 
+ 
+ 	acpi_processor_power_init(pr, device);

Added: dists/sid/linux-2.6/debian/patches/series/12-extra
==============================================================================
--- (empty file)
+++ dists/sid/linux-2.6/debian/patches/series/12-extra	Thu Nov 27 07:59:31 2008
@@ -0,0 +1 @@
++ features/all/xen/dom0-fix-processor-throttling-when-pr-id-is-minus-1.patch featureset=xen



More information about the Kernel-svn-changes mailing list