Skip to content

RFC KVM: s390: CPU model for gen17

Hendrik Brueckner qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest15 patches 18 repliesIn review
  2. v1 RFC14 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- Linux headers update to Linux 6.13-rc1 as pre-req for the Concurrent-function facility
- Added missing CPU feature (group) initialization for the msa12 and PLO extensions

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15s390x/cpumodel: add msa10 subfunctionstarget/s390x/cpu_features.c target/s390x/cpu_features_def.h.inc target/s390x/cpu_models.c +1 more+32 -00 replies
2/15s390x/cpumodel: add msa11 subfunctionstarget/s390x/cpu_features.c target/s390x/cpu_features_def.h.inc target/s390x/cpu_models.c +1 more+44 -03 replies
3/15s390x/cpumodel: add msa12 changestarget/s390x/cpu_features.c target/s390x/cpu_features_def.h.inc target/s390x/gen-features.c+10 -06 replies
4/15s390x/cpumodel: add msa13 subfunctionstarget/s390x/cpu_features.c target/s390x/cpu_features_def.h.inc target/s390x/gen-features.c+40 -01 reply
5/15s390x/cpumodel: Add ptff Query Time-Stamp Event (QTSE) supporttarget/s390x/cpu_features.c target/s390x/cpu_features_def.h.inc target/s390x/gen-features.c+11 -01 reply
6/15linux-headers: Update to Linux 6.13-rc1include/standard-headers/drm/drm_fourcc.h include/standard-headers/linux/ethtool.h include/standard-headers/linux/pci_regs.h +30 more+506 -230 replies
7/15s390x/cpumodel: add Concurrent-functions facility supporttarget/s390x/cpu_features.c target/s390x/cpu_features.h target/s390x/cpu_features_def.h.inc +3 more+35 -01 reply
8/15s390x/cpumodel: add Vector Enhancements facility 3target/s390x/cpu_features_def.h.inc target/s390x/cpu_models.c+3 -01 reply
9/15s390x/cpumodel: add Miscellaneous-Instruction-Extensions Facility 4target/s390x/cpu_features_def.h.inc+1 -01 reply
10/15s390x/cpumodel: add Vector-Packed-Decimal-Enhancement facility 3target/s390x/cpu_features_def.h.inc target/s390x/cpu_models.c+2 -01 reply
11/15s390x/cpumodel: add Ineffective-nonconstrained-transaction facilitytarget/s390x/cpu_features_def.h.inc target/s390x/cpu_models.c+2 -01 reply
12/15s390x/cpumodel: Add Sequential-Instruction-Fetching facilitytarget/s390x/cpu_features_def.h.inc+1 -01 reply
13/15s390x/cpumodel: correct PLO feature wordingtarget/s390x/cpu_features_def.h.inc+6 -60 replies
14/15s390x/cpumodel: Add PLO-extension facilitytarget/s390x/cpu_features.c target/s390x/cpu_features_def.h.inc target/s390x/cpu_models.c +1 more+123 -00 replies
15/15s390x/cpumodel: gen17 modeltarget/s390x/cpu_models.c target/s390x/gen-features.c+35 -00 replies

Reviews trailers per patch

13 of 15 patches have a Reviewed-by or Acked-by.

PatchJanosch FrankChristian Borntraeger
1/15R-b
2/15R-b
3/15R-b
4/15R-b
5/15R-b
6/15
7/15R-b
8/15R-b
9/15R-b
10/15R-b
11/15R-b
12/15R-b
13/15R-b
14/15R-b
15/15

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

Read the v2 thread

Cover letter [RFC PATCH v2 00/15] KVM: s390: CPU model for gen17

Introducing the gen17 CPU model with feature indications comprising of:

* Concurrent-function facility with subcodes
* More vector extensions
* Ineffective-nonconstrained-transaction facility
* Even more msa crypto extensions
* Additional PLO subfunctions

For reference, see also the kernel part:
https://lore.kernel.org/kvm/[email protected]/T/#me506dc2ca538aee3cfc13620a48bdb686c459ab0

Changelog v1->v2:
- Linux headers update to Linux 6.13-rc1 as pre-req for the Concurrent-function facility
- Added missing CPU feature (group) initialization for the msa12 and PLO extensions

Feedback and review is always welcome. Thanks a lot!

Kind regards,
Hendrik

Hendrik Brueckner (15):
s390x/cpumodel: add msa10 subfunctions
s390x/cpumodel: add msa11 subfunctions
s390x/cpumodel: add msa12 changes
s390x/cpumodel: add msa13 subfunctions
s390x/cpumodel: Add ptff Query Time-Stamp Event (QTSE) support
linux-headers: Update to Linux 6.13-rc1
s390x/cpumodel: add Concurrent-functions facility support s390x/cpumodel: add Vector Enhancements facility 3 s390x/cpumodel: add Miscellaneous-Instruction-Extensions Facility 4 s390x/cpumodel: add Vector-Packed-Decimal-Enhancement facility 3 s390x/cpumodel: add Ineffective-nonconstrained-transaction facility s390x/cpumodel: Add Sequential-Instruction-Fetching facility s390x/cpumodel: correct PLO feature wording s390x/cpumodel: Add PLO-extension facility s390x/cpumodel: gen17 model

 include/standard-headers/drm/drm_fourcc.h     |   1 +
 include/standard-headers/linux/ethtool.h      |   5 +
 include/standard-headers/linux/pci_regs.h     |  38 ++-
 .../standard-headers/linux/virtio_crypto.h    |   1 +
 include/standard-headers/linux/virtio_pci.h   | 131 ++++++++++
 linux-headers/asm-arm64/kvm.h                 |   6 +
 linux-headers/asm-arm64/unistd_64.h           |   4 +
 linux-headers/asm-generic/mman-common.h       |   3 +
 linux-headers/asm-generic/mman.h              |   4 +
 linux-headers/asm-generic/unistd.h            |  11 +-
 linux-headers/asm-loongarch/kvm.h             |  20 ++
 linux-headers/asm-loongarch/unistd_64.h       |   4 +
 linux-headers/asm-mips/mman.h                 |   3 +
 linux-headers/asm-mips/unistd_n32.h           |   4 +
 linux-headers/asm-mips/unistd_n64.h           |   4 +
 linux-headers/asm-mips/unistd_o32.h           |   4 +
 linux-headers/asm-powerpc/unistd_32.h         |   4 +
 linux-headers/asm-powerpc/unistd_64.h         |   4 +
 linux-headers/asm-riscv/kvm.h                 |   4 +
 linux-headers/asm-riscv/unistd_32.h           |   4 +
 linux-headers/asm-riscv/unistd_64.h           |   4 +
 linux-headers/asm-s390/kvm.h                  |   3 +-
 linux-headers/asm-s390/unistd_32.h            |   4 +
 linux-headers/asm-s390/unistd_64.h            |   4 +
 linux-headers/asm-x86/kvm.h                   |   1 +
 linux-headers/asm-x86/mman.h                  |   3 -
 linux-headers/asm-x86/unistd_32.h             |   4 +
 linux-headers/asm-x86/unistd_64.h             |   4 +
 linux-headers/asm-x86/unistd_x32.h            |   4 +
 linux-headers/linux/iommufd.h                 | 224 +++++++++++++++++-
 linux-headers/linux/kvm.h                     |   8 +
 linux-headers/linux/psci.h                    |   5 +
 linux-headers/linux/vfio.h                    |   2 +-
 target/s390x/cpu_features.c                   |  11 +
 target/s390x/cpu_features.h                   |   1 +
 target/s390x/cpu_features_def.h.inc           |  94 +++++++-
 target/s390x/cpu_models.c                     |  61 +++++
 target/s390x/gen-features.c                   | 178 ++++++++++++++
 target/s390x/kvm/kvm.c                        |   6 +
 39 files changed, 851 insertions(+), 29 deletions(-)
Signature · 1 line
2.43.5