This series adds definition of some missing AMD features in 0x80000008_EBX and 0x80000021_EAX functions. It also gives an opportunity to expose these features to userspace. Related discussion in QEMU: https://lore.kernel.org/kvm/24462567-e486-4b7f-b869-a1fab48d739c@xxxxxxxxxxxxxx/ v3 -> v2: * rebased onto the newest master * AMD_IBPB_RET was removed because all work had been done in 71dd5d5300d2 * renamed "IBRS provides same mode protection" bit v2 -> v1: * fixed the bug in the FSRC definition v2: https://lore.kernel.org/kvm/20241126094424.943192-1-davydov-max@xxxxxxxxxxxxxx/ v1: https://lore.kernel.org/kvm/20241113133042.702340-1-davydov-max@xxxxxxxxxxxxxx/ Maksim Davydov (2): x86: KVM: Advertise FSRS and FSRC on AMD to userspace x86: KVM: Advertise AMD's speculation control features arch/x86/include/asm/cpufeatures.h | 5 +++++ arch/x86/kvm/cpuid.c | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) -- 2.34.1