tree: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/misc.git arm64-nmi head: bb41dc405cba7babd8b9f6f02e415ed5c99c0994 commit: bb41dc405cba7babd8b9f6f02e415ed5c99c0994 [5/5] arm64/mm: Disable all interrupts while replacing TTBR1 config: arm64-allyesconfig compiler: aarch64-linux-gcc (GCC) 12.1.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 # https://git.kernel.org/pub/scm/linux/kernel/git/broonie/misc.git/commit/?id=bb41dc405cba7babd8b9f6f02e415ed5c99c0994 git remote add broonie-misc https://git.kernel.org/pub/scm/linux/kernel/git/broonie/misc.git git fetch --no-tags broonie-misc arm64-nmi git checkout bb41dc405cba7babd8b9f6f02e415ed5c99c0994 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): >> aarch64-linux-ld: arch/arm64/mm/proc.o:(.altinstructions+0x38): undefined reference to `HAS_NMI' aarch64-linux-ld: arch/arm64/mm/proc.o:(.altinstructions+0x44): undefined reference to `HAS_NMI' -- 0-DAY CI Kernel Test Service https://01.org/lkp