[rppt:fixes/arm-ioremap-pfn-valid-v2 1/1] ld.lld: error: undefined symbol: arch_memremap_can_ram_remap

From: kernel test robot
Date: Mon Apr 25 2022 - 07:09:51 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/rppt/linux.git fixes/arm-ioremap-pfn-valid-v2
head: 7c4b7785fd9fb0564245417bbca100f3e88e48a9
commit: 7c4b7785fd9fb0564245417bbca100f3e88e48a9 [1/1] arm[64]/memremap: don't abuse pfn_valid() to ensure presence of linear map
config: arm-buildonly-randconfig-r006-20220425 (https://download.01.org/0day-ci/archive/20220425/202204251950.LxDogI1Q-lkp@xxxxxxxxx/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 1cddcfdc3c683b393df1a5c9063252eb60e52818)
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 arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://git.kernel.org/pub/scm/linux/kernel/git/rppt/linux.git/commit/?id=7c4b7785fd9fb0564245417bbca100f3e88e48a9
git remote add rppt https://git.kernel.org/pub/scm/linux/kernel/git/rppt/linux.git
git fetch --no-tags rppt fixes/arm-ioremap-pfn-valid-v2
git checkout 7c4b7785fd9fb0564245417bbca100f3e88e48a9
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash

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: arch_memremap_can_ram_remap
>>> referenced by iomem.c
>>> iomem.o:(memremap) in archive kernel/built-in.a

--
0-DAY CI Kernel Test Service
https://01.org/lkp