ia64/linux-2.6.18-xen.hg

changeset 798:b02a90bf5bbc

ACPI: Backport missing part for T-State MSR support

Part of below kernel commit was missed while packporting T-State
support.

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>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Mar 02 10:53:59 2009 +0000 (2009-03-02)
parents 2f1b770d84e5
children c86e5fde3fb1
files arch/i386/kernel/acpi/processor.c
line diff
     1.1 --- a/arch/i386/kernel/acpi/processor.c	Tue Feb 17 11:31:13 2009 +0000
     1.2 +++ b/arch/i386/kernel/acpi/processor.c	Mon Mar 02 10:53:59 2009 +0000
     1.3 @@ -49,6 +49,9 @@ static void init_intel_pdc(struct acpi_p
     1.4  	if (cpu_has(c, X86_FEATURE_EST))
     1.5  		buf[2] |= ACPI_PDC_EST_CAPABILITY_SWSMP;
     1.6  
     1.7 +	if (cpu_has(c, X86_FEATURE_ACPI))
     1.8 +		buf[2] |= ACPI_PDC_T_FFH;
     1.9 +
    1.10  	obj->type = ACPI_TYPE_BUFFER;
    1.11  	obj->buffer.length = 12;
    1.12  	obj->buffer.pointer = (u8 *) buf;