[kvm-unit-tests GIT PULL v2 00/14] s390x: new maintainer, refactor linker scripts, tests for misalignments, execute-type instructions and vSIE epdx

Nico Boehr
2023-04-04T11:37:07Z

Hi Paolo and/or Thomas,

so, here's the second try of the first pull request from me :)

v2:
---
* pick up a new version of Nina's spec_ex series to fix clang compiler issue and
missing barrier.

Changes in this pull request:

* Marc contributed a series with a few fixes. Most importantly, it generates
linker scripts for s390x with the assembler, permitting the use of defines in
linker scripts.
It is worth noting that it also touches lib/linux/const.h to check for
__ASSEMBLY__ and __ASSEMBLER__.
* Nina contributed quite a few tests for misalignments in various instructions.
As well as tests for execute-type instructions. Note that a few of her tests
will require recent QEMUs under TCG. Upstream fixes are available [1, 2].
* Thomas contributed a test for vSIE on s390x, where the g3 clock might
sometimes we wrong after reboot. A kernel patch is required[3].
* And, finally, the patch where I get the honor to work as maintainer.

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

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

PULL: https://gitlab.com/Nico-Boehr/kvm-unit-tests.git s390x-2023-03

[1] https://lists.gnu.org/archive/html/qemu-devel/2023-03/msg04860.html
[2] https://lists.gnu.org/archive/html/qemu-devel/2023-03/msg04896.html
[3] https://lore.kernel.org/kvm/20221123090833.292938-1-thuth@redhat.com/

The following changes since commit 5b5d27da2973b20ec29b18df4d749fb2190458af:

memory: Skip tests for instructions that are absent (2023-04-03 18:44:24 +0200)

are available in the Git repository at:

https://gitlab.com/Nico-Boehr/kvm-unit-tests.git s390x-2023-03

for you to fetch changes up to 215923b163742f167dd118664af638389e5ada59:

s390x: sie: Test whether the epoch extension field is working as expected (2023-04-04 13:10:33 +0200)

----------------------------------------------------------------
Janosch Frank (1):
MAINTAINERS: Add Nico as s390x Maintainer and make Thomas reviewer

Marc Hartmayer (7):
.gitignore: ignore `s390x/comm.key` file
s390x/Makefile: simplify `%.hdr` target rules
s390x/Makefile: fix `*.gbin` target dependencies
s390x/Makefile: refactor CPPFLAGS
s390x: use preprocessor for linker script generation
s390x: define a macro for the stack frame size
lib/linux/const.h: test for `__ASSEMBLER__` as well

Nina Schoetterl-Glausch (5):
s390x/spec_ex: Use PSW macro
s390x/spec_ex: Add test introducing odd address into PSW
s390x/spec_ex: Add test of EXECUTE with odd target address
s390x: Add tests for execute-type instructions
s390x: spec_ex: Add test for misaligned load

Thomas Huth (1):
s390x: sie: Test whether the epoch extension field is working as
expected

MAINTAINERS | 3 +-
s390x/Makefile | 28 +--
lib/linux/const.h | 2 +-
lib/s390x/asm-offsets.c | 1 +
s390x/cstart64.S | 2 +-
s390x/{flat.lds => flat.lds.S} | 4 +-
s390x/macros.S | 4 +-
s390x/snippets/asm/{flat.lds => flat.lds.S} | 0
s390x/snippets/c/{flat.lds => flat.lds.S} | 6 +-
s390x/ex.c | 188 ++++++++++++++++++++
s390x/gs.c | 38 ++--
s390x/sie.c | 28 +++
s390x/spec_ex.c | 106 +++++++++--
s390x/unittests.cfg | 3 +
.gitignore | 2 +
.gitlab-ci.yml | 1 +
16 files changed, 370 insertions(+), 46 deletions(-)
rename s390x/{flat.lds => flat.lds.S} (93%)
rename s390x/snippets/asm/{flat.lds => flat.lds.S} (100%)
rename s390x/snippets/c/{flat.lds => flat.lds.S} (88%)
create mode 100644 s390x/ex.c

--
2.39.2