]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: arm64: selftests: Avoid testing the IMPDEF behavior
authorZenghui Yu (Huawei) <zenghui.yu@linux.dev>
Tue, 17 Mar 2026 13:15:58 +0000 (21:15 +0800)
committerMarc Zyngier <maz@kernel.org>
Wed, 1 Apr 2026 16:29:21 +0000 (17:29 +0100)
commit03db5f05d4c76d76b32a9d26001e2ec6252f74f8
treebf3c71093f0d790fa2a5f9cb12f839cd8e2252cb
parenta3ca3bfd01b7ee9f54ed85718a6d553cdd87050e
KVM: arm64: selftests: Avoid testing the IMPDEF behavior

It turned out that we can't really force KVM to use the "slow" path when
emulating AT instructions [1]. We should therefore avoid testing the IMPDEF
behavior (i.e., TEST_ACCESS_FLAG - address translation instructions are
permitted to update AF but not required).

Remove it and improve the comment a bit.

[1] https://lore.kernel.org/r/b951dcfb-0ad1-4d7b-b6ce-d54b272dd9be@linux.dev

Signed-off-by: Zenghui Yu (Huawei) <zenghui.yu@linux.dev>
Link: https://patch.msgid.link/20260317131558.52751-1-zenghui.yu@linux.dev
Signed-off-by: Marc Zyngier <maz@kernel.org>
tools/testing/selftests/kvm/arm64/at.c