From: "Jan Beulich" Subject: [PATCH] x86/Intel: don't probe CPUID faulting on family 0xf CPUs Date: Mon, 11 Nov 2013 08:12:39 +0000 Message-ID: <52809F870200007800101A09@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part4C7F9367.1__=" Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Vfmvv-0003tR-5K for xen-devel@lists.xenproject.org; Mon, 11 Nov 2013 08:33:19 +0000 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel Cc: Jinsong Liu , Keir Fraser , Jun Nakajima 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. --=__Part4C7F9367.1__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline These are known to not support the feature, so we can save ourselves from emitting the resulting #GP fault recovery related message (which might worry people looking at the logs). Signed-off-by: Jan Beulich --- a/xen/arch/x86/cpu/intel.c +++ b/xen/arch/x86/cpu/intel.c @@ -204,7 +204,7 @@ static void __devinit init_intel(struct=20 detect_ht(c); } =20 - if (smp_processor_id() =3D=3D 0) { + if (c =3D=3D &boot_cpu_data && c->x86 =3D=3D 6) { if (probe_intel_cpuid_faulting()) set_bit(X86_FEATURE_CPUID_FAULTING, c->x86_capabili= ty); } else if (boot_cpu_has(X86_FEATURE_CPUID_FAULTING)) { --=__Part4C7F9367.1__= Content-Type: text/plain; name="x86-CPUID-faulting-skip-FamF.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="x86-CPUID-faulting-skip-FamF.patch" x86/Intel: don't probe CPUID faulting on family 0xf CPUs=0A=0AThese are = known to not support the feature, so we can save ourselves=0Afrom emitting = the resulting #GP fault recovery related message (which=0Amight worry = people looking at the logs).=0A=0ASigned-off-by: Jan Beulich =0A=0A--- a/xen/arch/x86/cpu/intel.c=0A+++ b/xen/arch/x86/cpu/intel.c= =0A@@ -204,7 +204,7 @@ static void __devinit init_intel(struct =0A = detect_ht(c);=0A }=0A =0A- if (smp_processor_id() =3D=3D 0) = {=0A+ if (c =3D=3D &boot_cpu_data && c->x86 =3D=3D 6) {=0A if = (probe_intel_cpuid_faulting())=0A set_bit(X86_FEATURE= _CPUID_FAULTING, c->x86_capability);=0A } else if (boot_cpu_has(X86= _FEATURE_CPUID_FAULTING)) {=0A --=__Part4C7F9367.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.xen.org http://lists.xen.org/xen-devel --=__Part4C7F9367.1__=--