ia64/linux-2.6.18-xen.hg

changeset 800:ae2cf9ef03ac

ACPI: Backport to support ACPI throttling s/w coordination

commit 3abbd337c60591305cbfeb984ff2922c175be37f
Author: Zhao Yakui <yakui.zhao@intel.com>
Date: Mon Jan 28 13:53:21 2008 +0800

ACPI: Set _PSD ACPI_PDC_SMP_T_SWCOORD

The ACPI_PDC_SMP_T_SWCOORD bit is set by and OS that is capable of
native ACPI throttling software coordination for mutli-processors
using the _TSD information.

Signed-off-by: Zhao Yakui <yakui.zhao@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:54:44 2009 +0000 (2009-03-02)
parents c86e5fde3fb1
children 5b779f810966
files arch/i386/kernel/acpi/processor.c
line diff
     1.1 --- a/arch/i386/kernel/acpi/processor.c	Mon Mar 02 10:54:26 2009 +0000
     1.2 +++ b/arch/i386/kernel/acpi/processor.c	Mon Mar 02 10:54:44 2009 +0000
     1.3 @@ -46,6 +46,12 @@ static void init_intel_pdc(struct acpi_p
     1.4  	buf[1] = 1;
     1.5  	buf[2] = ACPI_PDC_C_CAPABILITY_SMP;
     1.6  
     1.7 +	/*
     1.8 +	 * The default of PDC_SMP_T_SWCOORD bit is set for intel x86 cpu so
     1.9 +	 * that OSPM is capable of native ACPI throttling software
    1.10 +	 * coordination using BIOS supplied _TSD info.
    1.11 +	 */
    1.12 +	buf[2] |= ACPI_PDC_SMP_T_SWCOORD;
    1.13  	if (cpu_has(c, X86_FEATURE_EST))
    1.14  		buf[2] |= ACPI_PDC_EST_CAPABILITY_SWSMP;
    1.15