[PATCH v4 12/14] KVM: selftests: Enable pre_fault_memory_test for arm64
Fuad Tabba
fuad.tabba at linux.dev
Wed Sep 23 23:08:25 PDT 2026
On Wed, 23 Sept 2026 at 16:18, Lorenzo Stoakes (ARM) <ljs at kernel.org> wrote:
>
> From: Jack Thomson <jackabt at amazon.com>
>
> Enable the pre_fault_memory_test to run on arm64 by making it work with
> different guest page sizes and testing multiple guest configurations.
>
> Add an assert on the exit reason, comparing against UCALL_EXIT_REASON so
> the check is portable, as arm64 exits with KVM_EXIT_MMIO while x86 uses
> KVM_EXIT_IO.
>
> Signed-off-by: Jack Thomson <jackabt at amazon.com>
> [ljs: merge conflict resolution with commit c847704619da ("KVM: selftests:
> Fix pre_fault_memory_test to run on s390"), commit message accuracy fixup]
> Reviewed-by: Oliver Upton <oupton at kernel.org>
> Signed-off-by: Lorenzo Stoakes (ARM) <ljs at kernel.org>
Reviewed-by: Fuad Tabba <fuad.tabba at linux.dev>
Cheers,
/fuad
More information about the linux-arm-kernel
mailing list