cfi_probe.c:(.xiptext+0x617): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: warn_slowpath_fmt
kernel test robot
build bot::::::
:::::: Manual check reason: "too many reports for this commit" :::::: Manual check reason: "xtensa: dangerous relocation" ::::::
BCC: [email protected]
CC: [email protected]
CC: [email protected]
TO: Peter Zijlstra <[email protected]>
CC: Andrew Morton <[email protected]>
CC: Linux Memory Management List <[email protected]>
CC: Finn Thain <[email protected]>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4843f6873f7c4835e62f2c73ba0fd538e57a2f22 commit: 80047d84eed25e9c92cfb9169980a0dfec110246 atomic: add alignment check to instrumented atomic operations date: 10 months ago
:::::: branch date: 9 hours ago
:::::: commit date: 10 months ago
config: xtensa-randconfig-r2311-20261121 (https://download.01.org/0day-ci/archive/20261122/[email protected]/config)
compiler: xtensa-linux-gcc (GCC) 8.5.0
sparse: v0.6.5-rc1-21-g84ec0658
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261122/[email protected]/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Fixes: 80047d84eed2 ("atomic: add alignment check to instrumented atomic operations")
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/r/[email protected]/All errors (new ones prefixed by >>):
xtensa-linux-ld: DWARF error: could not find abbrev number 59
drivers/mtd/chips/cfi_probe.o: in function `cfi_chip_setup':
cfi_probe.c:(.xiptext+0x111): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: trace_hardirqs_on cfi_probe.c:(.xiptext+0x12d): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __kmalloc_noprof cfi_probe.c:(.xiptext+0x13c): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: memset cfi_probe.c:(.xiptext+0x14c): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_build_cmd cfi_probe.c:(.xiptext+0x166): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: trace_hardirqs_off cfi_probe.c:(.xiptext+0x34f): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd cfi_probe.c:(.xiptext+0x364): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd cfi_probe.c:(.xiptext+0x37a): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd cfi_probe.c:(.xiptext+0x390): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd cfi_probe.c:(.xiptext+0x39a): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0x80) cfi_probe.c:(.xiptext+0x3a6): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0x80) cfi_probe.c:(.xiptext+0x3c7): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0x100) cfi_probe.c:(.xiptext+0x3d6): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0x100) cfi_probe.c:(.xiptext+0x3f9): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: trace_hardirqs_on cfi_probe.c:(.xiptext+0x447): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: _printk cfi_probe.c:(.xiptext+0x49e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: _printk cfi_probe.c:(.xiptext+0x4ba): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: _printk drivers/mtd/chips/cfi_probe.o: in function `cfi_probe_chip':
cfi_probe.c:(.xiptext+0x4d0): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: trace_hardirqs_off cfi_probe.c:(.xiptext+0x4fd): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: trace_hardirqs_on cfi_probe.c:(.xiptext+0x590): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: trace_hardirqs_on cfi_probe.c:(.xiptext+0x5a2): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: _printk cfi_probe.c:(.xiptext+0x5d1): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: trace_hardirqs_on cfi_probe.c:(.xiptext+0x5e3): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: _printk
>> cfi_probe.c:(.xiptext+0x617): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: warn_slowpath_fmt
cfi_probe.c:(.xiptext+0x65c): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: trace_hardirqs_on cfi_probe.c:(.xiptext+0x678): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: _printk
xtensa-linux-ld: DWARF error: could not find abbrev number 624989
drivers/mtd/chips/cfi_cmdset_0002.o: in function `get_chip':
cfi_cmdset_0002.c:(.text+0xe2a): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x4) cfi_cmdset_0002.c:(.text+0xf00): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x4) drivers/mtd/chips/cfi_cmdset_0002.o: in function `do_ppb_xxlock':
cfi_cmdset_0002.c:(.text+0x18fc): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x4) cfi_cmdset_0002.c:(.text+0x192a): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x2c0) drivers/mtd/chips/cfi_cmdset_0002.o: in function `cfi_amdstd_erase_chip':
cfi_cmdset_0002.c:(.text+0x1a27): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x954) drivers/mtd/chips/cfi_cmdset_0002.o: in function `cfi_cmdset_0002':
cfi_cmdset_0002.c:(.text+0x1c57): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_read_pri drivers/mtd/chips/cfi_cmdset_0002.o: in function `cfi_amdstd_panic_wait':
cfi_cmdset_0002.c:(.text+0x20af): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x4) cfi_cmdset_0002.c:(.text+0x20ff): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x4) drivers/mtd/chips/cfi_cmdset_0002.o: in function `do_panic_write_oneword':
cfi_cmdset_0002.c:(.text+0x22d8): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x4) cfi_cmdset_0002.c:(.text+0x22ea): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x4) drivers/mtd/chips/cfi_cmdset_0002.o: in function `do_otp_write':
cfi_cmdset_0002.c:(.text+0x2b92): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0xfc4) drivers/mtd/chips/cfi_cmdset_0002.o: in function `cfi_amdstd_otp_walk':
cfi_cmdset_0002.c:(.text+0x3206): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_qry_mode_on cfi_cmdset_0002.c:(.text+0x327c): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_qry_mode_off drivers/mtd/chips/cfi_cmdset_0002.o: in function `cfi_amdstd_write_words':
cfi_cmdset_0002.c:(.text+0x38ce): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0xfc4) cfi_cmdset_0002.c:(.text+0x3987): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0xfc4) cfi_cmdset_0002.c:(.text+0x3b36): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0xfc4) drivers/mtd/chips/cfi_cmdset_0002.o: in function `cfi_amdstd_write_buffers':
cfi_cmdset_0002.c:(.text+0x3c38): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x13f8) drivers/mtd/chips/cfi_cmdset_0002.o: in function `do_otp_lock':
cfi_cmdset_0002.c:(.text+0x3ea6): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x4) cfi_cmdset_0002.c:(.text+0x3ed0): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x2c0) drivers/mtd/chips/cfi_cmdset_0002.o: in function `chip_ready':
cfi_cmdset_0002.c:(.xiptext+0x2b): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_build_cmd cfi_cmdset_0002.c:(.xiptext+0x4a): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd drivers/mtd/chips/cfi_cmdset_0002.o: in function `do_write_buffer_reset':
cfi_cmdset_0002.c:(.xiptext+0x1a0): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd cfi_cmdset_0002.c:(.xiptext+0x1b4): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd cfi_cmdset_0002.c:(.xiptext+0x1ca): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd drivers/mtd/chips/cfi_cmdset_0002.o: in function `xip_enable':
cfi_cmdset_0002.c:(.xiptext+0x21e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_build_cmd cfi_cmdset_0002.c:(.xiptext+0x251): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: trace_hardirqs_on drivers/mtd/chips/cfi_cmdset_0002.o: in function `xip_udelay':
cfi_cmdset_0002.c:(.xiptext+0x2da): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_build_cmd cfi_cmdset_0002.c:(.xiptext+0x347): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_build_cmd cfi_cmdset_0002.c:(.xiptext+0x3ea): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_build_cmd cfi_cmdset_0002.c:(.xiptext+0x44e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __trace_set_current_state cfi_cmdset_0002.c:(.xiptext+0x462): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: add_wait_queue cfi_cmdset_0002.c:(.xiptext+0x46a): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_unlock cfi_cmdset_0002.c:(.xiptext+0x470): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: schedule cfi_cmdset_0002.c:(.xiptext+0x47a): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: remove_wait_queue cfi_cmdset_0002.c:(.xiptext+0x484): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_lock_nested cfi_cmdset_0002.c:(.xiptext+0x49f): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: trace_hardirqs_off cfi_cmdset_0002.c:(.xiptext+0x4b2): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0xbc4) cfi_cmdset_0002.c:(.xiptext+0x580): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_build_cmd cfi_cmdset_0002.c:(.xiptext+0x5b5): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: trace_hardirqs_on cfi_cmdset_0002.c:(.xiptext+0x5c6): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_unlock cfi_cmdset_0002.c:(.xiptext+0x5d4): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __might_resched cfi_cmdset_0002.c:(.xiptext+0x5da): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __cond_resched cfi_cmdset_0002.c:(.xiptext+0x5e6): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_lock_nested drivers/mtd/chips/cfi_cmdset_0002.o: in function `do_write_buffer_wait':
cfi_cmdset_0002.c:(.xiptext+0x66c): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __usecs_to_jiffies cfi_cmdset_0002.c:(.xiptext+0x6af): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __trace_set_current_state cfi_cmdset_0002.c:(.xiptext+0x6ca): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: add_wait_queue cfi_cmdset_0002.c:(.xiptext+0x6d7): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_unlock cfi_cmdset_0002.c:(.xiptext+0x6dd): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: schedule cfi_cmdset_0002.c:(.xiptext+0x6e7): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: remove_wait_queue cfi_cmdset_0002.c:(.xiptext+0x6fa): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_lock_nested cfi_cmdset_0002.c:(.xiptext+0x722): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: _printk cfi_cmdset_0002.c:(.xiptext+0x742): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0x9a0) drivers/mtd/chips/cfi_cmdset_0002.o: in function `do_write_oneword_start':
cfi_cmdset_0002.c:(.xiptext+0x7a2): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_lock_nested cfi_cmdset_0002.c:(.xiptext+0x7b0): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0xdc4) cfi_cmdset_0002.c:(.xiptext+0x7be): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_unlock cfi_cmdset_0002.c:(.xiptext+0x7e2): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd cfi_cmdset_0002.c:(.xiptext+0x7f6): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd cfi_cmdset_0002.c:(.xiptext+0x80b): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd drivers/mtd/chips/cfi_cmdset_0002.o: in function `do_write_oneword_done':
cfi_cmdset_0002.c:(.xiptext+0x877): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd cfi_cmdset_0002.c:(.xiptext+0x88b): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd cfi_cmdset_0002.c:(.xiptext+0x8a0): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd cfi_cmdset_0002.c:(.xiptext+0x8b4): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd cfi_cmdset_0002.c:(.xiptext+0x8de): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0xccc) cfi_cmdset_0002.c:(.xiptext+0x8e7): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_unlock drivers/mtd/chips/cfi_cmdset_0002.o: in function `do_erase_chip':
cfi_cmdset_0002.c:(.xiptext+0x9e2): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_lock_nested cfi_cmdset_0002.c:(.xiptext+0x9f0): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0xdc4) cfi_cmdset_0002.c:(.xiptext+0xa12): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __dynamic_pr_debug cfi_cmdset_0002.c:(.xiptext+0xa1e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: dump_stack cfi_cmdset_0002.c:(.xiptext+0xa42): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0x19c4) cfi_cmdset_0002.c:(.xiptext+0xa62): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd cfi_cmdset_0002.c:(.xiptext+0xa7b): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd cfi_cmdset_0002.c:(.xiptext+0xa93): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd cfi_cmdset_0002.c:(.xiptext+0xaab): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd cfi_cmdset_0002.c:(.xiptext+0xac2): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd cfi_cmdset_0002.c:(.xiptext+0xadb): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd cfi_cmdset_0002.c:(.xiptext+0xb3e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __trace_set_current_state cfi_cmdset_0002.c:(.xiptext+0xb58): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: add_wait_queue cfi_cmdset_0002.c:(.xiptext+0xb60): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_unlock
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki