Re: [PATCH] x86: KVM: Add common feature flag for AMD's PSFD

From: Sean Christopherson
Date: Fri Mar 24 2023 - 19:39:26 EST


On Tue, 24 Jan 2023 19:45:19 +0000, Sean Christopherson wrote:
> Use a common X86_FEATURE_* flag for AMD's PSFD, and suppress it from
> /proc/cpuinfo via the standard method of an empty string instead of
> hacking in a one-off "private" #define in KVM. The request that led to
> KVM defining its own flag was really just that the feature not show up
> in /proc/cpuinfo, and additional patches+discussions in the interim have
> clarified that defining flags in cpufeatures.h purely so that KVM can
> advertise features to userspace is ok so long as the kernel already uses
> a word to track the associated CPUID leaf.
>
> [...]

Applied to kvm-x86 misc, thanks!

[1/1] x86: KVM: Add common feature flag for AMD's PSFD
https://github.com/kvm-x86/linux/commit/3d8f61bf8bcd

--
https://github.com/kvm-x86/linux/tree/next
https://github.com/kvm-x86/linux/tree/fixes