[arm-platforms:kvm-arm64/nv-next 14/20] arch/arm64/include/asm/kvm_nested.h:341:16: error: 'FIX_VNCR' undeclared

kernel test robot lkp at intel.com
Wed Dec 18 01:59:35 PST 2024


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git kvm-arm64/nv-next
head:   1e2a09d0a43f9c19dae9d321b4a5c840d45fc88b
commit: 0cb2c18e124cd31e01221ed6c60fddc478e3286b [14/20] KVM: arm64: nv: Handle mapping of VNCR_EL2 at EL2
config: arm64-randconfig-003-20241218 (https://download.01.org/0day-ci/archive/20241218/202412181757.mImympcW-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241218/202412181757.mImympcW-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/202412181757.mImympcW-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from arch/arm64/include/asm/kvm_emulate.h:21,
                    from arch/arm64/include/asm/kvm_mmu.h:99,
                    from arch/arm64/kernel/smp.c:46:
   arch/arm64/include/asm/kvm_nested.h: In function 'vncr_fixmap':
>> arch/arm64/include/asm/kvm_nested.h:341:16: error: 'FIX_VNCR' undeclared (first use in this function)
     341 |         return FIX_VNCR - cpu;
         |                ^~~~~~~~
   arch/arm64/include/asm/kvm_nested.h:341:16: note: each undeclared identifier is reported only once for each function it appears in


vim +/FIX_VNCR +341 arch/arm64/include/asm/kvm_nested.h

   337	
   338	static inline unsigned int vncr_fixmap(unsigned int cpu)
   339	{
   340		BUG_ON(cpu > NR_CPUS);
 > 341		return FIX_VNCR - cpu;
   342	}
   343	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki



More information about the linux-arm-kernel mailing list