From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan Beulich" Subject: [PATCH] x86/AMD: don't set ARAT feature flag on family F CPUs Date: Thu, 19 May 2011 13:09:09 +0100 Message-ID: <4DD52485020000780004220B@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part8DA11875.1__=" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" Cc: Borislav Petkov List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part8DA11875.1__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Following Linux commit 14fb57dccb6e1defe9f89a66f548fcb24c374c1d from Borislav Petkov. Signed-off-by: Jan Beulich --- a/xen/arch/x86/cpu/amd.c +++ b/xen/arch/x86/cpu/amd.c @@ -475,7 +475,7 @@ static void __devinit init_amd(struct cp #endif =20 /* As a rule processors have APIC timer running in deep C states = */ - if (c->x86 >=3D 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); =20 /* Prevent TSC drift in non single-processor, single-core = platforms. */ --=__Part8DA11875.1__= Content-Type: text/plain; name="x86-AMD-ARAT-adjust.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="x86-AMD-ARAT-adjust.patch" Following Linux commit 14fb57dccb6e1defe9f89a66f548fcb24c374c1d from=0ABori= slav Petkov.=0A=0ASigned-off-by: Jan Beulich =0A=0A---= a/xen/arch/x86/cpu/amd.c=0A+++ b/xen/arch/x86/cpu/amd.c=0A@@ -475,7 = +475,7 @@ static void __devinit init_amd(struct cp=0A #endif=0A =0A /* = As a rule processors have APIC timer running in deep C states */=0A- if = (c->x86 >=3D 0xf && !cpu_has_amd_erratum(c, AMD_ERRATUM_400))=0A+ if = (c->x86 > 0xf && !cpu_has_amd_erratum(c, AMD_ERRATUM_400))=0A = set_bit(X86_FEATURE_ARAT, c->x86_capability);=0A =0A /* Prevent TSC = drift in non single-processor, single-core platforms. */=0A --=__Part8DA11875.1__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=__Part8DA11875.1__=--