Message ID | 20220329072911.1692766-1-apatel@ventanamicro.com (mailing list archive) |
---|---|
Headers | show |
Series | Unexpected guest trap handling for KVM RISC-V selftests | expand |
On Tue, Mar 29, 2022 at 1:00 PM Anup Patel <apatel@ventanamicro.com> wrote: > > 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(-) > > -- > 2.25.1 > > > _______________________________________________ > linux-riscv mailing list > linux-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv I have tested the series on Qemu. Tested-by: Mayuresh Chitale <mchitale@ventanamicro.com>