public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Advertise CPUID for new instructions in Clearwater Forest
@ 2024-11-04  6:35 Tao Su
  2024-11-04  6:35 ` [PATCH 1/4] x86: KVM: Advertise SHA512 CPUID to userspace Tao Su
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Tao Su @ 2024-11-04  6:35 UTC (permalink / raw)
  To: kvm, x86
  Cc: seanjc, pbonzini, bp, dave.hansen, chao.gao, xiaoyao.li, jiaan.lu,
	xuelian.guo, tao1.su

Latest Intel platform Clearwater Forest has introduced new instructions
for SHA512, SM3, SM4 and AVX-VNNI-INT16.

This patch set is for advertising these CPUIDs to userspace so that guests
can query them directly. Since these new instructions can't be intercepted
and only use xmm, ymm registers, host doesn't require to do additional
enabling for guest.

These new instructions are already updated into SDM [1].

---
[1] https://cdrdv2.intel.com/v1/dl/getContent/671200

Tao Su (4):
  x86: KVM: Advertise SHA512 CPUID to userspace
  x86: KVM: Advertise SM3 CPUID to userspace
  x86: KVM: Advertise SM4 CPUID to userspace
  KVM: x86: Advertise AVX-VNNI-INT16 CPUID to userspace

 arch/x86/include/asm/cpufeatures.h | 3 +++
 arch/x86/kvm/cpuid.c               | 8 ++++----
 arch/x86/kvm/reverse_cpuid.h       | 1 +
 3 files changed, 8 insertions(+), 4 deletions(-)


base-commit: 59b723cd2adbac2a34fc8e12c74ae26ae45bf230
-- 
2.34.1


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-11-05  1:03 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-04  6:35 [PATCH 0/4] Advertise CPUID for new instructions in Clearwater Forest Tao Su
2024-11-04  6:35 ` [PATCH 1/4] x86: KVM: Advertise SHA512 CPUID to userspace Tao Su
2024-11-04  6:35 ` [PATCH 2/4] x86: KVM: Advertise SM3 " Tao Su
2024-11-04 16:40   ` Dave Hansen
2024-11-05  0:58     ` Tao Su
2024-11-04  6:35 ` [PATCH 3/4] x86: KVM: Advertise SM4 " Tao Su
2024-11-04  6:35 ` [PATCH 4/4] KVM: x86: Advertise AVX-VNNI-INT16 " Tao Su
2024-11-04  6:51 ` [PATCH 0/4] Advertise CPUID for new instructions in Clearwater Forest Borislav Petkov
2024-11-04  7:04   ` Tao Su
2024-11-04  9:58     ` Borislav Petkov
2024-11-04 13:21       ` Tao Su

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox