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

[Xen-changelog] [linux-2.6.18-xen] x86: Back port from latest Linux kernel to enable C2/C3 entry via MWAIT



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1213608984 -3600
# Node ID 9829b72f4a99983aefa3130b5d9f115147962747
# Parent  32a80b65ddadc49c48950690a0705b8f6d473a70
x86: Back port from latest Linux kernel to enable C2/C3 entry via MWAIT

Current xen-linux (2.6.18) not include support for Cx MWAIT entry
method. Back port from latest Linux kernel (already there since
2.6.23). Without this patch, _CST method couldn't get C states with
FFH address space type.

Signed-off-by: Wei Gang <gang.wei@xxxxxxxxx>
---
 include/acpi/pdc_intel.h |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletion(-)

diff -r 32a80b65ddad -r 9829b72f4a99 include/acpi/pdc_intel.h
--- a/include/acpi/pdc_intel.h  Fri Jun 13 09:54:50 2008 +0100
+++ b/include/acpi/pdc_intel.h  Mon Jun 16 10:36:24 2008 +0100
@@ -13,6 +13,7 @@
 #define ACPI_PDC_SMP_C_SWCOORD         (0x0040)
 #define ACPI_PDC_SMP_T_SWCOORD         (0x0080)
 #define ACPI_PDC_C_C1_FFH              (0x0100)
+#define ACPI_PDC_C_C2C3_FFH            (0x0200)
 
 #define ACPI_PDC_EST_CAPABILITY_SMP    (ACPI_PDC_SMP_C1PT | \
                                         ACPI_PDC_C_C1_HALT | \
@@ -25,6 +26,8 @@
 
 #define ACPI_PDC_C_CAPABILITY_SMP      (ACPI_PDC_SMP_C2C3 | \
                                         ACPI_PDC_SMP_C1PT | \
-                                        ACPI_PDC_C_C1_HALT)
+                                        ACPI_PDC_C_C1_HALT | \
+                                        ACPI_PDC_C_C1_FFH | \
+                                        ACPI_PDC_C_C2C3_FFH)
 
 #endif                         /* __PDC_INTEL_H__ */

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.