Skip to content

RFC Add NV Selftest cases

Ganapatrao Kulkarni kvm kvmarm linux-arm-kernel linux-kselftest lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2KVM: arm64: nv: selftests: Add guest hypervisor testtools/testing/selftests/kvm/Makefile.kvm tools/testing/selftests/kvm/arm64/nv_guest_hypervisor.c tools/testing/selftests/kvm/include/arm64/kvm_util_arch.h +3 more+161 -145 replies
2/2KVM: arm64: nv: selftests: Access VNCR mapped registerstools/testing/selftests/kvm/Makefile.kvm tools/testing/selftests/kvm/arm64/nv_vncr_regs_test.c+256 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/2] Add NV Selftest cases

In this patch seried, modified kvm selftests code to enable guest code to run in vEL2(As guest Hypervisor). Also added test cases to test guest code booting in vEL2 and register access of VNCR mapped registers.

This patchset is created as per discussions over ml[1]. Posting RFC patch for the early feedback and to further explore requirements and test cases.

Ganapatrao Kulkarni (2):
KVM: arm64: nv: selftests: Add guest hypervisor test
KVM: arm64: nv: selftests: Access VNCR mapped registers

 tools/testing/selftests/kvm/Makefile.kvm      |   2 +
 .../selftests/kvm/arm64/nv_guest_hypervisor.c |  83 ++++++
 .../selftests/kvm/arm64/nv_vncr_regs_test.c   | 255 ++++++++++++++++++
 .../kvm/include/arm64/kvm_util_arch.h         |   3 +
 .../selftests/kvm/include/arm64/nv_util.h     |  28 ++
 .../testing/selftests/kvm/include/kvm_util.h  |   1 +
 .../selftests/kvm/lib/arm64/processor.c       |  59 +++-
 7 files changed, 417 insertions(+), 14 deletions(-)
 create mode 100644 tools/testing/selftests/kvm/arm64/nv_guest_hypervisor.c
 create mode 100644 tools/testing/selftests/kvm/arm64/nv_vncr_regs_test.c
 create mode 100644 tools/testing/selftests/kvm/include/arm64/nv_util.h
Signature · 1 line
2.48.1