From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Lendacky Subject: Re: [RFC PATCH 0/2] KVM: MSR-based features Date: Thu, 8 Feb 2018 17:03:04 -0600 Message-ID: <4732839a-48bb-9183-be4e-0b7233094265@amd.com> References: <20180208225833.22074.25995.stgit@tlendack-t1.amdoffice.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Joerg Roedel , Borislav Petkov , Thomas Gleixner , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= To: x86@kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Paolo Bonzini Return-path: In-Reply-To: <20180208225833.22074.25995.stgit@tlendack-t1.amdoffice.net> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 2/8/2018 4:58 PM, Tom Lendacky wrote: > The following series implements support within KVM for MSR-based features. > The first patch creates the MSR-based feature framework used to initialize > and retrieve the MSR-based features. The second patch adds support that > will allow a guest to determine if the LFENCE instruction is serializing > on AMD processors. > > This series is based on the next branch. > Paolo, Let me know if this is the direction you were thinking of for MSR-based features. Thanks, Tom > --- > > Tom Lendacky (2): > KVM: x86: Add a framework for supporting MSR-based features > KVM: SVM: Add MSR feature support for serializing LFENCE > > > arch/x86/include/asm/kvm_host.h | 1 > arch/x86/kvm/svm.c | 16 +++++ > arch/x86/kvm/x86.c | 114 ++++++++++++++++++++++++++++++++++++++- > include/uapi/linux/kvm.h | 1 > 4 files changed, 130 insertions(+), 2 deletions(-) >