Messages in this thread | | | Date | Mon, 21 Feb 2022 05:53:33 +0800 | From | kernel test robot <> | Subject | [mingo-tip:sched/headers 2139/2574] arch/s390/include/asm/processor.h:307:20: error: '_THIS_IP_' undeclared |
| |
tree: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git sched/headers head: 39e8a0edc8fae20758051dadf7846849edc18b88 commit: 527f0e93e404425f87af25a12814598872904167 [2139/2574] headers/deps: Add header dependencies to .h files: <linux/xarray_api.h> config: s390-randconfig-r044-20220220 (https://download.01.org/0day-ci/archive/20220221/202202210504.E38I3DPN-lkp@intel.com/config) compiler: s390-linux-gcc (GCC) 11.2.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/mingo/tip.git/commit/?id=527f0e93e404425f87af25a12814598872904167 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 527f0e93e404425f87af25a12814598872904167 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross 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/include/asm/smp.h:13, from include/linux/smp_api.h:15, from include/linux/lockdep_api.h:27, from include/linux/xarray_api.h:15, from include/linux/kvm_host.h:6, from arch/s390/kernel/asm-offsets.c:11: arch/s390/include/asm/processor.h: In function 'disabled_wait': >> arch/s390/include/asm/processor.h:307:20: error: '_THIS_IP_' undeclared (first use in this function) 307 | psw.addr = _THIS_IP_; | ^~~~~~~~~ arch/s390/include/asm/processor.h:307:20: note: each undeclared identifier is reported only once for each function it appears in In file included from include/linux/smp_api.h:15, from include/linux/lockdep_api.h:27, from include/linux/xarray_api.h:15, from include/linux/kvm_host.h:6, from arch/s390/kernel/asm-offsets.c:11: arch/s390/include/asm/smp.h: At top level: arch/s390/include/asm/smp.h:20:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'boot_cpu_vector_save_area' 20 | extern __vector128 __initdata boot_cpu_vector_save_area[__NUM_VXRS]; | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/rcupdate.h:35, from include/linux/xarray_api.h:19, from include/linux/kvm_host.h:6, from arch/s390/kernel/asm-offsets.c:11: include/linux/sched/per_task.h:48:11: fatal error: generated/asm-offsets.h: No such file or directory 48 | # include <generated/asm-offsets.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. 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
ccf45cafb080597 arch/s390/include/asm/processor.h Martin Schwidefsky 2011-10-30 298 ^1da177e4c3f415 include/asm-s390/processor.h Linus Torvalds 2005-04-16 299 /* ^1da177e4c3f415 include/asm-s390/processor.h Linus Torvalds 2005-04-16 300 * Function to drop a processor into disabled wait state ^1da177e4c3f415 include/asm-s390/processor.h Linus Torvalds 2005-04-16 301 */ c2e06e15ad92bad arch/s390/include/asm/processor.h Vasily Gorbik 2019-11-22 302 static __always_inline void __noreturn disabled_wait(void) ^1da177e4c3f415 include/asm-s390/processor.h Linus Torvalds 2005-04-16 303 { f9e6edfb9cf780e arch/s390/include/asm/processor.h Heiko Carstens 2015-10-12 304 psw_t psw; ^1da177e4c3f415 include/asm-s390/processor.h Linus Torvalds 2005-04-16 305 f9e6edfb9cf780e 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; 98587c2d894c34c arch/s390/include/asm/processor.h Martin Schwidefsky 2019-04-30 @307 psw.addr = _THIS_IP_; f9e6edfb9cf780e arch/s390/include/asm/processor.h Heiko Carstens 2015-10-12 308 __load_psw(psw); edd5378740fe771 arch/s390/include/asm/processor.h Heiko Carstens 2008-12-25 309 while (1); ^1da177e4c3f415 include/asm-s390/processor.h Linus Torvalds 2005-04-16 310 } ^1da177e4c3f415 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
| |