mbox series

[kvm-unit-tests,v4,0/8] s390x: uv-host: Fixups and extensions part 1

Message ID 20230622075054.3190-1-frankja@linux.ibm.com (mailing list archive)
Headers show
Series s390x: uv-host: Fixups and extensions part 1 | expand

Message

Janosch Frank June 22, 2023, 7:50 a.m. UTC
The uv-host test has a lot of historical growth problems which has
largely been overlooked since running it is harder than running a KVM
(guest 2) based test.

This series fixes up smaller problems but still leaves the test with
fails when running create config base and variable storage
tests. Those problems will either be fixed up with the second series
or with a firmware fix since I'm unsure on which side of the os/fw
fence the problem exists.

The series is based on my other series that introduces pv-ipl and
pv-icpt. The memory allocation fix will be added to the new version of
that series so all G1 tests are fixed.

v4:
	- Re-based on the ipl/icpt series
	- Replaced 1024 divisions with SZ_1M
	- Instead of making the variable storage test a xfail it's now
          removed until I understand what's going on
	- Since the sigp patch only changed code that I removed, the
          patch could be dropped
v3:
	- Re-based on the ipl/icpt series
	- Added review-bys
v2:
	- Added patch that exchanges sigp_retry with the smp variant
	- Re-worked the create config test handling
	- Minor fixups


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

 lib/s390x/asm/uv.h  |   1 +
 s390x/unittests.cfg |   7 +++
 s390x/uv-host.c     | 134 ++++++++++++++++++++++++++++++++------------
 3 files changed, 107 insertions(+), 35 deletions(-)