Skip to content

Unexpected guest trap handling for KVM RISC-V selftests

Anup Patel kvm kvm-riscv linux-riscv lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3KVM: selftests: riscv: Set PTE A and D bits in VS-stage page tabletools/testing/selftests/kvm/include/riscv/processor.h+3 -11 reply
2/3KVM: selftests: riscv: Fix alignment of the guest_hang() functiontools/testing/selftests/kvm/lib/riscv/processor.c+1 -11 reply
3/3KVM: selftests: riscv: Improve unexpected guest trap handlingtools/testing/selftests/kvm/include/riscv/processor.h tools/testing/selftests/kvm/lib/riscv/processor.c tools/testing/selftests/kvm/lib/riscv/ucall.c+31 -170 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchMayuresh Chitale
SeriesT-b
1/3
2/3
3/3

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

Read the v1 thread

Cover letter [PATCH 0/3] Unexpected guest trap handling for KVM RISC-V selftests

Getting unexpected guest traps while running KVM RISC-V selftests should cause the test to fail appropriately with VCPU register dump. This series improves handling of unexpected traps along these lines.

These patches can also be found in riscv_kvm_selftests_unexp_trap_v1 branch
at: https://github.com/avpatel/linux.git

Anup Patel (3):
KVM: selftests: riscv: Set PTE A and D bits in VS-stage page table
KVM: selftests: riscv: Fix alignment of the guest_hang() function
KVM: selftests: riscv: Improve unexpected guest trap handling

 .../selftests/kvm/include/riscv/processor.h   | 12 ++++---
 .../selftests/kvm/lib/riscv/processor.c       |  9 +++---
 tools/testing/selftests/kvm/lib/riscv/ucall.c | 31 +++++++++++++------
 3 files changed, 34 insertions(+), 18 deletions(-)
Signature · 1 line
2.25.1