]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: arm64: selftests: Add helper to check for VGICv3 support
authorOliver Upton <oliver.upton@linux.dev>
Wed, 17 Sep 2025 21:20:33 +0000 (14:20 -0700)
committerMarc Zyngier <maz@kernel.org>
Wed, 24 Sep 2025 18:23:32 +0000 (19:23 +0100)
commitb712afa7a1cdb787f311f51c04df81fc6f026368
tree6e3b9688e7a2effd9d4cb57914c7fa151bc774f5
parenta5022da5f9a3a791ff2caf5fe3789561ae687747
KVM: arm64: selftests: Add helper to check for VGICv3 support

Introduce a proper predicate for probing VGICv3 by performing a 'test'
creation of the device on a dummy VM.

Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
tools/testing/selftests/kvm/arm64/arch_timer.c
tools/testing/selftests/kvm/arm64/arch_timer_edge_cases.c
tools/testing/selftests/kvm/arm64/vgic_irq.c
tools/testing/selftests/kvm/arm64/vgic_lpi_stress.c
tools/testing/selftests/kvm/arm64/vpmu_counter_access.c
tools/testing/selftests/kvm/include/arm64/vgic.h
tools/testing/selftests/kvm/lib/arm64/vgic.c