Re: [PATCH] KVM: x86: Expose Predictive Store Forwarding Disable

From: Babu Moger
Date: Thu Sep 30 2021 - 10:13:01 EST




On 9/30/21 8:41 AM, Paolo Bonzini wrote:
> On 29/09/21 22:27, Babu Moger wrote:
>>
>> On 9/28/21 11:04 AM, Paolo Bonzini wrote:
>>> On 24/09/21 03:15, Babu Moger wrote:
>>>>    arch/x86/include/asm/cpufeatures.h |    1 +
>>>>    arch/x86/kvm/cpuid.c               |    2 +-
>>>>    2 files changed, 2 insertions(+), 1 deletion(-)
>>> Queued, with a private #define instead of the one in cpufeatures.h:
>> Thanks Paolo. Don't we need change in guest_has_spec_ctrl_msr?
>
> Not strictly necessary unless you expect processors to have PSFD and not
> SSBD; but yes it's cleaner.

It is always both SSBD and PSFD together. We are good.Thanks

Tested-By: Babu Moger <babu.moger@xxxxxxx>