Re: [PATCH v2 2/3] remoteproc: qcom: Add capability to collect minidumps

From: kernel test robot
Date: Thu Sep 03 2020 - 04:23:09 EST


Hi Gurbir,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v5.9-rc3 next-20200902]
[cannot apply to linux/master]
[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]

url: https://github.com/0day-ci/linux/commits/Gurbir-Arora/Introduce-mini-dump-support-for-remoteproc/20200903-105359
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git fc3abb53250a90ba2150eebd182137c136f4d25a
config: i386-randconfig-m021-20200902 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# save the attached .config to linux build tree
make W=1 ARCH=i386

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

ld: drivers/remoteproc/remoteproc_coredump.o: in function `qcom_rproc_minidump':
>> drivers/remoteproc/remoteproc_coredump.c:498: undefined reference to `qcom_smem_get'

# https://github.com/0day-ci/linux/commit/ff3d7cbd5128989c0f4961ea07d00ef31f2928e3
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Gurbir-Arora/Introduce-mini-dump-support-for-remoteproc/20200903-105359
git checkout ff3d7cbd5128989c0f4961ea07d00ef31f2928e3
vim +498 drivers/remoteproc/remoteproc_coredump.c

490
491 void qcom_rproc_minidump(struct rproc *rproc, unsigned int minidump_id)
492 {
493 struct md_ss_toc *minidump_ss;
494 size_t size;
495
496 /* Get Global minidump ToC*/
497 if (!g_md_toc)
> 498 g_md_toc = qcom_smem_get(QCOM_SMEM_HOST_ANY,

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip