Skip to content

RFC KVM selftests for s390x

Thomas Huth kvm linux-kselftest linux-s390 lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4KVM: selftests: Guard struct kvm_vcpu_events with __KVM_HAVE_VCPU_EVENTStools/testing/selftests/kvm/include/kvm_util.h tools/testing/selftests/kvm/lib/kvm_util.c+4 -04 replies
2/4KVM: selftests: Align memory region addresses to 1M on s390xtools/testing/selftests/kvm/lib/kvm_util.c+16 -53 replies
3/4KVM: selftests: Add processor code for s390xMAINTAINERS tools/testing/selftests/kvm/Makefile tools/testing/selftests/kvm/include/s390x/processor.h +1 more+301 -00 replies
4/4KVM: selftests: Add the sync_regs test for s390xMAINTAINERS tools/testing/selftests/kvm/Makefile tools/testing/selftests/kvm/s390x/sync_regs_test.c+154 -03 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchDavid HildenbrandChristian Borntraeger
1/4R-b A-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC PATCH 0/4] KVM selftests for s390x

This patch series enables the KVM selftests for s390x. As a first test, the sync_regs from x86 has been adapted to s390x.

Please note that the ucall() interface is not used yet - since s390x neither has PIO nor MMIO, this needs some more work first before it becomes usable (we likely should use a DIAG hypercall here, which is what the sync_reg test is currently using, too...).

Thomas Huth (4):
KVM: selftests: Guard struct kvm_vcpu_events with
__KVM_HAVE_VCPU_EVENTS
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

 MAINTAINERS                                   |   2 +
 tools/testing/selftests/kvm/Makefile          |   3 +
 .../testing/selftests/kvm/include/kvm_util.h  |   2 +
 .../selftests/kvm/include/s390x/processor.h   |  22 ++
 tools/testing/selftests/kvm/lib/kvm_util.c    |  24 +-
 .../selftests/kvm/lib/s390x/processor.c       | 277 ++++++++++++++++++
 .../selftests/kvm/s390x/sync_regs_test.c      | 151 ++++++++++
 7 files changed, 476 insertions(+), 5 deletions(-)
 create mode 100644 tools/testing/selftests/kvm/include/s390x/processor.h
 create mode 100644 tools/testing/selftests/kvm/lib/s390x/processor.c
 create mode 100644 tools/testing/selftests/kvm/s390x/sync_regs_test.c
Signature · 1 line
2.21.0