[kvm-unit-tests GIT PULL 00/26] s390x: multiline unittests.cfg, sclp enhancements, topology fixes and improvements, sie without MSO/MSL, 2G guest alignment, bug fixes

Nico Boehr
2023-11-10T13:54:20Z

Hi Paolo and/or Thomas,

lots of code for s390x has accumulated, so it's time for another PR :)

Please note that this PR includes a common code change from Nina (see below).

Changes in this pull request:

* Nina contributed multiline support for unittests.cfg in common code,
* Janosch contributed enhancements for the sclp console,
* Nina fixed some issues in the topology tests and improved coverage,
* I've added support for running sie() tests without MSO/MSL,
* kvm-unit-tests is now compatible with environments which require 2GB alignment
of guests in SIE,
* several smaller improvements and bug fixes.

Thanks
Nico

MERGE: https://gitlab.com/kvm-unit-tests/kvm-unit-tests/-/merge_requests/48

PIPELINE: https://gitlab.com/Nico-Boehr/kvm-unit-tests/-/pipelines/1067877258

PULL: https://gitlab.com/Nico-Boehr/kvm-unit-tests.git pr-2023-11-09
----
The following changes since commit bfe5d7d0e14c8199d134df84d6ae8487a9772c48:

migration: Fix test harness hang if source does not reach migration point (2023-10-19 10:06:54 +0200)

are available in the Git repository at:

https://gitlab.com/Nico-Boehr/kvm-unit-tests.git pr-2023-11-09

for you to fetch changes up to bb88caeff9dd2ee57511bc9efbb742a8d6197903:

lib: s390x: interrupt: remove TEID_ASCE defines (2023-11-10 09:50:33 +0100)

----------------------------------------------------------------
Janosch Frank (3):
lib: s390x: hw: rework do_detect_host so we don't need allocation
lib: s390x: sclp: Add compat handling for HMC ASCII consoles
lib: s390x: sclp: Add line mode input handling

Nico Boehr (13):
s390x: spec_ex: load full register
s390x: run PV guests with confidential guest enabled
s390x: spec_ex-sie: refactor to use snippet API
s390x: sie: ensure guests are aligned to 2GB
s390x: mvpg-sie: fix virtual-physical address confusion
lib: s390x: introduce bitfield for PSW mask
s390x: add function to set DAT mode for all interrupts
s390x: sie: switch to home space mode before entering SIE
s390x: lib: don't forward PSW when handling exception in SIE
s390x: lib: sie: don't reenter SIE on pgm int
s390x: add test source dir to include paths
s390x: add a test for SIE without MSO/MSL
lib: s390x: interrupt: remove TEID_ASCE defines

Nina Schoetterl-Glausch (10):
s390x: topology: Introduce enums for polarization & cpu type
s390x: topology: Fix report message
s390x: topology: Use function parameter in stsi_get_sysib
s390x: topology: Fix parsing loop
s390x: topology: Make some report messages unique
s390x: topology: Refine stsi header test
s390x: topology: Rename topology_core to topology_cpu
s390x: topology: Rewrite topology list test
scripts: Implement multiline strings for extra_params
s390x: topology: Add complex topology test

lib/s390x/asm/arch_def.h | 36 ++++++-
lib/s390x/asm/interrupt.h | 21 ++++-
lib/s390x/asm/mem.h | 1 +
lib/s390x/hardware.c | 11 +--
lib/s390x/interrupt.c | 36 +++++++
lib/s390x/mmu.c | 5 +-
lib/s390x/sclp-console.c | 206 +++++++++++++++++++++++++++++++++++-----
lib/s390x/sclp.h | 26 ++++-
lib/s390x/sie.c | 75 ++++++++++++++-
lib/s390x/sie.h | 2 +
lib/s390x/snippet.h | 9 +-
lib/s390x/stsi.h | 47 ++++++---
s390x/Makefile | 4 +-
s390x/mvpg-sie.c | 16 +++-
s390x/run | 19 +++-
s390x/selftest.c | 34 +++++++
s390x/sie-dat.c | 114 ++++++++++++++++++++++
s390x/sie.c | 4 +-
s390x/snippets/c/sie-dat.c | 57 +++++++++++
s390x/snippets/c/sie-dat.h | 2 +
s390x/spec_ex-sie.c | 13 ++-
s390x/spec_ex.c | 2 +-
s390x/topology.c | 230 ++++++++++++++++++++++++++++-----------------
s390x/unittests.cfg | 136 +++++++++++++++++++++++++++
scripts/common.bash | 16 ++++
scripts/runtime.bash | 4 +-
26 files changed, 960 insertions(+), 166 deletions(-)
create mode 100644 s390x/sie-dat.c
create mode 100644 s390x/snippets/c/sie-dat.c
create mode 100644 s390x/snippets/c/sie-dat.h