All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [chrome-os:chromeos-5.4 49/55] mtk_vcodec_fw_scp.c:undefined reference to `scp_put'
Date: Fri, 08 Jan 2021 20:39:36 +0800	[thread overview]
Message-ID: <202101082030.KPzm6EHB-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 4716 bytes --]

tree:   https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.4
head:   3070ca78cb2b41f5763c604705724a96cb725037
commit: ca2b2a6e50011e1f50ee61eb278163b20e86aced [49/55] UPSTREAM: media: mtk-vcodec: move firmware implementations into their own files
config: nds32-randconfig-r006-20210108 (attached as .config)
compiler: nds32le-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
        git remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
        git fetch --no-tags chrome-os chromeos-5.4
        git checkout ca2b2a6e50011e1f50ee61eb278163b20e86aced
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nds32 

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

All errors (new ones prefixed by >>):

   nds32le-linux-ld: arch/nds32/kernel/ex-entry.o: in function `common_exception_handler':
   (.text+0xfe): undefined reference to `__trace_hardirqs_off'
   (.text+0xfe): relocation truncated to fit: R_NDS32_25_PCREL_RELA against undefined symbol `__trace_hardirqs_off'
   nds32le-linux-ld: arch/nds32/kernel/ex-exit.o: in function `no_work_pending':
   (.text+0xce): undefined reference to `__trace_hardirqs_off'
   nds32le-linux-ld: (.text+0xd2): undefined reference to `__trace_hardirqs_off'
   nds32le-linux-ld: (.text+0xd6): undefined reference to `__trace_hardirqs_on'
   nds32le-linux-ld: (.text+0xda): undefined reference to `__trace_hardirqs_on'
   nds32le-linux-ld: drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_scp.o: in function `mtk_vcodec_scp_release':
>> mtk_vcodec_fw_scp.c:(.text+0xc): undefined reference to `scp_put'
>> nds32le-linux-ld: mtk_vcodec_fw_scp.c:(.text+0x10): undefined reference to `scp_put'
   nds32le-linux-ld: drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_scp.o: in function `mtk_vcodec_scp_ipi_send':
>> mtk_vcodec_fw_scp.c:(.text+0x30): undefined reference to `scp_ipi_send'
>> nds32le-linux-ld: mtk_vcodec_fw_scp.c:(.text+0x34): undefined reference to `scp_ipi_send'
   nds32le-linux-ld: drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_scp.o: in function `mtk_vcodec_scp_set_ipi_register':
>> mtk_vcodec_fw_scp.c:(.text+0x54): undefined reference to `scp_ipi_register'
>> nds32le-linux-ld: mtk_vcodec_fw_scp.c:(.text+0x58): undefined reference to `scp_ipi_register'
   nds32le-linux-ld: drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_scp.o: in function `mtk_vcodec_vpu_scp_dm_addr':
>> mtk_vcodec_fw_scp.c:(.text+0x78): undefined reference to `scp_mapping_dm_addr'
>> nds32le-linux-ld: mtk_vcodec_fw_scp.c:(.text+0x7c): undefined reference to `scp_mapping_dm_addr'
   nds32le-linux-ld: drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_scp.o: in function `mtk_vcodec_scp_get_venc_capa':
>> mtk_vcodec_fw_scp.c:(.text+0x9c): undefined reference to `scp_get_venc_hw_capa'
>> nds32le-linux-ld: mtk_vcodec_fw_scp.c:(.text+0xa0): undefined reference to `scp_get_venc_hw_capa'
   nds32le-linux-ld: drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_scp.o: in function `mtk_vcodec_scp_get_vdec_capa':
>> mtk_vcodec_fw_scp.c:(.text+0xc0): undefined reference to `scp_get_vdec_hw_capa'
>> nds32le-linux-ld: mtk_vcodec_fw_scp.c:(.text+0xc4): undefined reference to `scp_get_vdec_hw_capa'
   nds32le-linux-ld: drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_scp.o: in function `mtk_vcodec_scp_load_firmware':
>> mtk_vcodec_fw_scp.c:(.text+0xe4): undefined reference to `scp_get_rproc'
>> nds32le-linux-ld: mtk_vcodec_fw_scp.c:(.text+0xe8): undefined reference to `scp_get_rproc'
>> nds32le-linux-ld: mtk_vcodec_fw_scp.c:(.text+0xf0): undefined reference to `rproc_boot'
   nds32le-linux-ld: mtk_vcodec_fw_scp.c:(.text+0xf4): undefined reference to `rproc_boot'
   nds32le-linux-ld: drivers/media/platform/mtk-vcodec/mtk_vcodec_fw_scp.o: in function `mtk_vcodec_fw_scp_init':
>> mtk_vcodec_fw_scp.c:(.text+0x116): undefined reference to `scp_get'
>> nds32le-linux-ld: mtk_vcodec_fw_scp.c:(.text+0x11a): undefined reference to `scp_get'

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for MTK_SCP
   Depends on REMOTEPROC && (ARCH_MEDIATEK || COMPILE_TEST
   Selected by
   - VIDEO_MEDIATEK_VCODEC && MEDIA_SUPPORT && V4L_MEM2MEM_DRIVERS && (MTK_IOMMU || COMPILE_TEST && VIDEO_DEV && VIDEO_V4L2 && (ARCH_MEDIATEK || COMPILE_TEST

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 26423 bytes --]

                 reply	other threads:[~2021-01-08 12:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202101082030.KPzm6EHB-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.