[PATCH 12/18] KVM: arm64: selftests: Add missing GIC CDEN to no-vgic-v5 selftest

Joey Gouly joey.gouly at arm.com
Tue Apr 21 09:02:07 PDT 2026


On Wed, Apr 15, 2026 at 12:55:53PM +0100, Marc Zyngier wrote:
> From: Sascha Bischoff <sascha.bischoff at arm.com>
> 
> The selftest mistakenly omitted the GIC CDEN instruction from the
> testing. Add it in.

Compared against the list of instructions in the spec.

Reviewed-by: Joey Gouly <joey.gouly at arm.com>

> 
> Fixes: ce29261ec648 ("KVM: arm64: selftests: Add no-vgic-v5 selftest")
> Link: https://sashiko.dev/#/patchset/20260319154937.3619520-1-sascha.bischoff%40arm.com
> Signed-off-by: Sascha Bischoff <sascha.bischoff at arm.com>
> Signed-off-by: Marc Zyngier <maz at kernel.org>
> ---
>  tools/testing/selftests/kvm/arm64/no-vgic.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tools/testing/selftests/kvm/arm64/no-vgic.c b/tools/testing/selftests/kvm/arm64/no-vgic.c
> index b14686ef17d12..e09e3fac904f4 100644
> --- a/tools/testing/selftests/kvm/arm64/no-vgic.c
> +++ b/tools/testing/selftests/kvm/arm64/no-vgic.c
> @@ -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);
> -- 
> 2.47.3
> 



More information about the linux-arm-kernel mailing list