On Fri, 11 Oct 2024 14:43:49 -0700, Jim Mattson wrote: > Prior to Zen4, AMD's IBPB did not flush the RAS (or, in Intel > terminology, the RSB). Hence, the older version of AMD's IBPB was not > equivalent to Intel's IBPB. However, KVM has been treating them as > equivalent, synthesizing Intel's CPUID.(EAX=7,ECX=0):EDX[bit 26] on any > platform that supports the synthetic features X86_FEATURE_IBPB and > X86_FEATURE_IBRS. > > [...] Applied to kvm-x86 misc, thanks! [1/4] x86/cpufeatures: Clarify semantics of X86_FEATURE_IBPB https://github.com/kvm-x86/linux/commit/43801a0dbb38 [2/4] x86/cpufeatures: Define X86_FEATURE_AMD_IBPB_RET https://github.com/kvm-x86/linux/commit/99d252e3ae3e [3/4] KVM: x86: Advertise AMD_IBPB_RET to userspace https://github.com/kvm-x86/linux/commit/df9328b0ef66 [4/4] KVM: x86: AMD's IBPB is not equivalent to Intel's IBPB https://github.com/kvm-x86/linux/commit/d66e266427e4 -- https://github.com/kvm-x86/linux/tree/next