Messages in this thread | | | Date | Tue, 22 Feb 2022 14:10:41 +0800 | From | kernel test robot <> | Subject | [mingo-tip:sched/headers 2122/2541] arch/s390/include/asm/processor.h:307:13: error: use of undeclared identifier '_THIS_IP_' |
| |
tree: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git sched/headers head: 601144c0da5edfa67a9654158370da19c67e17e2 commit: 58809689cf88dc9300f57d8a653053ae3d36acbd [2122/2541] headers/deps: Add header dependencies to .h files: <linux/xarray_api.h> config: s390-randconfig-r044-20220221 (https://download.01.org/0day-ci/archive/20220222/202202221415.RGRWi3xN-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e) 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 s390 cross compiling tool for clang build # apt-get install binutils-s390x-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/commit/?id=58809689cf88dc9300f57d8a653053ae3d36acbd git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git git fetch --no-tags mingo-tip sched/headers git checkout 58809689cf88dc9300f57d8a653053ae3d36acbd # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=s390 prepare
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from arch/s390/kernel/asm-offsets.c:11: In file included from include/linux/kvm_host.h:6: In file included from include/linux/xarray_api.h:15: In file included from include/linux/lockdep_api.h:27: In file included from include/linux/smp_api.h:15: In file included from arch/s390/include/asm/smp.h:13: >> arch/s390/include/asm/processor.h:307:13: error: use of undeclared identifier '_THIS_IP_' psw.addr = _THIS_IP_; ^ In file included from arch/s390/kernel/asm-offsets.c:11: In file included from include/linux/kvm_host.h:6: In file included from include/linux/xarray_api.h:15: In file included from include/linux/lockdep_api.h:27: In file included from include/linux/smp_api.h:15: arch/s390/include/asm/smp.h:20:30: error: expected ';' after top level declarator extern __vector128 __initdata boot_cpu_vector_save_area[__NUM_VXRS]; ^ ; In file included from arch/s390/kernel/asm-offsets.c:11: In file included from include/linux/kvm_host.h:6: In file included from include/linux/xarray_api.h:19: In file included from include/linux/rcupdate.h:35: include/linux/sched/per_task.h:48:11: fatal error: 'generated/asm-offsets.h' file not found # include <generated/asm-offsets.h> ^~~~~~~~~~~~~~~~~~~~~~~~~ 3 errors generated. make[2]: *** [scripts/Makefile.build:121: arch/s390/kernel/asm-offsets.s] Error 1 make[2]: Target '__build' not remade because of errors. make[1]: *** [Makefile:1191: prepare0] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:219: __sub-make] Error 2 make: Target 'prepare' not remade because of errors.
vim +/_THIS_IP_ +307 arch/s390/include/asm/processor.h
ccf45cafb08059 arch/s390/include/asm/processor.h Martin Schwidefsky 2011-10-30 298 ^1da177e4c3f41 include/asm-s390/processor.h Linus Torvalds 2005-04-16 299 /* ^1da177e4c3f41 include/asm-s390/processor.h Linus Torvalds 2005-04-16 300 * Function to drop a processor into disabled wait state ^1da177e4c3f41 include/asm-s390/processor.h Linus Torvalds 2005-04-16 301 */ c2e06e15ad92ba arch/s390/include/asm/processor.h Vasily Gorbik 2019-11-22 302 static __always_inline void __noreturn disabled_wait(void) ^1da177e4c3f41 include/asm-s390/processor.h Linus Torvalds 2005-04-16 303 { f9e6edfb9cf780 arch/s390/include/asm/processor.h Heiko Carstens 2015-10-12 304 psw_t psw; ^1da177e4c3f41 include/asm-s390/processor.h Linus Torvalds 2005-04-16 305 f9e6edfb9cf780 arch/s390/include/asm/processor.h Heiko Carstens 2015-10-12 306 psw.mask = PSW_MASK_BASE | PSW_MASK_WAIT | PSW_MASK_BA | PSW_MASK_EA; 98587c2d894c34 arch/s390/include/asm/processor.h Martin Schwidefsky 2019-04-30 @307 psw.addr = _THIS_IP_; f9e6edfb9cf780 arch/s390/include/asm/processor.h Heiko Carstens 2015-10-12 308 __load_psw(psw); edd5378740fe77 arch/s390/include/asm/processor.h Heiko Carstens 2008-12-25 309 while (1); ^1da177e4c3f41 include/asm-s390/processor.h Linus Torvalds 2005-04-16 310 } ^1da177e4c3f41 include/asm-s390/processor.h Linus Torvalds 2005-04-16 311
:::::: The code at line 307 was first introduced by commit :::::: 98587c2d894c34c9af5cd84ca169e1cd493aa692 s390: simplify disabled_wait
:::::: TO: Martin Schwidefsky <schwidefsky@de.ibm.com> :::::: CC: Martin Schwidefsky <schwidefsky@de.ibm.com>
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
| |