s390x: Further extend instruction interception tests
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest9 patches 10 repliesIn review
- v19 patches 4 repliesSuperseded
Changes in v2 from the cover letter
* check reserved fields in store adtl status (thanks Claudio)
* check all possible length codes for vector and gs store adtl status (thanks Claudio)
* store adtl status: fix run under TCG
* store adtl status: avoid 0 in vector reg 0, use a struct instead of offsets for the mcesa, add some comments (thanks Claudio)
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | s390x: smp: add tests for several invalid SIGP orderss390x/ | +48 | 0 replies | |
| 2/9 | s390x: smp: stop already stopped CPUs390x/ | +5 | 0 replies | |
| 3/9 | s390x: gs: move to new header filelib/ s390x/ | +81 | 6 replies | |
| 4/9 | s390x: smp: add test for SIGP_STORE_ADTL_STATUS orders390x/ s390x/ | +362 | 4 replies | |
| 5/9 | s390x: smp: add tests for SET_PREFIXs390x/ | +73 | 0 replies | |
| 6/9 | s390x: smp: add test for EMERGENCY_SIGNAL with invalid CPU addresss390x/ | +9 | 0 replies | |
| 7/9 | s390x: smp: add tests for CONDITIONAL EMERGENCYs390x/ | +43 | 0 replies | |
| 8/9 | s390x: add TPROT testss390x/ s390x/ s390x/ | +112 | 0 replies | |
| 9/9 | s390x: stsi: check zero and ignored bits in r0 and r1s390x/ | +32 | 0 replies |
Reviews trailers per patch
8 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Claudio Imbrenda | Janosch Frank | Janis Schoetterl-Glausch |
|---|---|---|---|
| 1/9 | R-b | ||
| 2/9 | R-b | R-b | |
| 3/9 | R-b | ||
| 4/9 | |||
| 5/9 | R-b | ||
| 6/9 | R-b | ||
| 7/9 | R-b | ||
| 8/9 | R-b | R-b | |
| 9/9 | R-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.
Cover letter [kvm-unit-tests PATCH v2 0/9] s390x: Further extend instruction interception tests
Changelog from v1:
* check reserved fields in store adtl status (thanks Claudio)
* check all possible length codes for vector and gs store adtl status (thanks Claudio)
* store adtl status: fix run under TCG
* store adtl status: avoid 0 in vector reg 0, use a struct instead of offsets for the mcesa, add some comments (thanks Claudio)
Further extend the instruction interception tests for s390x. This series focuses on SIGP, STSI and TPROT instructions.
Some instructions such as STSI already had some coverage and the existing tests were extended to increase coverage.
The SIGP instruction has coverage, but not for all orders. Orders STORE_ADTL_STATUS, SET_PREFIX and CONDITIONAL_EMERGENCY didn't
have coverage before and new tests are added. For EMERGENCY_SIGNAL, the existing test is extended to cover an invalid CPU address. Additionally, new tests are added for quite a few invalid arguments to SIGP.
TPROT was used in skrf tests, but only for storage keys, so add tests for the other uses as well.
Nico Boehr (9):
s390x: smp: add tests for several invalid SIGP orders
s390x: smp: stop already stopped CPU
s390x: gs: move to new header file
s390x: smp: add test for SIGP_STORE_ADTL_STATUS order
s390x: smp: add tests for SET_PREFIX
s390x: smp: add test for EMERGENCY_SIGNAL with invalid CPU address
s390x: smp: add tests for CONDITIONAL EMERGENCY
s390x: add TPROT tests
s390x: stsi: check zero and ignored bits in r0 and r1
lib/s390x/gs.h | 80 +++++++ s390x/Makefile | 1 + s390x/gs.c | 65 +----- s390x/smp.c | 519 ++++++++++++++++++++++++++++++++++++++++++++ s390x/stsi.c | 42 +++- s390x/tprot.c | 108 +++++++++ s390x/unittests.cfg | 25 ++- 7 files changed, 765 insertions(+), 75 deletions(-) create mode 100644 lib/s390x/gs.h create mode 100644 s390x/tprot.c
Signature · 1 line
2.31.1