+Adding Bjorn,
On 30/11/2020 14:00, kernel test robot wrote:
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: c6b11acc5f85b6e11d128fad8e0b7b223aa7e33f
commit: a899d324863a3d15ce0eea513884e1b73a758c58 [8838/9613] slimbus: qcom-ngd-ctrl: add Sub System Restart support
config: riscv-randconfig-r016-20201130 (attached as .config)
compiler: riscv32-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=a899d324863a3d15ce0eea513884e1b73a758c58
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout a899d324863a3d15ce0eea513884e1b73a758c58
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
Thanks for reporting this,
All errors (new ones prefixed by >>):
riscv32-linux-ld: drivers/remoteproc/qcom_common.o: in function `glink_subdev_unprepare':
qcom_common.c:(.text+0x148): undefined reference to `qcom_glink_ssr_notify'
adding proper QCOM_RPROC_COMMON dependency something like this should
fix this!
------------------------->cut<-----------------------------
diff --git a/drivers/slimbus/Kconfig b/drivers/slimbus/Kconfig
index 7d59956b5dfb..1235b7dc8496 100644
--- a/drivers/slimbus/Kconfig
+++ b/drivers/slimbus/Kconfig
@@ -22,10 +22,9 @@ config SLIM_QCOM_CTRL
config SLIM_QCOM_NGD_CTRL
tristate "Qualcomm SLIMbus Satellite Non-Generic Device Component"
- depends on HAS_IOMEM && DMA_ENGINE && NET && REMOTEPROC
+ depends on HAS_IOMEM && DMA_ENGINE && NET && QCOM_RPROC_COMMON
depends on ARCH_QCOM || COMPILE_TEST
select QCOM_QMI_HELPERS
- select QCOM_RPROC_COMMON
select QCOM_PDR_HELPERS
help
Select driver if Qualcomm's SLIMbus Satellite Non-Generic Device
------------------------->cut<-----------------------------
Will send a proper patch soon!
--srini
riscv32-linux-ld: drivers/remoteproc/qcom_common.o: in function `glink_subdev_stop':
qcom_common.c:(.text+0x17c): undefined reference to `qcom_glink_smem_unregister'
riscv32-linux-ld: drivers/remoteproc/qcom_common.o: in function `glink_subdev_start':
qcom_common.c:(.text+0x1c8): undefined reference to `qcom_glink_smem_register'
riscv32-linux-ld: drivers/remoteproc/qcom_common.o: in function `.L44':
qcom_common.c:(.text+0x3cc): undefined reference to `qcom_smd_unregister_edge'
riscv32-linux-ld: drivers/remoteproc/qcom_common.o: in function `smd_subdev_start':
qcom_common.c:(.text+0x418): undefined reference to `qcom_smd_register_edge'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx