Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757020AbbKRUsJ (ORCPT ); Wed, 18 Nov 2015 15:48:09 -0500 Received: from mx2.suse.de ([195.135.220.15]:37437 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756997AbbKRUsG (ORCPT ); Wed, 18 Nov 2015 15:48:06 -0500 Date: Wed, 18 Nov 2015 21:47:52 +0100 From: Borislav Petkov To: Andy Lutomirski Cc: Boris Ostrovsky , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , David Vrabel , Konrad Rzeszutek Wilk , Andrew Lutomirski , "linux-kernel@vger.kernel.org" , "xen-devel@lists.xenproject.org" , Linux Virtualization Subject: Re: [PATCH 1/3] x86/xen: Avoid fast syscall path for Xen PV guests Message-ID: <20151118204752.GF4451@pd.tnic> References: <1447877179-2775-1-git-send-email-boris.ostrovsky@oracle.com> <1447877179-2775-2-git-send-email-boris.ostrovsky@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1247 Lines: 32 On Wed, Nov 18, 2015 at 12:21:56PM -0800, Andy Lutomirski wrote: > > diff --git a/arch/x86/include/asm/cpufeature.h b/arch/x86/include/asm/cpufeature.h > > index e4f8010..0e4fe5b 100644 > > --- a/arch/x86/include/asm/cpufeature.h > > +++ b/arch/x86/include/asm/cpufeature.h > > @@ -216,6 +216,7 @@ > > #define X86_FEATURE_PAUSEFILTER ( 8*32+13) /* AMD filtered pause intercept */ > > #define X86_FEATURE_PFTHRESHOLD ( 8*32+14) /* AMD pause filter threshold */ > > #define X86_FEATURE_VMMCALL ( 8*32+15) /* Prefer vmmcall to vmcall */ > > +#define X86_FEATURE_XENPV ( 8*32+16) /* Xen paravirtual guest */ > > > > This bit is highly magical and I think we need Borislav's ack. Yeah, that should be #define X86_FEATURE_XENPV ( 8*32+16) /* "" Xen paravirtual guest */ ^^ note the empty "". This prevents it from appearing in /proc/cpuinfo. -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/