Re: [PATCH 1/2] x86/cpufeatures: Add the Virtual SPEC_CTRL feature

2020-12-22 Thread Babu Moger
On 12/22/20 11:41 AM, Sean Christopherson wrote: > On Tue, Dec 22, 2020, Babu Moger wrote: >> >> On 12/9/20 5:11 PM, Jim Mattson wrote: >>> On Wed, Dec 9, 2020 at 2:39 PM Babu Moger wrote: On 12/7/20 5:22 PM, Jim Mattson wrote: > On Mon, Dec 7, 2020 at 2:38 PM Babu Moger wrote:

Re: [PATCH 1/2] x86/cpufeatures: Add the Virtual SPEC_CTRL feature

2020-12-22 Thread Sean Christopherson
On Tue, Dec 22, 2020, Babu Moger wrote: > > On 12/9/20 5:11 PM, Jim Mattson wrote: > > On Wed, Dec 9, 2020 at 2:39 PM Babu Moger wrote: > >> > >> On 12/7/20 5:22 PM, Jim Mattson wrote: > >>> On Mon, Dec 7, 2020 at 2:38 PM Babu Moger wrote: > diff --git a/arch/x86/include/asm/cpufeatures.h

Re: [PATCH 1/2] x86/cpufeatures: Add the Virtual SPEC_CTRL feature

2020-12-22 Thread Babu Moger
On 12/9/20 5:11 PM, Jim Mattson wrote: > On Wed, Dec 9, 2020 at 2:39 PM Babu Moger wrote: >> >> >> >> On 12/7/20 5:22 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. This

Re: [PATCH 1/2] x86/cpufeatures: Add the Virtual SPEC_CTRL feature

2020-12-09 Thread Jim Mattson
On Wed, Dec 9, 2020 at 2:39 PM Babu Moger wrote: > > > > On 12/7/20 5:22 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. This feature is identified via CPUID

Re: [PATCH 1/2] x86/cpufeatures: Add the Virtual SPEC_CTRL feature

2020-12-09 Thread Babu Moger
On 12/7/20 5:22 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. This feature is identified via CPUID 0x800A_EDX[20]. When present, >> the SPEC_CTRL MSR is automatically

Re: [PATCH 1/2] x86/cpufeatures: Add the Virtual SPEC_CTRL feature

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. This feature is identified via CPUID 0x800A_EDX[20]. When present, > the SPEC_CTRL MSR is automatically virtualized and no longer requires > hypervisor

[PATCH 1/2] x86/cpufeatures: Add the Virtual SPEC_CTRL feature

2020-12-07 Thread Babu Moger
Newer AMD processors have a feature to virtualize the use of the SPEC_CTRL MSR. This feature is identified via CPUID 0x800A_EDX[20]. When present, the SPEC_CTRL MSR is automatically virtualized and no longer requires hypervisor intervention. Signed-off-by: Babu Moger ---