From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH] x86/Intel: don't probe CPUID faulting on family 0xf CPUs Date: Mon, 11 Nov 2013 09:41:00 +0000 Message-ID: References: <52809F870200007800101A09@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Vfnzb-0007CX-As for xen-devel@lists.xenproject.org; Mon, 11 Nov 2013 09:41:11 +0000 Received: by mail-we0-f181.google.com with SMTP id w61so974460wes.40 for ; Mon, 11 Nov 2013 01:41:09 -0800 (PST) In-Reply-To: <52809F870200007800101A09@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich , xen-devel Cc: Jinsong Liu , Jun Nakajima List-Id: xen-devel@lists.xenproject.org On 11/11/2013 08:12, "Jan Beulich" wrote: > 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 Acked-by: Keir Fraser > --- a/xen/arch/x86/cpu/intel.c > +++ b/xen/arch/x86/cpu/intel.c > @@ -204,7 +204,7 @@ static void __devinit init_intel(struct > detect_ht(c); > } > > - if (smp_processor_id() == 0) { > + if (c == &boot_cpu_data && c->x86 == 6) { > if (probe_intel_cpuid_faulting()) > set_bit(X86_FEATURE_CPUID_FAULTING, c->x86_capability); > } else if (boot_cpu_has(X86_FEATURE_CPUID_FAULTING)) { > > >