[PATCH 14/32] KVM: arm64: gic-v5: Implement GICv5 load/put and save/restore

Sascha Bischoff Sascha.Bischoff at arm.com
Mon Dec 15 02:54:19 PST 2025


On Sat, 2025-12-13 at 13:59 +0800, kernel test robot wrote:
> All errors (new ones prefixed by >>):
> 
>    In file included from arch/arm64/include/asm/kvm_host.h:36,
>                     from include/linux/kvm_host.h:45,
>                     from arch/arm64/kernel/asm-offsets.c:16:
> > > include/kvm/arm_vgic.h:392:26: error: field 'gicv5_vpe' has
> > > incomplete type
>      392 |         struct gicv5_vpe gicv5_vpe;
>          |                          ^~~~~~~~~
>    make[3]: *** [scripts/Makefile.build:182: arch/arm64/kernel/asm-
> offsets.s] Error 1
>    make[3]: Target 'prepare' not remade because of errors.
>    make[2]: *** [Makefile:1314: prepare0] Error 2
>    make[2]: Target 'prepare' not remade because of errors.
>    make[1]: *** [Makefile:248: __sub-make] Error 2
>    make[1]: Target 'prepare' not remade because of errors.
>    make: *** [Makefile:248: __sub-make] Error 2
>    make: Target 'prepare' not remade because of errors.
> 

I've located the underlying issue - the definition of struct gicv5_vpe
was wrapped in an #ifdef CONFIG_KVM block, and the two failing builds
have KVM disabled.

I've fixed the issue locally (dropped the #ifdef), and will post a
fixed commit as part of v2 of this series.

Sascha


More information about the linux-arm-kernel mailing list