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. Claudio Imbrenda (3): s390x: introduce leave_pstate to leave userspace s390x: check for specific program interrupt s390x: mvpg: simple test s390x/Makefile | 1 + lib/s390x/asm/arch_def.h | 5 + lib/s390x/asm/interrupt.h | 1 + lib/s390x/interrupt.c | 18 ++- s390x/mvpg.c | 266 ++++++++++++++++++++++++++++++++++++++ s390x/unittests.cfg | 4 + 6 files changed, 293 insertions(+), 2 deletions(-) create mode 100644 s390x/mvpg.c -- 2.26.2