Paolo, Radim, kselftest for s390x. There is a small conflict with Linus tree due to 61cfcd545e42 ("kvm: tests: Sort tests in the Makefile alphabetically") which is part of kvm/master but not kvm/next. Other than that this looks good. The following changes since commit f2c7c76c5d0a443053e94adb9f0918fa2fb85c3a: Linux 5.2-rc3 (2019-06-02 13:55:33 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux.git tags/kvm-s390-next-5.3-1 for you to fetch changes up to 8343ba2d4820b1738bbb7cb40ec18ea0a3b0b331: KVM: selftests: enable pgste option for the linker on s390 (2019-06-04 14:05:38 +0200) ---------------------------------------------------------------- KVM: s390: add kselftests This is the initial implementation for KVM selftests on s390. ---------------------------------------------------------------- Christian Borntraeger (1): KVM: selftests: enable pgste option for the linker on s390 Thomas Huth (6): KVM: selftests: Guard struct kvm_vcpu_events with __KVM_HAVE_VCPU_EVENTS KVM: selftests: Introduce a VM_MODE_DEFAULT macro for the default bits KVM: selftests: Align memory region addresses to 1M on s390x KVM: selftests: Add processor code for s390x KVM: selftests: Add the sync_regs test for s390x KVM: selftests: Move kvm_create_max_vcpus test to generic code MAINTAINERS | 2 + tools/testing/selftests/kvm/Makefile | 14 +- tools/testing/selftests/kvm/include/kvm_util.h | 8 + .../selftests/kvm/include/s390x/processor.h | 22 ++ .../kvm/{x86_64 => }/kvm_create_max_vcpus.c | 3 +- .../testing/selftests/kvm/lib/aarch64/processor.c | 2 +- tools/testing/selftests/kvm/lib/kvm_util.c | 23 +- tools/testing/selftests/kvm/lib/s390x/processor.c | 286 +++++++++++++++++++++ tools/testing/selftests/kvm/lib/x86_64/processor.c | 2 +- tools/testing/selftests/kvm/s390x/sync_regs_test.c | 151 +++++++++++ 10 files changed, 503 insertions(+), 10 deletions(-) create mode 100644 tools/testing/selftests/kvm/include/s390x/processor.h rename tools/testing/selftests/kvm/{x86_64 => }/kvm_create_max_vcpus.c (93%) create mode 100644 tools/testing/selftests/kvm/lib/s390x/processor.c create mode 100644 tools/testing/selftests/kvm/s390x/sync_regs_test.c