]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: arm64: selftests: Add no-vgic-v5 selftest
authorSascha Bischoff <Sascha.Bischoff@arm.com>
Thu, 19 Mar 2026 16:00:21 +0000 (16:00 +0000)
committerMarc Zyngier <maz@kernel.org>
Thu, 19 Mar 2026 18:21:29 +0000 (18:21 +0000)
commitce29261ec6482de54320c03398eb30e9615aee40
tree5b5cbd272a5c2951ed529a535438f8a72d203994
parent0a9f38bf612b195e04236d366ed9f769ce14cc27
KVM: arm64: selftests: Add no-vgic-v5 selftest

Now that GICv5 is supported, it is important to check that all of the
GICv5 register state is hidden from a guest that doesn't create a
vGICv5.

Rename the no-vgic-v3 selftest to no-vgic, and extend it to check
GICv5 system registers too.

Signed-off-by: Sascha Bischoff <sascha.bischoff@arm.com>
Link: https://patch.msgid.link/20260319154937.3619520-42-sascha.bischoff@arm.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
tools/testing/selftests/kvm/Makefile.kvm
tools/testing/selftests/kvm/arm64/no-vgic-v3.c [deleted file]
tools/testing/selftests/kvm/arm64/no-vgic.c [new file with mode: 0644]