[PATCH] powerpc/kdump: Add support for crashkernel CMA reservation
kernel test robot
lkp at intel.com
Thu Oct 23 13:03:19 AEDT 2025
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: powerpc64-randconfig-002-20251023 (https://download.01.org/0day-ci/archive/20251023/202510230903.b7vsK8xg-lkp@intel.com/config)
compiler: powerpc64-linux-gcc (GCC) 10.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251023/202510230903.b7vsK8xg-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/202510230903.b7vsK8xg-lkp@intel.com/
All errors (new ones prefixed by >>):
>> arch/powerpc/kexec/core.c:136:13: error: redefinition of 'kdump_cma_reserve'
136 | void __init kdump_cma_reserve(void)
| ^~~~~~~~~~~~~~~~~
In file included from include/linux/kexec.h:38,
from arch/powerpc/kexec/core.c:10:
arch/powerpc/include/asm/kexec.h:61:20: note: previous definition of 'kdump_cma_reserve' was here
61 | static inline void kdump_cma_reserve(void) { }
| ^~~~~~~~~~~~~~~~~
vim +/kdump_cma_reserve +136 arch/powerpc/kexec/core.c
135
> 136 void __init kdump_cma_reserve(void)
137 {
138 if (cma_size)
139 reserve_crashkernel_cma(cma_size);
140 }
141
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the Linuxppc-dev
mailing list