summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorZhao Yakui <yakui.zhao@intel.com>2007-11-15 09:06:36 (GMT)
committerLen Brown <len.brown@intel.com>2007-11-17 02:46:25 (GMT)
commitf79f06ab9f86d7203006d2ec8992ac80df36a34e (patch)
treee7436b83e6315c1c28dd6cbe7fac6c0decd4ecea /arch
parent0ac3c571315a53c14d2733564f14ebdb911fe903 (diff)
downloadlinux-fsl-qoriq-f79f06ab9f86d7203006d2ec8992ac80df36a34e.tar.xz
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/acpi/processor.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kernel/acpi/processor.c b/arch/x86/kernel/acpi/processor.c
index f63e5ff..a25db51 100644
--- a/arch/x86/kernel/acpi/processor.c
+++ b/arch/x86/kernel/acpi/processor.c
@@ -49,6 +49,9 @@ static void init_intel_pdc(struct acpi_processor *pr, struct cpuinfo_x86 *c)
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;