#
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 ...
|