Re: [RFC PATCH 0/2] Add NV Selftest cases

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 06-02-2025 10:11 pm, Ganapatrao Kulkarni wrote:
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.


[1] https://lore.kernel.org/linux-arm-kernel/871pz2th4b.wl-maz@xxxxxxxxxx/

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


--
Thanks,
Ganapat/GK





[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux