]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
KVM: arm64: selftests: Add missing GIC CDEN to no-vgic-v5 selftest
authorSascha Bischoff <sascha.bischoff@arm.com>
Wed, 20 May 2026 09:19:43 +0000 (10:19 +0100)
committerMarc Zyngier <maz@kernel.org>
Sat, 23 May 2026 14:07:41 +0000 (15:07 +0100)
The selftest mistakenly omitted the GIC CDEN instruction from the
testing. Add it in.

Fixes: ce29261ec648 ("KVM: arm64: selftests: Add no-vgic-v5 selftest")
Reviewed-by: Joey Gouly <joey.gouly@arm.com>
Signed-off-by: Sascha Bischoff <sascha.bischoff@arm.com>
Link: https://lore.kernel.org/r/20260520091949.542365-13-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
tools/testing/selftests/kvm/arm64/no-vgic.c

index 25b2e3222f685519b4e49bdca8f04066f45cda44..ab57902ce4293cc97062a00138e5d3bfb03024fe 100644 (file)
@@ -159,6 +159,7 @@ static void guest_code_gicv5(void)
        check_gicv5_gic_op(CDAFF);
        check_gicv5_gic_op(CDDI);
        check_gicv5_gic_op(CDDIS);
+       check_gicv5_gic_op(CDEN);
        check_gicv5_gic_op(CDEOI);
        check_gicv5_gic_op(CDHM);
        check_gicv5_gic_op(CDPEND);