Wei, Gang
2009-Feb-26 13:03 UTC
[Xen-devel] [PATCH 1/4] ACPI: Backport missing part for T-State MSR support
ACPI: Backport missing part for T-State MSR support Part of below kernel commit was missed while packporting T-State support. Do it again. commit f79f06ab9f86d7203006d2ec8992ac80df36a34e Author: Zhao Yakui <yakui.zhao@intel.com> Date: Thu Nov 15 17:06:36 2007 +0800 ACPI: Enable MSR (FixedHW) support for T-States Add throttling control via MSR when T-states uses the FixHW Control Status registers. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> Signed-off-by: Li Shaohua <shaohua.li@intel.com> Signed-off-by: Len Brown <len.brown@intel.com> Signed-off-by: Wei Gang <gang.wei@intel.com> diff -r 3aa9b8a7876b arch/i386/kernel/acpi/processor.c --- a/arch/i386/kernel/acpi/processor.c Fri Feb 06 12:01:56 2009 +0000 +++ b/arch/i386/kernel/acpi/processor.c Tue Feb 24 19:45:26 2009 +0800 @@ -49,6 +49,9 @@ static void init_intel_pdc(struct acpi_p if (cpu_has(c, X86_FEATURE_EST)) buf[2] |= ACPI_PDC_EST_CAPABILITY_SWSMP; + if (cpu_has(c, X86_FEATURE_ACPI)) + buf[2] |= ACPI_PDC_T_FFH; + obj->type = ACPI_TYPE_BUFFER; obj->buffer.length = 12; obj->buffer.pointer = (u8 *) buf; _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel