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 1/4] ACPI: Backport missing part for T-State MSR supp

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH 1/4] ACPI: Backport missing part for T-State MSR support
From: "Wei, Gang" <gang.wei@xxxxxxxxx>
Date: Thu, 26 Feb 2009 21:03:12 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: 'Keir Fraser' <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Thu, 26 Feb 2009 05:04:13 -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: AcmYEpTHEVKbGsVARVGU0hZ0XRoklQ==
Thread-topic: [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@xxxxxxxxx>
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@xxxxxxxxx>
    Signed-off-by: Li Shaohua <shaohua.li@xxxxxxxxx>
    Signed-off-by: Len Brown <len.brown@xxxxxxxxx>

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

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;

Attachment: 1-backport-T_FFH.patch
Description: 1-backport-T_FFH.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 1/4] ACPI: Backport missing part for T-State MSR support, Wei, Gang <=