ia64/linux-2.6.18-xen.hg

changeset 575:9829b72f4a99

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@intel.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Jun 16 10:36:24 2008 +0100 (2008-06-16)
parents 32a80b65ddad
children 4b600eae1fb7
files include/acpi/pdc_intel.h
line diff
     1.1 --- a/include/acpi/pdc_intel.h	Fri Jun 13 09:54:50 2008 +0100
     1.2 +++ b/include/acpi/pdc_intel.h	Mon Jun 16 10:36:24 2008 +0100
     1.3 @@ -13,6 +13,7 @@
     1.4  #define ACPI_PDC_SMP_C_SWCOORD		(0x0040)
     1.5  #define ACPI_PDC_SMP_T_SWCOORD		(0x0080)
     1.6  #define ACPI_PDC_C_C1_FFH		(0x0100)
     1.7 +#define ACPI_PDC_C_C2C3_FFH		(0x0200)
     1.8  
     1.9  #define ACPI_PDC_EST_CAPABILITY_SMP	(ACPI_PDC_SMP_C1PT | \
    1.10  					 ACPI_PDC_C_C1_HALT | \
    1.11 @@ -25,6 +26,8 @@
    1.12  
    1.13  #define ACPI_PDC_C_CAPABILITY_SMP	(ACPI_PDC_SMP_C2C3 | \
    1.14  					 ACPI_PDC_SMP_C1PT | \
    1.15 -					 ACPI_PDC_C_C1_HALT)
    1.16 +					 ACPI_PDC_C_C1_HALT | \
    1.17 +					 ACPI_PDC_C_C1_FFH | \
    1.18 +					 ACPI_PDC_C_C2C3_FFH)
    1.19  
    1.20  #endif				/* __PDC_INTEL_H__ */