s390x: mvpg test
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest3 patches 1 replyIn review
- v33 patches 4 repliesSuperseded
- v22 patches 3 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 3 patches | 6 replies | Superseded |
Changes in v4 from the cover letter
* add memset after the first successful mvpg to make sure memory is really copied successfully
* add a comment and an additional prefix to the tests skipped when running in TCG
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | s390x: introduce leave_pstate to leave userspacelib/ lib/ | +17 | 0 replies | |
| 2/3 | s390x: mvpg: simple tests390x/ s390x/ s390x/ | +272 | 0 replies | |
| 3/3 | s390x: mvpg: skip some tests when using TCGs390x/ | +22 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | David Hildenbrand | Cornelia Huck | Janosch Frank | Thomas Huth |
|---|---|---|---|---|
| 1/3 | A-b | R-b | R-b | R-b |
| 2/3 | A-b | R-b | ||
| 3/3 | 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 4 reviewers.
Cover letter [kvm-unit-tests PATCH v4 0/3] s390x: mvpg test
A simple unit test for the MVPG instruction.
The timeout is set to 10 seconds because the test should complete in a fraction of a second even on busy machines. If the test is run in VSIE and the host of the host is not handling MVPG properly, the test will probably hang.
Testing MVPG behaviour in VSIE is the main motivation for this test.
Anything related to storage keys is not tested.
v3->v4
* add memset after the first successful mvpg to make sure memory is really copied successfully
* add a comment and an additional prefix to the tests skipped when running in TCG
v2->v3
* fix copyright (2020 is over!)
* add the third patch to skip some known issues when running in TCG
v1->v2
* droppped patch 2 which introduced is_pgm();
* patch 1: replace a hardcoded value with the new macro SVC_LEAVE_PSTATE
* patch 2: clear_pgm_int() returns the old value, use that instad of is_pgm()
Claudio Imbrenda (3):
s390x: introduce leave_pstate to leave userspace
s390x: mvpg: simple test
s390x: mvpg: skip some tests when using TCG
s390x/Makefile | 1 + lib/s390x/asm/arch_def.h | 7 + lib/s390x/interrupt.c | 12 +- s390x/mvpg.c | 277 +++++++++++++++++++++++++++++++++++++++ s390x/unittests.cfg | 4 + 5 files changed, 299 insertions(+), 2 deletions(-) create mode 100644 s390x/mvpg.c
Signature · 1 line
2.26.2