[PATCH 1/2] KVM: arm64: selftest: Add the missing .guest_prepare()

Oliver Upton oliver.upton at linux.dev
Sat Oct 7 09:50:58 PDT 2023


On Sat, 7 Oct 2023 20:40:42 +0800, Zenghui Yu wrote:
> Running page_fault_test on a Cortex A72 fails with
> 
> Test: ro_memslot_no_syndrome_guest_cas
> Testing guest mode: PA-bits:40,  VA-bits:48,  4K pages
> Testing memory backing src type: anonymous
> ==== Test Assertion Failure ====
>   aarch64/page_fault_test.c:117: guest_check_lse()
>   pid=1944087 tid=1944087 errno=4 - Interrupted system call
>      1	0x00000000004028b3: vcpu_run_loop at page_fault_test.c:682
>      2	0x0000000000402d93: run_test at page_fault_test.c:731
>      3	0x0000000000403957: for_each_guest_mode at guest_modes.c:100
>      4	0x00000000004019f3: for_each_test_and_guest_mode at page_fault_test.c:1108
>      5	 (inlined by) main at page_fault_test.c:1134
>      6	0x0000ffff868e503b: ?? ??:0
>      7	0x0000ffff868e5113: ?? ??:0
>      8	0x0000000000401aaf: _start at ??:?
>   guest_check_lse()
> 
> [...]

Applied to kvmarm/next, thanks!

[1/2] KVM: arm64: selftest: Add the missing .guest_prepare()
      https://git.kernel.org/kvmarm/kvmarm/c/45c9683d5ce1
[2/2] KVM: arm64: selftest: Perform ISB before reading PAR_EL1
      https://git.kernel.org/kvmarm/kvmarm/c/a9c9864f3c2f

--
Best,
Oliver



More information about the linux-arm-kernel mailing list