mtk_vcodec_fw.c:undefined reference to `scp_ipi_send'
From: kernel test robot
Date: Tue Nov 03 2020 - 01:07:29 EST
Hi Yunfei,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: b7cbaf59f62f8ab8f157698f9e31642bff525bd0
commit: c7244811b1c951dca812079d16b17cb241882a80 media: mtk-vcodec: add SCP firmware ops
date: 5 weeks ago
config: i386-randconfig-a012-20201103 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c7244811b1c951dca812079d16b17cb241882a80
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout c7244811b1c951dca812079d16b17cb241882a80
# 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/media/platform/mtk-vcodec/mtk_vcodec_fw.o: in function `mtk_vcodec_scp_ipi_send':
>> mtk_vcodec_fw.c:(.text+0x80): undefined reference to `scp_ipi_send'
ld: drivers/media/platform/mtk-vcodec/mtk_vcodec_fw.o: in function `mtk_vcodec_scp_set_ipi_register':
>> mtk_vcodec_fw.c:(.text+0x90): undefined reference to `scp_ipi_register'
ld: drivers/media/platform/mtk-vcodec/mtk_vcodec_fw.o: in function `mtk_vcodec_vpu_scp_dm_addr':
>> mtk_vcodec_fw.c:(.text+0x9d): undefined reference to `scp_mapping_dm_addr'
ld: drivers/media/platform/mtk-vcodec/mtk_vcodec_fw.o: in function `mtk_vcodec_scp_get_venc_capa':
>> mtk_vcodec_fw.c:(.text+0xaa): undefined reference to `scp_get_venc_hw_capa'
ld: drivers/media/platform/mtk-vcodec/mtk_vcodec_fw.o: in function `mtk_vcodec_scp_get_vdec_capa':
>> mtk_vcodec_fw.c:(.text+0xb7): undefined reference to `scp_get_vdec_hw_capa'
ld: drivers/media/platform/mtk-vcodec/mtk_vcodec_fw.o: in function `mtk_vcodec_scp_load_firmware':
>> mtk_vcodec_fw.c:(.text+0xc4): undefined reference to `scp_get_rproc'
>> ld: mtk_vcodec_fw.c:(.text+0xc9): undefined reference to `rproc_boot'
ld: drivers/media/platform/mtk-vcodec/mtk_vcodec_fw.o: in function `mtk_vcodec_fw_select':
mtk_vcodec_fw.c:(.text+0x183): undefined reference to `scp_get'
ld: drivers/media/platform/mtk-vcodec/mtk_vcodec_fw.o: in function `mtk_vcodec_fw_release':
mtk_vcodec_fw.c:(.text+0x217): undefined reference to `scp_put'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip