Skip to content

target/i386: Add new CPU model SapphireRapids and new fast string op leaves

Paolo Bonzini qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest3 of 4 patches 7 repliesIn review

3 of 4 patches are in this archive. The cover letter announces 4.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4target/i386: add FSRM to TCGtarget/i386/cpu.c+1 -11 reply
2/4target/i386: add FZRM, FSRS, FSRCtarget/i386/cpu.c target/i386/cpu.h+11 -32 replies
3/4target/i386: KVM: allow fast string operations if host supports themtarget/i386/kvm/kvm.c+16 -12 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchXiaoyao LiRichard Henderson
SeriesR-b
1/4R-b
2/4R-b R-b
3/4R-b R-b

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

Read the v4 thread

Cover letter [PATCH v4 0/4] target/i386: Add new CPU model SapphireRapids and new fast string op leaves

Sapphire Rapids enablement patches got stuck on the doubts regarding properties for AMX support. However, for now there is no need to have anything but hardcoded values, because all Intel processors with AMX currently support exactly the same palettes and TMUL limits. Intel has also promised that palette formats will remain backwards compatible so the only worry is for the TMUL leaf, CPUID[1Eh].

However, providing modifiable properties for AMX is premature. Rather, the first step should be to _validate_ host CPUID values against the ones supported by QEMU. So for now apply the simpler patch that only adds the new model.

In addition, add the FZRM, FSRS, FSRC bits: first, they are now supported by Linux (albeit only in the upcoming 6.3 release); second, they are just markers that do not require any support in the hypervisors. While at it, this series also adds these new markers as well as FSRM to TCG's "-cpu max" model.

Supersedes: <[email protected]>

Paolo Bonzini (3):
target/i386: add FSRM to TCG
target/i386: add FZRM, FSRS, FSRC
target/i386: KVM: allow fast string operations if host supports them

Wang, Lei (1):
target/i386: Add new CPU model SapphireRapids

 target/i386/cpu.c     | 142 ++++++++++++++++++++++++++++++++++++++++--
 target/i386/cpu.h     |  11 ++++
 target/i386/kvm/kvm.c |  17 ++++-
 3 files changed, 163 insertions(+), 7 deletions(-)
Signature · 1 line
2.39.1