[PATCH 14/32] KVM: arm64: gic-v5: Implement GICv5 load/put and save/restore
kernel test robot
lkp at intel.com
Mon Dec 22 08:52:47 PST 2025
Hi Sascha,
kernel test robot noticed the following build errors:
[auto build test ERROR on linus/master]
[also build test ERROR on v6.19-rc2 next-20251219]
[cannot apply to kvmarm/next arm64/for-next/core kvm/queue kvm/next kvm/linux-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Sascha-Bischoff/KVM-arm64-Account-for-RES1-bits-in-DECLARE_FEAT_MAP-and-co/20251212-233140
base: linus/master
patch link: https://lore.kernel.org/r/20251212152215.675767-15-sascha.bischoff%40arm.com
patch subject: [PATCH 14/32] KVM: arm64: gic-v5: Implement GICv5 load/put and save/restore
config: arm64-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20251222/202512221751.nHKObHNq-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project ecaf673850beb241957352bd61e95ed34256635f)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251222/202512221751.nHKObHNq-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202512221751.nHKObHNq-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from arch/arm64/kernel/asm-offsets.c:16:
In file included from ./include/linux/kvm_host.h:45:
In file included from ./arch/arm64/include/asm/kvm_host.h:36:
>> ./include/kvm/arm_vgic.h:392:19: error: field has incomplete type 'struct gicv5_vpe'
392 | struct gicv5_vpe gicv5_vpe;
| ^
./include/kvm/arm_vgic.h:392:9: note: forward declaration of 'struct gicv5_vpe'
392 | struct gicv5_vpe gicv5_vpe;
| ^
1 error generated.
vim +392 ./include/kvm/arm_vgic.h
360
361 struct vgic_v5_cpu_if {
362 u64 vgic_apr;
363 u64 vgic_vmcr;
364
365 /* PPI register state */
366 u64 vgic_ppi_hmr[2];
367 u64 vgic_ppi_dvir[2];
368 u64 vgic_ppi_priorityr[16];
369
370 /* The pending state of the guest. This is merged with the exit state */
371 u64 vgic_ppi_pendr[2];
372
373 /* The state flushed to the regs when entering the guest */
374 u64 vgic_ppi_activer_entry[2];
375 u64 vgic_ich_ppi_enabler_entry[2];
376 u64 vgic_ppi_pendr_entry[2];
377
378 /* The saved state of the regs when leaving the guest */
379 u64 vgic_ppi_activer_exit[2];
380 u64 vgic_ich_ppi_enabler_exit[2];
381 u64 vgic_ppi_pendr_exit[2];
382
383 /*
384 * The ICSR is re-used across host and guest, and hence it needs to be
385 * saved/restored. Only one copy is required as the host should block
386 * preemption between executing GIC CDRCFG and acccessing the
387 * ICC_ICSR_EL1. A guest, of course, can never guarantee this, and hence
388 * it is the hyp's responsibility to keep the state constistent.
389 */
390 u64 vgic_icsr;
391
> 392 struct gicv5_vpe gicv5_vpe;
393 };
394
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the linux-arm-kernel
mailing list