Skip to content

x86/kvm: Support AVX512_4VNNIW and AVX512_4FMAPS for KVM guest

He Chen kvm lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest3 patches 6 repliesIn review
  2. v53 patches 4 repliesSuperseded
  3. v42 patches 3 repliesSuperseded

Changes in v6 from the cover letter

* refine commit messages.

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86/cpuid: Cleanup cpuid_regs definitionsarch/x86/events/intel/pt.c arch/x86/include/asm/processor.h arch/x86/kernel/cpu/scattered.c +1 more+41 -470 replies
2/3x86/cpuid: Add a helper in scattered.c to return cpuidarch/x86/include/asm/processor.h arch/x86/kernel/cpu/scattered.c+40 -120 replies
3/3x86/kvm: Add AVX512_4VNNIW and AVX512_4FMAPS supportarch/x86/kvm/cpuid.c+13 -18 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchBorislav Petkov
1/3
2/3R-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 0/3] x86/kvm: Support AVX512_4VNNIW and AVX512_4FMAPS for KVM guest

This patch series is going to add two new AVX512 features to KVM guest. Since these two features are defined as scattered features in kernel, some extra modification in kernel is included.

BTW. sorry for sending patch so frequently, and really appreciate your kindly review.

---
Changes in v6:
* refine commit messages.

Changes in v5:
* divide the whole patchset into 3 parts.
* refine commit messages.

Changes in v4:
* divide patch into 2 parts, including modification in scattered.c and support new AVX512 instructions for KVM.
* coding style.
* refine commit message.

Changes in v3:
* add a helper in scattered.c to get scattered leaf.

Changes in v2:
* add new macros for new AVX512 scattered features.
* add a cpuid_count_edx function to processor.h

He Chen (3):
x86/cpuid: Cleanup cpuid_regs definitions
x86/cpuid: Add a helper in scattered.c to return cpuid x86/kvm: Add AVX512_4VNNIW and AVX512_4FMAPS subfeatures support

 arch/x86/events/intel/pt.c       | 45 ++++++++++++++-----------------
 arch/x86/include/asm/processor.h | 14 ++++++++++
 arch/x86/kernel/cpu/scattered.c  | 57 ++++++++++++++++++++++++++--------------
 arch/x86/kernel/cpuid.c          |  4 ---
 arch/x86/kvm/cpuid.c             | 14 +++++++++-
 5 files changed, 84 insertions(+), 50 deletions(-)
Signature · 1 line
2.7.4