Skip to content

s390x: Add PV SIE intercepts and ipl tests

Janosch Frank kvm linux-s390 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest8 patches 2 repliesIn review
  2. v47 patches 4 repliesSuperseded
  3. v37 patches 11 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v23 patches4 repliesSuperseded
v13 patches6 repliesSuperseded

Changes in v5 from the cover letter

- Added "lib: s390x: uv: Introduce UV validity function"
- Added "groups = pv-host" to unittests.cfg entries
- Added pv-icptcode wrong vm handle test
- Smaller fixes due to review
- Added revs/acks

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8lib: s390x: sie: Fix sie_get_validity() no validity handlinglib/s390x/sie.c+7 -11 reply
2/8lib: s390x: uv: Introduce UV validity functionlib/s390x/uv.h+7 -00 replies
3/8lib: s390x: uv: Add intercept data check library functionlib/s390x/pv_icptdata.h s390x/pv-diags.c+48 -80 replies
4/8s390x: pv-diags: Drop snippet from snippet namess390x/Makefile s390x/pv-diags.c s390x/snippets/asm/pv-diag-288.S +2 more+27 -270 replies
5/8lib: s390x: uv: Add pv host requirement check functionlib/s390x/snippet.h lib/s390x/uv.c lib/s390x/uv.h +1 more+29 -71 reply
6/8s390x: pv: Add sie entry intercept and validity tests390x/Makefile s390x/pv-icptcode.c s390x/snippets/asm/icpt-loop.S +4 more+517 -00 replies
7/8s390x: pv: Add IPL reset testss390x/Makefile s390x/pv-ipl.c s390x/snippets/asm/pv-diag-308.S +1 more+201 -00 replies
8/8s390x: pv-diags: Add the test to unittests.confs390x/unittests.cfg+5 -00 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchClaudio ImbrendaNico Boehr
1/8R-b
2/8R-b R-b
3/8R-b
4/8R-b A-b
5/8R-b
6/8R-b
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [kvm-unit-tests PATCH v5 0/8] s390x: Add PV SIE intercepts and ipl tests

Extend the coverage of the UVC interface.
The patches might be a bit dusty, they've been on a branch for a while.

v5:
- Added "lib: s390x: uv: Introduce UV validity function"
- Added "groups = pv-host" to unittests.cfg entries
- Added pv-icptcode wrong vm handle test
- Smaller fixes due to review
- Added revs/acks
v4:
- Renamed uv_guest_requirement_checks() to uv_host_requirement_checks()
- Now using report_prefix_pushf()
- Smaller fixes due to review
v3:
- Reworked a large portion of the tests
- Introduced a new function that checks for required facilities and memory for tests that start PV guests
- Shortened snippet file names
- Moved checks from report to asserts to decrease test noise
- Introduced diag PV intercept data check function
v2:
- Re-worked the cpu timer tests
- Testing both pages for 112 intercept
- Added skip on insufficient memory
- Fixed comments in pv-ipl.c

Janosch Frank (8):
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

 lib/s390x/pv_icptdata.h                       |  42 ++
 lib/s390x/sie.c                               |   8 +-
 lib/s390x/snippet.h                           |   7 +
 lib/s390x/uv.c                                |  20 +
 lib/s390x/uv.h                                |   8 +
 s390x/Makefile                                |  13 +-
 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 +
 .../{snippet-pv-diag-288.S => pv-diag-288.S}  |   0
 s390x/snippets/asm/pv-diag-308.S              |  51 +++
 .../{snippet-pv-diag-500.S => pv-diag-500.S}  |   0
 ...nippet-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/unittests.cfg                           |  16 +
 18 files changed, 841 insertions(+), 43 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
Signature · 1 line
2.34.1