History log of /kvm-unit-tests/lib/s390x/asm/vector.h (Results 1 – 2 of 2)
Revision Date Author Comments
# c315f52b 12-May-2022 Paolo Bonzini <bonzini@gnu.org>

Merge branch 's390x-next-2022-05' into 'master'

storage keys, attestation, migration tests

See merge request kvm-unit-tests/kvm-unit-tests!30


# db1f35d9 07-Jan-2022 Nico Boehr <nrb@linux.ibm.com>

s390x: add test for SIGP STORE_ADTL_STATUS order

Add a test for SIGP STORE_ADDITIONAL_STATUS order.

There are several cases to cover:
- when neither vector nor guarded-storage facility is available

s390x: add test for SIGP STORE_ADTL_STATUS order

Add a test for SIGP STORE_ADDITIONAL_STATUS order.

There are several cases to cover:
- when neither vector nor guarded-storage facility is available, check
the order is rejected.
- when one of the facilities is there, test the order is rejected and
adtl_status is not touched when the target CPU is running or when an
invalid CPU address is specified. Also check the order is rejected
in case of invalid alignment.
- when the vector facility is there, write some data to the CPU's
vector registers and check we get the right contents.
- when the guarded-storage facility is there, populate the CPU's
guarded-storage registers with some data and again check we get the
right contents.

To make sure we cover all these cases, adjust unittests.cfg to run the
test with both guarded-storage and vector facility off and on. In TCG, we don't
have guarded-storage support, so we just run with vector facility off and on.

Signed-off-by: Nico Boehr <nrb@linux.ibm.com>
Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>

show more ...