Skip to content

s390x: uv: Extend guest test and add host test

Janosch Frank kvm linux-s390 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 1 replyIn review
  2. v26 patches 7 repliesSuperseded
  3. v16 patches 16 repliesSuperseded

Changes in v3 from the cover letter

* Minor changes due to review
* I'll pick this on Friday if there are no more remarks

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6s390x: uv-guest: Add invalid share location tests390x/uv-guest.c+5 -00 replies
2/6s390x: Add more Ultravisor command structure definitionslib/s390x/asm/uv.h s390x/uv-guest.c+149 -20 replies
3/6s390x: uv: Add UV liblib/s390x/asm/uv.h lib/s390x/io.c lib/s390x/uv.c +2 more+60 -20 replies
4/6s390x: Test for share/unshare call support before using themlib/s390x/malloc_io.c s390x/uv-guest.c+9 -20 replies
5/6s390x: uv-guest: Test invalid commandss390x/uv-guest.c+39 -70 replies
6/6s390x: Add UV host tests390x/Makefile s390x/uv-host.c+481 -00 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchClaudio ImbrendaCornelia HuckThomas Huth
SeriesA-b
1/6R-b R-b R-b
2/6R-b A-b
3/6R-b R-b
4/6R-b R-b
5/6R-b R-b
6/6R-b A-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 3 reviewers.

Read the v3 thread

Cover letter [kvm-unit-tests PATCH v3 0/6] s390x: uv: Extend guest test and add host test

My stack of patches is starting to lean, so lets try to put some of them upstream...

The first part is just additions to the UV guest test and a library that makes checking the installed UV calls easier. Additionally we now check for the proper UV share/unshare availability when allocating IO memory instead of only relying on stfle 158.

The second part adds a UV host test with a large number UV of return code checks.

v3:
* Minor changes due to review
* I'll pick this on Friday if there are no more remarks

v2:
* Added rev-bys
* Added stfle 158 check to uv_os_is_host/guest
* Added asserts to uv_query_test_feature()
* Prevent specifying bit nr outside of range
* Prevent checking for features without having queried them
* Added !feature bit check to uv guest/host invalid command test
* Renamed uv_query_test_feature() to uv_query_test_call()

Janosch Frank (6):
s390x: uv-guest: Add invalid share location test
s390x: Add more Ultravisor command structure definitions
s390x: uv: Add UV lib
s390x: Test for share/unshare call support before using them
s390x: uv-guest: Test invalid commands
s390x: Add UV host test

 lib/s390x/asm/uv.h    | 152 ++++++++++++-
 lib/s390x/io.c        |   2 +
 lib/s390x/malloc_io.c |   5 +-
 lib/s390x/uv.c        |  45 ++++
 lib/s390x/uv.h        |  10 +
 s390x/Makefile        |   2 +
 s390x/uv-guest.c      |  60 +++++-
 s390x/uv-host.c       | 480 ++++++++++++++++++++++++++++++++++++++++++
 8 files changed, 743 insertions(+), 13 deletions(-)
 create mode 100644 lib/s390x/uv.c
 create mode 100644 lib/s390x/uv.h
 create mode 100644 s390x/uv-host.c
Signature · 1 line
2.30.2