]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: arm64: selftests: Add test for AT emulation
authorOliver Upton <oupton@kernel.org>
Mon, 24 Nov 2025 19:01:57 +0000 (11:01 -0800)
committerOliver Upton <oupton@kernel.org>
Mon, 1 Dec 2025 08:44:02 +0000 (00:44 -0800)
commit66f188858385d640163fbf866d9c11b7741da91a
tree1110233acb5cfbd09f793089c3e6867d155fd2fb
parentd5bbb76f447420681abdcfa4ad32344d11188d00
KVM: arm64: selftests: Add test for AT emulation

Add a basic test for AT emulation in the EL2&0 and EL1&0 translation
regimes.

Reviewed-by: Marc Zyngier <maz@kernel.org>
Tested-by: Marc Zyngier <maz@kernel.org>
Link: https://msgid.link/20251124190158.177318-16-oupton@kernel.org
Signed-off-by: Oliver Upton <oupton@kernel.org>
tools/testing/selftests/kvm/Makefile.kvm
tools/testing/selftests/kvm/arm64/at.c [new file with mode: 0644]
tools/testing/selftests/kvm/include/kvm_util.h
tools/testing/selftests/kvm/lib/kvm_util.c