s390x: topology tests, SCLP fixes, UV host test improvements, PV test improvements and validity/IPL test and some small maintanence fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest22 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/22 | lib: s390x: mmu: fix conflicting types for get_dat_entrylib/ | +1 | 0 replies | |
| 2/22 | runtime: don't run pv-host tests when gen-se-header is unavailablescripts/ | +5 | 0 replies | |
| 3/22 | lib: s390x: sie: Fix sie_get_validity() no validity handlinglib/ | +7 | 0 replies | |
| 4/22 | lib: s390x: uv: Introduce UV validity functionlib/ | +7 | 0 replies | |
| 5/22 | lib: s390x: uv: Add intercept data check library functionlib/ s390x/ | +48 | 0 replies | |
| 6/22 | s390x: pv-diags: Drop snippet from snippet namess390x/ s390x/ s390x/ +2 more | +27 | 0 replies | |
| 7/22 | lib: s390x: uv: Add pv host requirement check functionlib/ lib/ lib/ +1 more | +29 | 0 replies | |
| 8/22 | s390x: pv: Add sie entry intercept and validity tests390x/ s390x/ s390x/ +4 more | +517 | 0 replies | |
| 9/22 | s390x: pv: Add IPL reset testss390x/ s390x/ s390x/ +1 more | +201 | 0 replies | |
| 10/22 | s390x: pv-diags: Add the test to unittests.confs390x/ | +5 | 0 replies | |
| 11/22 | s390x: uv-host: Fix UV init test memory allocations390x/ | +14 | 0 replies | |
| 12/22 | s390x: uv-host: Check for sufficient amount of memorys390x/ | +8 | 0 replies | |
| 13/22 | s390x: uv-host: Beautify codes390x/ | +2 | 0 replies | |
| 14/22 | s390x: uv-host: Add cpu number check to test_inits390x/ | +9 | 0 replies | |
| 15/22 | s390x: uv-host: Remove create guest variable storage prefix checks390x/ | +0 | 0 replies | |
| 16/22 | s390x: uv-host: Properly handle config creation errorslib/ s390x/ | +57 | 0 replies | |
| 17/22 | s390x: uv-host: Fence access checks when UV debug is enableds390x/ | +10 | 0 replies | |
| 18/22 | s390x: uv-host: Add the test to unittests.confs390x/ | +6 | 0 replies | |
| 19/22 | s390x: sclp: treat system as single processor when read_info is NULLlib/ | +9 | 0 replies | |
| 20/22 | s390x: sclp: Implement extended-length-SCCB facilitylib/ | +4 | 0 replies | |
| 21/22 | s390x: topology: Check the Perform Topology Functions390x/ s390x/ s390x/ | +192 | 0 replies | |
| 22/22 | s390x: topology: Checking Configuration Topology Informationlib/ lib/ lib/ +2 more | +375 | 0 replies |
Reviews trailers per patch
20 of 22 patches have a Reviewed-by or Acked-by.
| Patch | Claudio Imbrenda | Thomas Huth | Nina Schoetterl-Glausch | Nico Boehr |
|---|---|---|---|---|
| 1/22 | R-b | R-b | R-b | |
| 2/22 | R-b | |||
| 3/22 | R-b | |||
| 4/22 | R-b | R-b | ||
| 5/22 | R-b | |||
| 6/22 | R-b | A-b | ||
| 7/22 | R-b | |||
| 8/22 | R-b | |||
| 9/22 | R-b | |||
| 10/22 | R-b | |||
| 11/22 | R-b | |||
| 12/22 | R-b | |||
| 13/22 | R-b | |||
| 14/22 | R-b | |||
| 15/22 | ||||
| 16/22 | R-b | |||
| 17/22 | R-b | |||
| 18/22 | R-b | |||
| 19/22 | R-b | |||
| 20/22 | ||||
| 21/22 | R-b | |||
| 22/22 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH 00/22] s390x: topology tests, SCLP fixes, UV host test improvements, PV test improvements and validity/IPL test and some small maintanence fixes
Hi Paolo and/or Thomas,
quite few tests have accumulated since the last pull request, so it's time for another one.
Changes in this pull request:
* Pierre contributed tests for his topology work. The QEMU related changes[1] aren't merged yet, so it's mostly skips right now. Since things seem to converge in QEMU and the kernel part[2] is merged, it makes sense to include this now in kvm-unit-tests.
* Pierre also contributed some fixes to the SCLP code when the size of the SCCV exceeds a page, e.g. when a certain number of vCPUs is exceeded. This also resolves an ugly loop of asserts() we can run into when SCLP fails early.
* Janosch contributed enhancements for the ultravisor host interface test, which fix some bugs
* Janosch also contributed more PV tests which cover certain vailidties the host can encounter when it tries to mess with the guest state, i.e. during IPL or SIE entry
* Finally, two small fixes from me fix compile with GCC 13 and a change in the runtime makes sure pv-host tests are only run when the respective tooling is available.
MERGE: https://gitlab.com/kvm-unit-tests/kvm-unit-tests/-/merge_requests/45
PIPELINE: https://gitlab.com/Nico-Boehr/kvm-unit-tests/-/pipelines/927485818
PULL: https://gitlab.com/Nico-Boehr/kvm-unit-tests.git s390x-2023-07
[1] https://lore.kernel.org/kvm/[email protected]/
[2] https://lore.kernel.org/kvm/[email protected]/
---
The following changes since commit e7324a48acdf3776e9bd9d727e0c2319bc5bf356:
powerpc/spapr_vpa: Add basic VPA tests (2023-07-03 15:15:45 +0200)
are available in the Git repository at:
https://gitlab.com/Nico-Boehr/kvm-unit-tests.git s390x-2023-07
for you to fetch changes up to 6f33f0b7912953a2f8e6fde5a441dfef2d850cae:
s390x: topology: Checking Configuration Topology Information (2023-07-11 13:13:36 +0200)
----------------------------------------------------------------
Janosch Frank (16):
lib: s390x: sie: Fix sie_get_validity() no validity handling
lib: s390x: uv: Introduce UV validity function
lib: s390x: uv: Add intercept data check library function
s390x: pv-diags: Drop snippet from snippet names
lib: s390x: uv: Add pv host requirement check function
s390x: pv: Add sie entry intercept and validity test
s390x: pv: Add IPL reset tests
s390x: pv-diags: Add the test to unittests.conf
s390x: uv-host: Fix UV init test memory allocation
s390x: uv-host: Check for sufficient amount of memory
s390x: uv-host: Beautify code
s390x: uv-host: Add cpu number check to test_init
s390x: uv-host: Remove create guest variable storage prefix check
s390x: uv-host: Properly handle config creation errors
s390x: uv-host: Fence access checks when UV debug is enabled
s390x: uv-host: Add the test to unittests.confNico Boehr (2):
lib: s390x: mmu: fix conflicting types for get_dat_entry
runtime: don't run pv-host tests when gen-se-header is unavailable
Pierre Morel (4):
s390x: sclp: treat system as single processor when read_info is NULL
s390x: sclp: Implement extended-length-SCCB facility
s390x: topology: Check the Perform Topology Function
s390x: topology: Checking Configuration Topology Information lib/s390x/asm/uv.h | 1 +
lib/s390x/mmu.h | 2 +-
lib/s390x/pv_icptdata.h | 42 ++
lib/s390x/sclp.c | 23 +-
lib/s390x/sclp.h | 4 +-
lib/s390x/sie.c | 8 +-
lib/s390x/snippet.h | 7 +
lib/s390x/stsi.h | 36 ++
lib/s390x/uv.c | 20 +
lib/s390x/uv.h | 8 +
s390x/Makefile | 14 +-
s390x/pv-diags.c | 70 ++-
s390x/pv-icptcode.c | 376 +++++++++++++++
s390x/pv-ipl.c | 143 ++++++
s390x/snippets/asm/icpt-loop.S | 15 +
s390x/snippets/asm/loop.S | 13 +
.../asm/{snippet-pv-diag-288.S => pv-diag-288.S} | 0
s390x/snippets/asm/pv-diag-308.S | 51 ++
.../asm/{snippet-pv-diag-500.S => pv-diag-500.S} | 0
.../{snippet-pv-diag-yield.S => pv-diag-yield.S} | 0
s390x/snippets/asm/pv-icpt-112.S | 81 ++++
s390x/snippets/asm/pv-icpt-vir-timing.S | 21 +
s390x/topology.c | 514 +++++++++++++++++++++
s390x/unittests.cfg | 29 ++
s390x/uv-host.c | 134 ++++--
scripts/runtime.bash | 5 +
26 files changed, 1533 insertions(+), 84 deletions(-)
create mode 100644 lib/s390x/pv_icptdata.h
create mode 100644 s390x/pv-icptcode.c
create mode 100644 s390x/pv-ipl.c
create mode 100644 s390x/snippets/asm/icpt-loop.S
create mode 100644 s390x/snippets/asm/loop.S
rename s390x/snippets/asm/{snippet-pv-diag-288.S => pv-diag-288.S} (100%)
create mode 100644 s390x/snippets/asm/pv-diag-308.S
rename s390x/snippets/asm/{snippet-pv-diag-500.S => pv-diag-500.S} (100%)
rename s390x/snippets/asm/{snippet-pv-diag-yield.S => pv-diag-yield.S} (100%)
create mode 100644 s390x/snippets/asm/pv-icpt-112.S
create mode 100644 s390x/snippets/asm/pv-icpt-vir-timing.S
create mode 100644 s390x/topology.cSignature · 1 line
2.41.0