Re: [PATCH v3 3/3] KVM: x86: Move MPK feature detection to common code

2020-05-12 Thread Babu Moger
On 5/12/20 12:28 PM, Sean Christopherson wrote: > On Tue, May 12, 2020 at 09:58:19AM -0700, Jim Mattson wrote: >> On Tue, May 12, 2020 at 8:12 AM Babu Moger wrote: >>> >>> >>> >>> On 5/11/20 6:51 PM, Jim Mattson wrote: On Mon, May 11, 2020 at 4:33 PM Babu Moger wrote: > > Both

Re: [PATCH v3 3/3] KVM: x86: Move MPK feature detection to common code

2020-05-12 Thread Sean Christopherson
On Tue, May 12, 2020 at 09:58:19AM -0700, Jim Mattson wrote: > On Tue, May 12, 2020 at 8:12 AM Babu Moger wrote: > > > > > > > > On 5/11/20 6:51 PM, Jim Mattson wrote: > > > On Mon, May 11, 2020 at 4:33 PM Babu Moger wrote: > > >> > > >> Both Intel and AMD support (MPK) Memory Protection Key

Re: [PATCH v3 3/3] KVM: x86: Move MPK feature detection to common code

2020-05-12 Thread Jim Mattson
On Tue, May 12, 2020 at 8:12 AM Babu Moger wrote: > > > > On 5/11/20 6:51 PM, Jim Mattson wrote: > > On Mon, May 11, 2020 at 4:33 PM Babu Moger wrote: > >> > >> Both Intel and AMD support (MPK) Memory Protection Key feature. > >> Move the feature detection from VMX to the common code. It should

Re: [PATCH v3 3/3] KVM: x86: Move MPK feature detection to common code

2020-05-12 Thread Babu Moger
On 5/11/20 6:51 PM, Jim Mattson wrote: > On Mon, May 11, 2020 at 4:33 PM Babu Moger wrote: >> >> Both Intel and AMD support (MPK) Memory Protection Key feature. >> Move the feature detection from VMX to the common code. It should >> work for both the platforms now. >> >> Signed-off-by: Babu

Re: [PATCH v3 3/3] KVM: x86: Move MPK feature detection to common code

2020-05-11 Thread Jim Mattson
On Mon, May 11, 2020 at 4:33 PM Babu Moger wrote: > > Both Intel and AMD support (MPK) Memory Protection Key feature. > Move the feature detection from VMX to the common code. It should > work for both the platforms now. > > Signed-off-by: Babu Moger > --- > arch/x86/kvm/cpuid.c |4 +++- >

[PATCH v3 3/3] KVM: x86: Move MPK feature detection to common code

2020-05-11 Thread Babu Moger
Both Intel and AMD support (MPK) Memory Protection Key feature. Move the feature detection from VMX to the common code. It should work for both the platforms now. Signed-off-by: Babu Moger --- arch/x86/kvm/cpuid.c |4 +++- arch/x86/kvm/vmx/vmx.c |4 2 files changed, 3