mbox series

[v2,0/2] x86: KVM: Add missing AMD features

Message ID 20241126094424.943192-1-davydov-max@yandex-team.ru (mailing list archive)
Headers show
Series x86: KVM: Add missing AMD features | expand

Message

Maksim Davydov Nov. 26, 2024, 9:44 a.m. UTC
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@yandex-team.ru/

v2 -> v1:
* fixed the bug in the FSRC definition

v1:
https://lore.kernel.org/kvm/20241113133042.702340-1-davydov-max@yandex-team.ru/

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(-)