From: Pierre Morel <pmorel@linux.ibm.com>
To: linux-s390@vger.kernel.org
Cc: frankja@linux.ibm.com, thuth@redhat.com, kvm@vger.kernel.org,
cohuck@redhat.com, imbrenda@linux.ibm.com, david@redhat.com
Subject: [kvm-unit-tests PATCH v2 0/4] S390x: CPU Topology Information
Date: Tue, 10 Aug 2021 18:22:20 +0200 [thread overview]
Message-ID: <1628612544-25130-1-git-send-email-pmorel@linux.ibm.com> (raw)
Hi,
second version of the series with corrections.
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: Simplify stsi_get_fc and move it 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 | 20 +--
s390x/topology.c | 307 +++++++++++++++++++++++++++++++++++++++
s390x/unittests.cfg | 4 +
7 files changed, 339 insertions(+), 19 deletions(-)
create mode 100644 s390x/topology.c
--
2.25.1
Changelog:
From V1:
- Simplify the stsi_get_fc function when pushing it into lib
(Janosch)
- Simplify PTF inline assembly as PTF instruction does not use RRE
second argument
(Claudio)
- Rename Test global name
(Claudio, Janosch)
- readibility, naming for PTF_REQ_* and removed unused globals
(Janosch)
- skipping tests which could fail when run on LPAR
(Janosh)
- Missing prefix_pop
(Janosch)
next reply other threads:[~2021-08-10 16:22 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-10 16:22 Pierre Morel [this message]
2021-08-10 16:22 ` [kvm-unit-tests PATCH v2 1/4] s390x: lib: Add SCLP toplogy nested level Pierre Morel
2021-08-11 14:59 ` Janosch Frank
2021-08-12 8:36 ` Pierre Morel
2021-08-12 12:56 ` Cornelia Huck
2021-08-12 15:05 ` Pierre Morel
2021-08-12 15:12 ` Cornelia Huck
2021-08-10 16:22 ` [kvm-unit-tests PATCH v2 2/4] s390x: lib: Simplify stsi_get_fc and move it to library Pierre Morel
2021-08-11 15:01 ` Janosch Frank
2021-08-12 8:38 ` Pierre Morel
2021-08-18 7:45 ` Thomas Huth
2021-08-23 9:17 ` Pierre Morel
2021-08-10 16:22 ` [kvm-unit-tests PATCH v2 3/4] s390x: topology: Check the Perform Topology Function Pierre Morel
2021-08-12 9:38 ` Janosch Frank
2021-08-12 11:40 ` Pierre Morel
2021-08-10 16:22 ` [kvm-unit-tests PATCH v2 4/4] s390x: topology: Checking Configuration Topology Information Pierre Morel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1628612544-25130-1-git-send-email-pmorel@linux.ibm.com \
--to=pmorel@linux.ibm.com \
--cc=cohuck@redhat.com \
--cc=david@redhat.com \
--cc=frankja@linux.ibm.com \
--cc=imbrenda@linux.ibm.com \
--cc=kvm@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=thuth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox