ld.lld: error: undefined symbol: rpmh_invalidate

From: kernel test robot
Date: Wed Dec 30 2020 - 04:38:04 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 139711f033f636cc78b6aaf7363252241b9698ef
commit: cb3659268a12602a2ad1e8e8d34ce155bb43ae6e soc: qcom: rpmh: Allow RPMH driver to be loaded as a module
date: 9 weeks ago
config: arm64-randconfig-r025-20201229 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project a8970dff1aece1f83e63f723847098ba992ef185)
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
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cb3659268a12602a2ad1e8e8d34ce155bb43ae6e
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout cb3659268a12602a2ad1e8e8d34ce155bb43ae6e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64

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.lld: error: undefined symbol: rpmh_invalidate
>>> referenced by bcm-voter.c
>>> interconnect/qcom/bcm-voter.o:(qcom_icc_bcm_voter_commit) in archive drivers/built-in.a
--
>> ld.lld: error: undefined symbol: rpmh_write_batch
>>> referenced by bcm-voter.c
>>> interconnect/qcom/bcm-voter.o:(qcom_icc_bcm_voter_commit) in archive drivers/built-in.a
>>> referenced by bcm-voter.c
>>> interconnect/qcom/bcm-voter.o:(qcom_icc_bcm_voter_commit) in archive drivers/built-in.a
>>> referenced by bcm-voter.c
>>> interconnect/qcom/bcm-voter.o:(qcom_icc_bcm_voter_commit) in archive drivers/built-in.a

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

Attachment: .config.gz
Description: application/gzip