Kernel KVM-PPC virtualization development
 help / color / mirror / Atom feed
* [agraf-2.6:snp-host-v10 63/108] arch/x86/kernel/cpu/amd.c:634:14: error: 'max_pfn' undeclared; did you mean 'vmap_pfn'?
@ 2023-11-09  9:25 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-11-09  9:25 UTC (permalink / raw)
  To: Brijesh Singh
  Cc: oe-kbuild-all, kvm-ppc, cloud-init created default user,
	Ashish Kalra, Tom Lendacky, Michael Roth

tree:   https://github.com/agraf/linux-2.6.git snp-host-v10
head:   689d7ab69df8f6bff29bd1dbefe7c07bba52a9ac
commit: 9aff2751f0009caae3c39b5f35bada15527db636 [63/108] x86/sev: Add the host SEV-SNP initialization support
config: i386-randconfig-012-20231108 (https://download.01.org/0day-ci/archive/20231109/202311091744.Puw4ffC4-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231109/202311091744.Puw4ffC4-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311091744.Puw4ffC4-lkp@intel.com/

All errors (new ones prefixed by >>):

   arch/x86/kernel/cpu/amd.c: In function 'early_rmptable_check':
>> arch/x86/kernel/cpu/amd.c:634:14: error: 'max_pfn' undeclared (first use in this function); did you mean 'vmap_pfn'?
     634 |         if (!max_pfn)
         |              ^~~~~~~
         |              vmap_pfn
   arch/x86/kernel/cpu/amd.c:634:14: note: each undeclared identifier is reported only once for each function it appears in


vim +634 arch/x86/kernel/cpu/amd.c

   625	
   626	static bool early_rmptable_check(void)
   627	{
   628		u64 rmp_base, rmp_size;
   629	
   630		/*
   631		 * For early BSP initialization, max_pfn won't be set up yet, wait until
   632		 * it is set before performing the RMP table calculations.
   633		 */
 > 634		if (!max_pfn)
   635			return true;
   636	
   637		return snp_get_rmptable_info(&rmp_base, &rmp_size);
   638	}
   639	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-09  9:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-09  9:25 [agraf-2.6:snp-host-v10 63/108] arch/x86/kernel/cpu/amd.c:634:14: error: 'max_pfn' undeclared; did you mean 'vmap_pfn'? kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox