mbox series

[kvm-unit-tests,v1,0/4] S390x: CPU Topology Information

Message ID 1628498934-20735-1-git-send-email-pmorel@linux.ibm.com (mailing list archive)
Headers show
Series S390x: CPU Topology Information | expand

Message

Pierre Morel Aug. 9, 2021, 8:48 a.m. UTC
When facility 11 is available inside the S390x architecture, 2 new
instructions are available: PTF and STSI with function code 15.

Let's check their availability in QEMU/KVM and their coherence
with the CPU topology provided by the QEMU -smp parameter.

To run these tests successfully you will need the Linux and the QEMU
patches:
    https://lkml.org/lkml/2021/8/3/201

    https://lists.nongnu.org/archive/html/qemu-s390x/2021-07/msg00165.html

Regards,
Pierre

Pierre Morel (4):
  s390x: lib: Add SCLP toplogy nested level
  s390x: lib: Move stsi_get_fc to library
  s390x: topology: check the Perform Topology Function
  s390x: Topology: checking Configuration Topology Information

 lib/s390x/asm/arch_def.h |  16 +++
 lib/s390x/sclp.c         |   6 +
 lib/s390x/sclp.h         |   4 +-
 s390x/Makefile           |   1 +
 s390x/stsi.c             |  16 ---
 s390x/topology.c         | 294 +++++++++++++++++++++++++++++++++++++++
 s390x/unittests.cfg      |   4 +
 7 files changed, 324 insertions(+), 17 deletions(-)
 create mode 100644 s390x/topology.c