Hi Sourabh,

kernel test robot noticed the following build errors:

[auto build test ERROR on powerpc/next]
[also build test ERROR on powerpc/fixes linus/master v6.18-rc2 next-20251022]
[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/Sourabh-Jain/powerpc-kdump-Add-support-for-crashkernel-CMA-reservation/20251022-182711
base:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
patch link:    
https://lore.kernel.org/r/20251022102531.657147-1-sourabhjain%40linux.ibm.com
patch subject: [PATCH] powerpc/kdump: Add support for crashkernel CMA 
reservation
config: powerpc-allnoconfig 
(https://download.01.org/0day-ci/archive/20251023/[email protected]/config)
compiler: powerpc-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20251023/[email protected]/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 <[email protected]>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

   arch/powerpc/kernel/setup-common.c: In function 'setup_arch':
>> arch/powerpc/kernel/setup-common.c:1004:9: error: implicit declaration of 
>> function 'kdump_cma_reserve'; did you mean 'kvm_cma_reserve'? 
>> [-Wimplicit-function-declaration]
    1004 |         kdump_cma_reserve();
         |         ^~~~~~~~~~~~~~~~~
         |         kvm_cma_reserve


vim +1004 arch/powerpc/kernel/setup-common.c

   976  
   977          /* Print various info about the machine that has been gathered 
so far. */
   978          print_system_info();
   979  
   980          klp_init_thread_info(&init_task);
   981  
   982          setup_initial_init_mm(_stext, _etext, _edata, _end);
   983          /* sched_init() does the mmgrab(&init_mm) for the primary CPU */
   984          VM_WARN_ON(cpumask_test_cpu(smp_processor_id(), 
mm_cpumask(&init_mm)));
   985          cpumask_set_cpu(smp_processor_id(), mm_cpumask(&init_mm));
   986          inc_mm_active_cpus(&init_mm);
   987          mm_iommu_init(&init_mm);
   988  
   989          irqstack_early_init();
   990          exc_lvl_early_init();
   991          emergency_stack_init();
   992  
   993          mce_init();
   994          smp_release_cpus();
   995  
   996          initmem_init();
   997  
   998          /*
   999           * Reserve large chunks of memory for use by CMA for kdump, 
fadump, KVM and
  1000           * hugetlb. These must be called after initmem_init(), so that
  1001           * pageblock_order is initialised.
  1002           */
  1003          fadump_cma_init();
> 1004          kdump_cma_reserve();

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

Reply via email to