Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752675AbdHPRgv (ORCPT ); Wed, 16 Aug 2017 13:36:51 -0400 Received: from mx2.suse.de ([195.135.220.15]:53402 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752635AbdHPRgt (ORCPT ); Wed, 16 Aug 2017 13:36:49 -0400 Date: Wed, 16 Aug 2017 19:36:45 +0200 From: Borislav Petkov To: Janakarajan Natarajan Cc: kvm@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org, Paolo Bonzini , Radim Krcmar , Joerg Roedel , Andy Lutomirski , Tony Luck , Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , Yazen Ghannam Subject: Re: [PATCH 1/2] KVM: SVM: Add Virtual GIF feature definition Message-ID: <20170816173644.psnohb6g2bfweewv@pd.tnic> References: <48751b833f2833bf84b899e8abef0bdc111ea456.1502896608.git.Janakarajan.Natarajan@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <48751b833f2833bf84b899e8abef0bdc111ea456.1502896608.git.Janakarajan.Natarajan@amd.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1023 Lines: 31 On Wed, Aug 16, 2017 at 10:54:49AM -0500, Janakarajan Natarajan wrote: > Define a new cpufeature definition for Virtual GIF. "Define ... definition" ? > > Signed-off-by: Janakarajan Natarajan > --- > arch/x86/include/asm/cpufeatures.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/x86/include/asm/cpufeatures.h b/arch/x86/include/asm/cpufeatures.h > index ca3c48c..58e7211 100644 > --- a/arch/x86/include/asm/cpufeatures.h > +++ b/arch/x86/include/asm/cpufeatures.h > @@ -287,6 +287,7 @@ > #define X86_FEATURE_PFTHRESHOLD (15*32+12) /* pause filter threshold */ > #define X86_FEATURE_AVIC (15*32+13) /* Virtual Interrupt Controller */ > #define X86_FEATURE_VIRTUAL_VMLOAD_VMSAVE (15*32+15) /* Virtual VMLOAD VMSAVE */ > +#define X86_FEATURE_V_GIF (15*32+16) /* Virtual GIF */ PPR calls it vGIF so make that X86_FEATURE_VGIF. Thanks. -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --