WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH 3/4] ACPI: Backport to support ACPI throttling s/w co

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH 3/4] ACPI: Backport to support ACPI throttling s/w coordination
From: "Wei, Gang" <gang.wei@xxxxxxxxx>
Date: Thu, 26 Feb 2009 21:03:43 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: 'Keir Fraser' <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Thu, 26 Feb 2009 05:05:35 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcmYEqcjjnV/aEzZTGaTP5iKJhm+sw==
Thread-topic: [PATCH 3/4] ACPI: Backport to support ACPI throttling s/w coordination
ACPI: Backport to support ACPI throttling s/w coordination

commit 3abbd337c60591305cbfeb984ff2922c175be37f
Author: Zhao Yakui <yakui.zhao@xxxxxxxxx>
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@xxxxxxxxx>
    Signed-off-by: Len Brown <len.brown@xxxxxxxxx>

Signed-off-by: Wei Gang <gang.wei@xxxxxxxxx>

diff -r 4d75cddbbe14 arch/i386/kernel/acpi/processor.c
--- a/arch/i386/kernel/acpi/processor.c Tue Feb 24 19:54:08 2009 +0800
+++ b/arch/i386/kernel/acpi/processor.c Tue Feb 24 20:06:20 2009 +0800
@@ -46,6 +46,12 @@ static void init_intel_pdc(struct acpi_p
        buf[1] = 1;
        buf[2] = ACPI_PDC_C_CAPABILITY_SMP;
 
+       /*
+        * The default of PDC_SMP_T_SWCOORD bit is set for intel x86 cpu so
+        * that OSPM is capable of native ACPI throttling software
+        * coordination using BIOS supplied _TSD info.
+        */
+       buf[2] |= ACPI_PDC_SMP_T_SWCOORD;
        if (cpu_has(c, X86_FEATURE_EST))
                buf[2] |= ACPI_PDC_EST_CAPABILITY_SWSMP;
 

Attachment: 3-backport-T-swcoord.patch
Description: 3-backport-T-swcoord.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH 3/4] ACPI: Backport to support ACPI throttling s/w coordination, Wei, Gang <=