Hi Henry, Thank you for the patch! Yet something to improve: [auto build test ERROR on arm64/for-next/core] [also build test ERROR on v5.14-rc1 next-20210715] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Henry-Willard/arm64-kexec-add-support-for-kexec-with-spin-table/20210715-014204 base: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core config: arm64-randconfig-r011-20210714 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 8d69635ed9ecf36fd0ca85906bfde17949671cbe) 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://github.com/0day-ci/linux/commit/3dd4112e1b67732182a5e12891867db4e139980c git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Henry-Willard/arm64-kexec-add-support-for-kexec-with-spin-table/20210715-014204 git checkout 3dd4112e1b67732182a5e12891867db4e139980c # save the attached .config to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): aarch64-linux-gnu-ld: arch/arm64/kernel/smp_spin_table.o: in function `cpu_soft_restart': >> smp_spin_table.c:(.text+0x524): undefined reference to `__cpu_soft_restart' aarch64-linux-gnu-ld: arch/arm64/kernel/smp_spin_table.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `__cpu_soft_restart' which may bind externally can not be used when making a shared object; recompile with -fPIC smp_spin_table.c:(.text+0x524): dangerous relocation: unsupported relocation >> aarch64-linux-gnu-ld: smp_spin_table.c:(.text+0x528): undefined reference to `__cpu_soft_restart' --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org