[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-4.1-testing] x86/AMD: don't set ARAT feature flag on family F CPUs



# HG changeset patch
# User Jan Beulich <jbeulich@xxxxxxxxxx>
# Date 1305895805 -3600
# Node ID cf1089b7d89b2b392c3b065839da7e550d08a7ca
# Parent  b2d0c08b99b5a4115c67bf2188391c59eb9dcd20
x86/AMD: don't set ARAT feature flag on family F CPUs

Following Linux commit 14fb57dccb6e1defe9f89a66f548fcb24c374c1d from
Borislav Petkov.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
xen-unstable changeset:   23356:c8f00ee51e15
xen-unstable date:        Fri May 20 09:11:54 2011 +0100
---


diff -r b2d0c08b99b5 -r cf1089b7d89b xen/arch/x86/cpu/amd.c
--- a/xen/arch/x86/cpu/amd.c    Fri May 20 13:49:36 2011 +0100
+++ b/xen/arch/x86/cpu/amd.c    Fri May 20 13:50:05 2011 +0100
@@ -609,7 +609,7 @@
 #endif
 
        /* As a rule processors have APIC timer running in deep C states */
-       if (c->x86 >= 0xf && !cpu_has_amd_erratum(c, AMD_ERRATUM_400))
+       if (c->x86 > 0xf && !cpu_has_amd_erratum(c, AMD_ERRATUM_400))
                set_bit(X86_FEATURE_ARAT, c->x86_capability);
 
        /* Prevent TSC drift in non single-processor, single-core platforms. */

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.