From: Borislav Petkov Subject: Re: [PATCH v2 2/4] x86/vmware: Add a header file for hypercall definitions Date: Tue, 27 Aug 2019 15:10:29 +0200 Message-ID: <20190827131029.GF29752@zn.tnic> References: <20190823081316.28478-1-thomas_os@shipmail.org> <20190823081316.28478-3-thomas_os@shipmail.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Content-Disposition: inline In-Reply-To: <20190823081316.28478-3-thomas_os@shipmail.org> Sender: linux-kernel-owner@vger.kernel.org To: Thomas =?utf-8?Q?Hellstr=C3=B6m_=28VMware=29?= Cc: linux-kernel@vger.kernel.org, pv-drivers@vmware.com, linux-graphics-maintainer@vmware.com, Thomas Hellstrom , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, dri-devel@lists.freedesktop.org, Doug Covelli List-Id: dri-devel@lists.freedesktop.org On Fri, Aug 23, 2019 at 10:13:14AM +0200, Thomas Hellström (VMware) wrote: > From: Thomas Hellstrom > > The new header is intended to be used by drivers using the backdoor. > Follow the kvm example using alternatives self-patching to > choose between vmcall, vmmcall and io instructions. > > Also define two new CPU feature flags to indicate hypervisor support > for vmcall- and vmmcall instructions. I could use some of the explanation why we need two feature flags added here from: https://lkml.kernel.org/r/970d2bb6-ab29-315f-f5d8-5d11095859af@shipmail.org Thx. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.