Re: [PATCH 2/2] KVM: SVM: Add support for Virtual SPEC_CTRL

2020-12-22 Thread Babu Moger
On 12/7/20 5:06 PM, Jim Mattson wrote: > On Mon, Dec 7, 2020 at 2:38 PM Babu Moger wrote: >> >> Newer AMD processors have a feature to virtualize the use of the >> SPEC_CTRL MSR. When supported, the SPEC_CTRL MSR is automatically >> virtualized and no longer requires hypervisor intervention.

Re: [PATCH 2/2] KVM: SVM: Add support for Virtual SPEC_CTRL

2020-12-10 Thread Babu Moger
>>> maintainers ; kyung.min.p...@intel.com; LKML >> ker...@vger.kernel.org>; Krish Sadhukhan ; H . >>> Peter Anvin ; mgr...@linux.intel.com; Vitaly Kuznetsov >>> ; Phillips, Kim ; Huang2, Wei >>> >>> Subject: Re: [PATCH 2/2] KVM: SVM: Add support for V

RE: [PATCH 2/2] KVM: SVM: Add support for Virtual SPEC_CTRL

2020-12-10 Thread Babu Moger
s ; > Peter Zijlstra ; Sean Christopherson > ; Joerg Roedel ; the arch/x86 > maintainers ; kyung.min.p...@intel.com; LKML ker...@vger.kernel.org>; Krish Sadhukhan ; H . > Peter Anvin ; mgr...@linux.intel.com; Vitaly Kuznetsov > ; Phillips, Kim ; Huang2, Wei > > Subject: Re: [PAT

Re: [PATCH 2/2] KVM: SVM: Add support for Virtual SPEC_CTRL

2020-12-10 Thread Jim Mattson
an ; H . > > Peter Anvin ; mgr...@linux.intel.com; Vitaly Kuznetsov > > ; Phillips, Kim ; Huang2, Wei > > > > Subject: Re: [PATCH 2/2] KVM: SVM: Add support for Virtual SPEC_CTRL > > > > On Mon, Dec 7, 2020 at 2:38 PM Babu Moger wrote: > > > > >

Re: [PATCH 2/2] KVM: SVM: Add support for Virtual SPEC_CTRL

2020-12-10 Thread Babu Moger
Sean, Your response did not land in my mailbox for some reason. Replying using In-reply-to option. >Hrm, is MSR_AMD64_VIRT_SPEC_CTRL only for SSBD? Should that MSR be renamed to >avoid confusion with the new form of VIRT_SPEC_CTRL? We can rename it to MSR_AMD64_VIRT_SSBD_SPEC_CTRL if that is

Re: [PATCH 2/2] KVM: SVM: Add support for Virtual SPEC_CTRL

2020-12-07 Thread Sean Christopherson
On Mon, Dec 07, 2020, Babu Moger wrote: > Newer AMD processors have a feature to virtualize the use of the > SPEC_CTRL MSR. When supported, the SPEC_CTRL MSR is automatically > virtualized and no longer requires hypervisor intervention. Hrm, is MSR_AMD64_VIRT_SPEC_CTRL only for SSBD? Should that

Re: [PATCH 2/2] KVM: SVM: Add support for Virtual SPEC_CTRL

2020-12-07 Thread Jim Mattson
On Mon, Dec 7, 2020 at 2:38 PM Babu Moger wrote: > > Newer AMD processors have a feature to virtualize the use of the > SPEC_CTRL MSR. When supported, the SPEC_CTRL MSR is automatically > virtualized and no longer requires hypervisor intervention. > > This feature is detected via CPUID function