tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: cd9fd78f5c11b5e165d9317ef11e613f4aef4dd1 commit: afd5dde9a186b8fc5742fff707f184760c4af1a9 [11256/12895] RISC-V: KVM: Provide UAPI for Zicbom block size config: riscv-randconfig-r022-20221010 compiler: riscv64-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/next/linux-next.git/commit/?id=afd5dde9a186b8fc5742fff707f184760c4af1a9 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout afd5dde9a186b8fc5742fff707f184760c4af1a9 # 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=riscv 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 >>): riscv64-linux-ld: arch/riscv/kvm/vcpu.o: in function `.L0 ': >> include/linux/thread_info.h:217: undefined reference to `riscv_cbom_block_size' >> riscv64-linux-ld: include/linux/thread_info.h:217: undefined reference to `riscv_cbom_block_size' vim +217 include/linux/thread_info.h ad7489d5262d2a Christophe Leroy 2022-03-22 213 b0377fedb65280 Al Viro 2017-06-29 214 static inline void copy_overflow(int size, unsigned long count) b0377fedb65280 Al Viro 2017-06-29 215 { ad7489d5262d2a Christophe Leroy 2022-03-22 216 if (IS_ENABLED(CONFIG_BUG)) ad7489d5262d2a Christophe Leroy 2022-03-22 @217 __copy_overflow(size, count); b0377fedb65280 Al Viro 2017-06-29 218 } b0377fedb65280 Al Viro 2017-06-29 219 :::::: The code at line 217 was first introduced by commit :::::: ad7489d5262d2aa775b5e5a1782793925fa90065 mm: uninline copy_overflow() :::::: TO: Christophe Leroy :::::: CC: Linus Torvalds -- 0-DAY CI Kernel Test Service https://01.org/lkp