* [jimc:m10 40/44] drivers/mtd/chips/cfi_cmdset_0002.c:2428:(.xiptext+0xa0b): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: ddebug_increment_call_count
@ 2026-09-23 19:33 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-23 19:33 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp
::::::
:::::: Manual check reason: "xtensa: dangerous relocation"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: Jim Cromie <jim.cromie@gmail.com>
TO: "Łukasz Bartosik" <ukaszb@chromium.org>
tree: https://github.com/jimc/linux.git m10
head: f95e4f1e4ce035c9b5f8da68c66d83f2452d92d5
commit: 34511c853d872a498b760316900068f07ba5150f [40/44] dyndbg: add +c flag to count advantage of classmaps for DRM
:::::: branch date: 4 days ago
:::::: commit date: 4 days ago
config: xtensa-randconfig-2001-20260923 (https://download.01.org/0day-ci/archive/20260923/202609232114.jEnQSymN-lkp@intel.com/config)
compiler: xtensa-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260923/202609232114.jEnQSymN-lkp@intel.com/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
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/202609232114.jEnQSymN-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/mtd/chips/cfi_probe.c:102:(.xiptext+0x51a): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: _printk
drivers/mtd/chips/cfi_probe.c:108:(.xiptext+0x536): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: _printk
drivers/mtd/chips/cfi_probe.c:114:(.xiptext+0x54d): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: trace_hardirqs_off
drivers/mtd/chips/cfi_probe.c:116:(.xiptext+0x57c): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: trace_hardirqs_on
drivers/mtd/chips/cfi_probe.c:143:(.xiptext+0x60c): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: trace_hardirqs_on
drivers/mtd/chips/cfi_probe.c:144:(.xiptext+0x61e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: _printk
drivers/mtd/chips/cfi_probe.c:155:(.xiptext+0x64d): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: trace_hardirqs_on
drivers/mtd/chips/cfi_probe.c:156:(.xiptext+0x65f): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: _printk
drivers/mtd/chips/cfi_probe.c:170:(.xiptext+0x6b4): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: trace_hardirqs_on
drivers/mtd/chips/cfi_probe.c:172:(.xiptext+0x6d0): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: _printk
drivers/mtd/chips/cfi_cmdset_0002.o: in function `get_chip':
drivers/mtd/chips/cfi_cmdset_0002.c:888:(.text+0xeb8): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x4c)
drivers/mtd/chips/cfi_cmdset_0002.c:927:(.text+0xf80): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x4c)
drivers/mtd/chips/cfi_cmdset_0002.o: in function `do_otp_lock':
drivers/mtd/chips/cfi_cmdset_0002.c:1458:(.text+0x1947): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x4c)
drivers/mtd/chips/cfi_cmdset_0002.c:1466:(.text+0x1972): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x2c4)
drivers/mtd/chips/cfi_cmdset_0002.o: in function `cfi_amdstd_erase_chip':
drivers/mtd/chips/cfi_cmdset_0002.c:2627:(.text+0x1a67): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x960)
drivers/mtd/chips/cfi_cmdset_0002.o: in function `cfi_cmdset_0002':
drivers/mtd/chips/cfi_cmdset_0002.c:642:(.text+0x1cc7): 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':
drivers/mtd/chips/cfi_cmdset_0002.c:2188:(.text+0x20f3): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x4c)
drivers/mtd/chips/cfi_cmdset_0002.c:2205:(.text+0x2132): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x4c)
drivers/mtd/chips/cfi_cmdset_0002.o: in function `do_panic_write_oneword':
drivers/mtd/chips/cfi_cmdset_0002.c:2269:(.text+0x2332): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x4c)
drivers/mtd/chips/cfi_cmdset_0002.c:2275:(.text+0x2343): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x4c)
drivers/mtd/chips/cfi_cmdset_0002.o: in function `do_otp_write':
drivers/mtd/chips/cfi_cmdset_0002.c:1404:(.text+0x28d6): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x104c)
drivers/mtd/chips/cfi_cmdset_0002.o: in function `cfi_amdstd_otp_walk':
drivers/mtd/chips/cfi_cmdset_0002.c:1516:(.text+0x2a12): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_qry_mode_on
drivers/mtd/chips/cfi_cmdset_0002.c:1518:(.text+0x2a88): 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':
drivers/mtd/chips/cfi_cmdset_0002.c:1858:(.text+0x35d7): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x104c)
drivers/mtd/chips/cfi_cmdset_0002.c:1882:(.text+0x36a7): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x104c)
drivers/mtd/chips/cfi_cmdset_0002.c:1925:(.text+0x3818): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x104c)
drivers/mtd/chips/cfi_cmdset_0002.o: in function `cfi_amdstd_write_buffers':
drivers/mtd/chips/cfi_cmdset_0002.c:2137:(.text+0x395c): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x1504)
drivers/mtd/chips/cfi_cmdset_0002.o: in function `chip_ready':
drivers/mtd/chips/cfi_cmdset_0002.c:839:(.xiptext+0x78): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_build_cmd
drivers/mtd/chips/cfi_cmdset_0002.c:844:(.xiptext+0x93): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
drivers/mtd/chips/cfi_cmdset_0002.c:860:(.xiptext+0x138): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __stack_chk_fail
drivers/mtd/chips/cfi_cmdset_0002.o: in function `do_write_buffer_reset':
drivers/mtd/chips/cfi_cmdset_0002.c:2004:(.xiptext+0x1a0): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
drivers/mtd/chips/cfi_cmdset_0002.c:2006:(.xiptext+0x1b4): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
drivers/mtd/chips/cfi_cmdset_0002.c:2008:(.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':
drivers/mtd/chips/cfi_cmdset_0002.c:1035:(.xiptext+0x22a): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_build_cmd
drivers/mtd/chips/cfi_cmdset_0002.c:1040:(.xiptext+0x251): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: trace_hardirqs_on
drivers/mtd/chips/cfi_cmdset_0002.c:1041:(.xiptext+0x262): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __stack_chk_fail
drivers/mtd/chips/cfi_cmdset_0002.o: in function `xip_udelay':
drivers/mtd/chips/cfi_cmdset_0002.c:1061:(.xiptext+0x2e2): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_build_cmd
drivers/mtd/chips/cfi_cmdset_0002.c:1080:(.xiptext+0x34a): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_build_cmd
drivers/mtd/chips/cfi_cmdset_0002.c:1098:(.xiptext+0x3ca): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_build_cmd
drivers/mtd/chips/cfi_cmdset_0002.c:1119:(.xiptext+0x423): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __trace_set_current_state
drivers/mtd/chips/cfi_cmdset_0002.c:1120:(.xiptext+0x43b): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: add_wait_queue
drivers/mtd/chips/cfi_cmdset_0002.c:1121:(.xiptext+0x443): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_unlock
drivers/mtd/chips/cfi_cmdset_0002.c:1122:(.xiptext+0x449): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: schedule
drivers/mtd/chips/cfi_cmdset_0002.c:1123:(.xiptext+0x454): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: remove_wait_queue
drivers/mtd/chips/cfi_cmdset_0002.c:1124:(.xiptext+0x45e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_lock_nested
drivers/mtd/chips/cfi_cmdset_0002.c:1127:(.xiptext+0x47b): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: trace_hardirqs_off
drivers/mtd/chips/cfi_cmdset_0002.c:1130:(.xiptext+0x487): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0xc48)
drivers/mtd/chips/cfi_cmdset_0002.c:1102:(.xiptext+0x534): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_build_cmd
drivers/mtd/chips/cfi_cmdset_0002.c:1105:(.xiptext+0x55d): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: trace_hardirqs_on
drivers/mtd/chips/cfi_cmdset_0002.c:1106:(.xiptext+0x56e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_unlock
drivers/mtd/chips/cfi_cmdset_0002.o: in function `_cond_resched':
include/linux/sched.h:2162:(.xiptext+0x574): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __cond_resched
drivers/mtd/chips/cfi_cmdset_0002.o: in function `xip_udelay':
drivers/mtd/chips/cfi_cmdset_0002.c:1116:(.xiptext+0x57e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_lock_nested
drivers/mtd/chips/cfi_cmdset_0002.c:1146:(.xiptext+0x5bf): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __stack_chk_fail
drivers/mtd/chips/cfi_cmdset_0002.o: in function `usecs_to_jiffies':
include/linux/jiffies.h:619:(.xiptext+0x63b): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __usecs_to_jiffies
drivers/mtd/chips/cfi_cmdset_0002.o: in function `do_write_buffer_wait':
drivers/mtd/chips/cfi_cmdset_0002.c:1957:(.xiptext+0x672): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __trace_set_current_state
drivers/mtd/chips/cfi_cmdset_0002.c:1958:(.xiptext+0x68e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: add_wait_queue
drivers/mtd/chips/cfi_cmdset_0002.c:1959:(.xiptext+0x69b): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_unlock
drivers/mtd/chips/cfi_cmdset_0002.c:1960:(.xiptext+0x6a1): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: schedule
drivers/mtd/chips/cfi_cmdset_0002.c:1961:(.xiptext+0x6ac): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: remove_wait_queue
drivers/mtd/chips/cfi_cmdset_0002.c:1963:(.xiptext+0x6be): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_lock_nested
drivers/mtd/chips/cfi_cmdset_0002.c:1973:(.xiptext+0x6e6): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: _printk
drivers/mtd/chips/cfi_cmdset_0002.c:1980:(.xiptext+0x704): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0x9e4)
drivers/mtd/chips/cfi_cmdset_0002.c:1990:(.xiptext+0x72e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __stack_chk_fail
drivers/mtd/chips/cfi_cmdset_0002.o: in function `do_write_oneword_start':
drivers/mtd/chips/cfi_cmdset_0002.c:1721:(.xiptext+0x762): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_lock_nested
drivers/mtd/chips/cfi_cmdset_0002.c:1723:(.xiptext+0x770): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0xe48)
drivers/mtd/chips/cfi_cmdset_0002.c:1725:(.xiptext+0x77e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_unlock
drivers/mtd/chips/cfi_cmdset_0002.o: in function `otp_enter':
drivers/mtd/chips/cfi_cmdset_0002.c:1280:(.xiptext+0x7a0): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
drivers/mtd/chips/cfi_cmdset_0002.c:1282:(.xiptext+0x7b4): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
drivers/mtd/chips/cfi_cmdset_0002.c:1284:(.xiptext+0x7ca): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
drivers/mtd/chips/cfi_cmdset_0002.o: in function `otp_exit':
drivers/mtd/chips/cfi_cmdset_0002.c:1295:(.xiptext+0x837): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
drivers/mtd/chips/cfi_cmdset_0002.c:1297:(.xiptext+0x84b): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
drivers/mtd/chips/cfi_cmdset_0002.c:1299:(.xiptext+0x860): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
drivers/mtd/chips/cfi_cmdset_0002.c:1301:(.xiptext+0x874): 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':
drivers/mtd/chips/cfi_cmdset_0002.c:1744:(.xiptext+0x89e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0xd4c)
drivers/mtd/chips/cfi_cmdset_0002.c:1746:(.xiptext+0x8a7): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_unlock
drivers/mtd/chips/cfi_cmdset_0002.o: in function `do_erase_chip':
drivers/mtd/chips/cfi_cmdset_0002.c:2421:(.xiptext+0x9de): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_lock_nested
drivers/mtd/chips/cfi_cmdset_0002.c:2422:(.xiptext+0x9ec): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0xe48)
>> drivers/mtd/chips/cfi_cmdset_0002.c:2428:(.xiptext+0xa0b): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: ddebug_increment_call_count
drivers/mtd/chips/cfi_cmdset_0002.c:2428:(.xiptext+0xa22): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __dynamic_pr_debug
drivers/mtd/chips/cfi_cmdset_0002.c:2428:(.xiptext+0xa2e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: dump_stack
drivers/mtd/chips/cfi_cmdset_0002.c:2433:(.xiptext+0xa50): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0x1a04)
drivers/mtd/chips/cfi_cmdset_0002.c:2436:(.xiptext+0xa70): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
drivers/mtd/chips/cfi_cmdset_0002.c:2437:(.xiptext+0xa86): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
drivers/mtd/chips/cfi_cmdset_0002.c:2438:(.xiptext+0xa9f): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
drivers/mtd/chips/cfi_cmdset_0002.c:2439:(.xiptext+0xab6): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
drivers/mtd/chips/cfi_cmdset_0002.c:2440:(.xiptext+0xacc): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
drivers/mtd/chips/cfi_cmdset_0002.c:2441:(.xiptext+0xae6): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
drivers/mtd/chips/cfi_cmdset_0002.c:2457:(.xiptext+0xb3a): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __trace_set_current_state
drivers/mtd/chips/cfi_cmdset_0002.c:2458:(.xiptext+0xb54): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: add_wait_queue
drivers/mtd/chips/cfi_cmdset_0002.c:2459:(.xiptext+0xb5c): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_unlock
drivers/mtd/chips/cfi_cmdset_0002.c:2460:(.xiptext+0xb62): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: schedule
drivers/mtd/chips/cfi_cmdset_0002.c:2461:(.xiptext+0xb6e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: remove_wait_queue
drivers/mtd/chips/cfi_cmdset_0002.c:2462:(.xiptext+0xb7a): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_lock_nested
drivers/mtd/chips/cfi_cmdset_0002.c:2473:(.xiptext+0xbb2): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0x9e4)
drivers/mtd/chips/cfi_cmdset_0002.c:2479:(.xiptext+0xbd2): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: _printk
drivers/mtd/chips/cfi_cmdset_0002.c:2491:(.xiptext+0xbf6): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_build_cmd
drivers/mtd/chips/cfi_cmdset_0002.c:2503:(.xiptext+0xc4b): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0xd4c)
drivers/mtd/chips/cfi_cmdset_0002.c:2504:(.xiptext+0xc53): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_unlock
drivers/mtd/chips/cfi_cmdset_0002.c:2507:(.xiptext+0xc66): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __stack_chk_fail
drivers/mtd/chips/cfi_cmdset_0002.o: in function `do_write_oneword_once':
drivers/mtd/chips/cfi_cmdset_0002.c:1662:(.xiptext+0xd20): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
drivers/mtd/chips/cfi_cmdset_0002.c:1663:(.xiptext+0xd37): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
drivers/mtd/chips/cfi_cmdset_0002.c:1664:(.xiptext+0xd4f): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
drivers/mtd/chips/cfi_cmdset_0002.c:1679:(.xiptext+0xdaa): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __trace_set_current_state
drivers/mtd/chips/cfi_cmdset_0002.c:1680:(.xiptext+0xdc7): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: add_wait_queue
drivers/mtd/chips/cfi_cmdset_0002.c:1681:(.xiptext+0xdd2): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_unlock
drivers/mtd/chips/cfi_cmdset_0002.c:1682:(.xiptext+0xdd8): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: schedule
drivers/mtd/chips/cfi_cmdset_0002.c:1683:(.xiptext+0xde3): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: remove_wait_queue
drivers/mtd/chips/cfi_cmdset_0002.c:1685:(.xiptext+0xdf2): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_lock_nested
drivers/mtd/chips/cfi_cmdset_0002.c:1696:(.xiptext+0xe24): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: _printk
drivers/mtd/chips/cfi_cmdset_0002.c:1697:(.xiptext+0xe2e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0x1a04)
drivers/mtd/chips/cfi_cmdset_0002.c:1703:(.xiptext+0xe4c): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0x9e4)
drivers/mtd/chips/cfi_cmdset_0002.c:1713:(.xiptext+0xe76): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __stack_chk_fail
drivers/mtd/chips/cfi_cmdset_0002.o: in function `do_write_oneword_retry':
drivers/mtd/chips/cfi_cmdset_0002.c:1767:(.xiptext+0xf23): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: ddebug_increment_call_count
drivers/mtd/chips/cfi_cmdset_0002.c:1767:(.xiptext+0xf3c): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __dynamic_pr_debug
drivers/mtd/chips/cfi_cmdset_0002.c:1767:(.xiptext+0xf48): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: dump_stack
drivers/mtd/chips/cfi_cmdset_0002.c:1773:(.xiptext+0xf6f): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0x1a04)
drivers/mtd/chips/cfi_cmdset_0002.c:1779:(.xiptext+0xf98): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_build_cmd
drivers/mtd/chips/cfi_cmdset_0002.c:1788:(.xiptext+0xfee): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __stack_chk_fail
drivers/mtd/chips/cfi_cmdset_0002.o: in function `do_write_oneword':
drivers/mtd/chips/cfi_cmdset_0002.c:1798:(.xiptext+0x106b): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: ddebug_increment_call_count
drivers/mtd/chips/cfi_cmdset_0002.c:1798:(.xiptext+0x1087): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __dynamic_pr_debug
drivers/mtd/chips/cfi_cmdset_0002.c:1798:(.xiptext+0x1096): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: dump_stack
drivers/mtd/chips/cfi_cmdset_0002.o: in function `do_erase_oneblock':
drivers/mtd/chips/cfi_cmdset_0002.c:2521:(.xiptext+0x11e2): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_lock_nested
drivers/mtd/chips/cfi_cmdset_0002.c:2522:(.xiptext+0x11f0): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0xe48)
drivers/mtd/chips/cfi_cmdset_0002.c:2524:(.xiptext+0x11fe): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_unlock
drivers/mtd/chips/cfi_cmdset_0002.c:2528:(.xiptext+0x121b): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: ddebug_increment_call_count
drivers/mtd/chips/cfi_cmdset_0002.c:2528:(.xiptext+0x1236): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __dynamic_pr_debug
drivers/mtd/chips/cfi_cmdset_0002.c:2528:(.xiptext+0x1245): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: dump_stack
drivers/mtd/chips/cfi_cmdset_0002.c:2533:(.xiptext+0x126b): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0x1a04)
drivers/mtd/chips/cfi_cmdset_0002.c:2536:(.xiptext+0x1290): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
drivers/mtd/chips/cfi_cmdset_0002.c:2537:(.xiptext+0x12a8): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
drivers/mtd/chips/cfi_cmdset_0002.c:2538:(.xiptext+0x12c0): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
drivers/mtd/chips/cfi_cmdset_0002.c:2539:(.xiptext+0x12d8): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
drivers/mtd/chips/cfi_cmdset_0002.c:2540:(.xiptext+0x12ee): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
drivers/mtd/chips/cfi_cmdset_0002.c:2557:(.xiptext+0x1347): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __trace_set_current_state
drivers/mtd/chips/cfi_cmdset_0002.c:2558:(.xiptext+0x1363): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: add_wait_queue
drivers/mtd/chips/cfi_cmdset_0002.c:2559:(.xiptext+0x136b): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_unlock
drivers/mtd/chips/cfi_cmdset_0002.c:2560:(.xiptext+0x1371): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: schedule
drivers/mtd/chips/cfi_cmdset_0002.c:2561:(.xiptext+0x137e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: remove_wait_queue
drivers/mtd/chips/cfi_cmdset_0002.c:2562:(.xiptext+0x138a): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_lock_nested
drivers/mtd/chips/cfi_cmdset_0002.c:2573:(.xiptext+0x13c2): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0x9e4)
drivers/mtd/chips/cfi_cmdset_0002.c:2579:(.xiptext+0x13dc): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: _printk
drivers/mtd/chips/cfi_cmdset_0002.c:2591:(.xiptext+0x13ff): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_build_cmd
drivers/mtd/chips/cfi_cmdset_0002.c:2603:(.xiptext+0x1454): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0xd4c)
drivers/mtd/chips/cfi_cmdset_0002.c:2604:(.xiptext+0x145c): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_unlock
drivers/mtd/chips/cfi_cmdset_0002.c:2606:(.xiptext+0x1472): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __stack_chk_fail
drivers/mtd/chips/cfi_cmdset_0002.o: in function `do_write_buffer':
drivers/mtd/chips/cfi_cmdset_0002.c:2030:(.xiptext+0x1528): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_lock_nested
drivers/mtd/chips/cfi_cmdset_0002.c:2031:(.xiptext+0x1536): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0xe48)
drivers/mtd/chips/cfi_cmdset_0002.o: in function `map_word_load':
include/linux/mtd/map.h:338:(.xiptext+0x15a3): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: memcpy
include/linux/mtd/map.h:338:(.xiptext+0x15ac): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text.unlikely+0x78)
drivers/mtd/chips/cfi_cmdset_0002.o: in function `do_write_buffer':
drivers/mtd/chips/cfi_cmdset_0002.c:2039:(.xiptext+0x15d7): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: ddebug_increment_call_count
drivers/mtd/chips/cfi_cmdset_0002.c:2039:(.xiptext+0x15ef): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __dynamic_pr_debug
drivers/mtd/chips/cfi_cmdset_0002.c:2039:(.xiptext+0x15fb): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: dump_stack
drivers/mtd/chips/cfi_cmdset_0002.c:2044:(.xiptext+0x161e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0x1a04)
drivers/mtd/chips/cfi_cmdset_0002.c:2046:(.xiptext+0x163a): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
drivers/mtd/chips/cfi_cmdset_0002.c:2047:(.xiptext+0x1652): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
drivers/mtd/chips/cfi_cmdset_0002.c:2050:(.xiptext+0x1660): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_build_cmd
drivers/mtd/chips/cfi_cmdset_0002.c:2056:(.xiptext+0x1697): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_build_cmd
drivers/mtd/chips/cfi_cmdset_0002.o: in function `map_word_load':
include/linux/mtd/map.h:338:(.xiptext+0x172e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: memcpy
drivers/mtd/chips/cfi_cmdset_0002.o: in function `do_write_buffer':
drivers/mtd/chips/cfi_cmdset_0002.c:2071:(.xiptext+0x1780): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_build_cmd
drivers/mtd/chips/cfi_cmdset_0002.c:2086:(.xiptext+0x17eb): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0xd4c)
drivers/mtd/chips/cfi_cmdset_0002.c:2087:(.xiptext+0x17f3): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_unlock
drivers/mtd/chips/cfi_cmdset_0002.c:2090:(.xiptext+0x1806): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __stack_chk_fail
drivers/mtd/chips/cfi_cmdset_0001.o: in function `cfi_intelext_otp_walk':
drivers/mtd/chips/cfi_cmdset_0001.c:2391:(.text+0x1a2e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x55c)
drivers/mtd/chips/cfi_cmdset_0001.o: in function `do_otp_lock':
drivers/mtd/chips/cfi_cmdset_0001.c:2309:(.text+0x1e92): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x680)
drivers/mtd/chips/cfi_cmdset_0001.o: in function `read_pri_intelext':
drivers/mtd/chips/cfi_cmdset_0001.c:401:(.text+0x217e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_read_pri
drivers/mtd/chips/cfi_cmdset_0001.o: in function `do_otp_write':
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for PM_GENERIC_DOMAINS_OF
Depends on [n]: PM_GENERIC_DOMAINS [=y] && OF [=n]
Selected by [y]:
- COMMON_CLK_MT8173_MFGTOP [=y] && COMMON_CLK [=y] && (ARCH_MEDIATEK || COMPILE_TEST [=y]) && COMMON_CLK_MT8173 [=y] && PM [=y]
vim +2428 drivers/mtd/chips/cfi_cmdset_0002.c
30ec5a2cb17d78 Ira W. Snyder 2012-01-06 2403
^1da177e4c3f41 Linus Torvalds 2005-04-16 2404
^1da177e4c3f41 Linus Torvalds 2005-04-16 2405 /*
^1da177e4c3f41 Linus Torvalds 2005-04-16 2406 * Handle devices with one erase region, that only implement
^1da177e4c3f41 Linus Torvalds 2005-04-16 2407 * the chip erase command.
^1da177e4c3f41 Linus Torvalds 2005-04-16 2408 */
02b15e343aeefb Todd Poynor 2005-06-07 2409 static int __xipram do_erase_chip(struct map_info *map, struct flchip *chip)
^1da177e4c3f41 Linus Torvalds 2005-04-16 2410 {
^1da177e4c3f41 Linus Torvalds 2005-04-16 2411 struct cfi_private *cfi = map->fldrv_priv;
2416a2e7be9b27 Colin Ian King 2024-02-15 2412 unsigned long timeo;
^1da177e4c3f41 Linus Torvalds 2005-04-16 2413 unsigned long int adr;
^1da177e4c3f41 Linus Torvalds 2005-04-16 2414 DECLARE_WAITQUEUE(wait, current);
ea4f51356fd986 Sergei Shtylyov 2019-10-03 2415 int ret;
45f75b8a919a42 Tokunori Ikegami 2018-05-30 2416 int retry_cnt = 0;
083084df578a8b Tokunori Ikegami 2022-03-24 2417 map_word datum = map_word_ff(map);
^1da177e4c3f41 Linus Torvalds 2005-04-16 2418
^1da177e4c3f41 Linus Torvalds 2005-04-16 2419 adr = cfi->addr_unlock1;
^1da177e4c3f41 Linus Torvalds 2005-04-16 2420
c4e773764cead9 Stefani Seibold 2010-04-18 2421 mutex_lock(&chip->mutex);
8a9485ff09088c Tokunori Ikegami 2019-08-22 2422 ret = get_chip(map, chip, adr, FL_ERASING);
^1da177e4c3f41 Linus Torvalds 2005-04-16 2423 if (ret) {
c4e773764cead9 Stefani Seibold 2010-04-18 2424 mutex_unlock(&chip->mutex);
^1da177e4c3f41 Linus Torvalds 2005-04-16 2425 return ret;
^1da177e4c3f41 Linus Torvalds 2005-04-16 2426 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 2427
289c05222172b5 Brian Norris 2011-07-19 @2428 pr_debug("MTD %s(): ERASE 0x%.8lx\n",
^1da177e4c3f41 Linus Torvalds 2005-04-16 2429 __func__, chip->start);
^1da177e4c3f41 Linus Torvalds 2005-04-16 2430
02b15e343aeefb Todd Poynor 2005-06-07 2431 XIP_INVAL_CACHED_RANGE(map, adr, map->size);
^1da177e4c3f41 Linus Torvalds 2005-04-16 2432 ENABLE_VPP(map);
02b15e343aeefb Todd Poynor 2005-06-07 2433 xip_disable(map, chip, adr);
02b15e343aeefb Todd Poynor 2005-06-07 2434
45f75b8a919a42 Tokunori Ikegami 2018-05-30 2435 retry:
^1da177e4c3f41 Linus Torvalds 2005-04-16 2436 cfi_send_gen_cmd(0xAA, cfi->addr_unlock1, chip->start, map, cfi, cfi->device_type, NULL);
^1da177e4c3f41 Linus Torvalds 2005-04-16 2437 cfi_send_gen_cmd(0x55, cfi->addr_unlock2, chip->start, map, cfi, cfi->device_type, NULL);
^1da177e4c3f41 Linus Torvalds 2005-04-16 2438 cfi_send_gen_cmd(0x80, cfi->addr_unlock1, chip->start, map, cfi, cfi->device_type, NULL);
^1da177e4c3f41 Linus Torvalds 2005-04-16 2439 cfi_send_gen_cmd(0xAA, cfi->addr_unlock1, chip->start, map, cfi, cfi->device_type, NULL);
^1da177e4c3f41 Linus Torvalds 2005-04-16 2440 cfi_send_gen_cmd(0x55, cfi->addr_unlock2, chip->start, map, cfi, cfi->device_type, NULL);
^1da177e4c3f41 Linus Torvalds 2005-04-16 2441 cfi_send_gen_cmd(0x10, cfi->addr_unlock1, chip->start, map, cfi, cfi->device_type, NULL);
^1da177e4c3f41 Linus Torvalds 2005-04-16 2442
^1da177e4c3f41 Linus Torvalds 2005-04-16 2443 chip->state = FL_ERASING;
^1da177e4c3f41 Linus Torvalds 2005-04-16 2444 chip->erase_suspended = 0;
^1da177e4c3f41 Linus Torvalds 2005-04-16 2445 chip->in_progress_block_addr = adr;
7b70eb14392a7c Joakim Tjernlund 2018-03-01 2446 chip->in_progress_block_mask = ~(map->size - 1);
^1da177e4c3f41 Linus Torvalds 2005-04-16 2447
02b15e343aeefb Todd Poynor 2005-06-07 2448 INVALIDATE_CACHE_UDELAY(map, chip,
02b15e343aeefb Todd Poynor 2005-06-07 2449 adr, map->size,
02b15e343aeefb Todd Poynor 2005-06-07 2450 chip->erase_time*500);
^1da177e4c3f41 Linus Torvalds 2005-04-16 2451
^1da177e4c3f41 Linus Torvalds 2005-04-16 2452 timeo = jiffies + (HZ*20);
^1da177e4c3f41 Linus Torvalds 2005-04-16 2453
^1da177e4c3f41 Linus Torvalds 2005-04-16 2454 for (;;) {
^1da177e4c3f41 Linus Torvalds 2005-04-16 2455 if (chip->state != FL_ERASING) {
^1da177e4c3f41 Linus Torvalds 2005-04-16 2456 /* Someone's suspended the erase. Sleep */
^1da177e4c3f41 Linus Torvalds 2005-04-16 2457 set_current_state(TASK_UNINTERRUPTIBLE);
^1da177e4c3f41 Linus Torvalds 2005-04-16 2458 add_wait_queue(&chip->wq, &wait);
c4e773764cead9 Stefani Seibold 2010-04-18 2459 mutex_unlock(&chip->mutex);
^1da177e4c3f41 Linus Torvalds 2005-04-16 2460 schedule();
^1da177e4c3f41 Linus Torvalds 2005-04-16 2461 remove_wait_queue(&chip->wq, &wait);
c4e773764cead9 Stefani Seibold 2010-04-18 2462 mutex_lock(&chip->mutex);
^1da177e4c3f41 Linus Torvalds 2005-04-16 2463 continue;
^1da177e4c3f41 Linus Torvalds 2005-04-16 2464 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 2465 if (chip->erase_suspended) {
^1da177e4c3f41 Linus Torvalds 2005-04-16 2466 /* This erase was suspended and resumed.
^1da177e4c3f41 Linus Torvalds 2005-04-16 2467 Adjust the timeout */
^1da177e4c3f41 Linus Torvalds 2005-04-16 2468 timeo = jiffies + (HZ*20); /* FIXME */
^1da177e4c3f41 Linus Torvalds 2005-04-16 2469 chip->erase_suspended = 0;
^1da177e4c3f41 Linus Torvalds 2005-04-16 2470 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 2471
083084df578a8b Tokunori Ikegami 2022-03-24 2472 if (chip_ready(map, chip, adr, &datum)) {
c15995695ea971 Sergei Shtylyov 2019-10-31 2473 if (cfi_check_err_status(map, chip, adr))
c15995695ea971 Sergei Shtylyov 2019-10-31 2474 ret = -EIO;
fb4a90bfcd6d86 Eric W. Biedermann 2005-05-20 2475 break;
c15995695ea971 Sergei Shtylyov 2019-10-31 2476 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 2477
fb4a90bfcd6d86 Eric W. Biedermann 2005-05-20 2478 if (time_after(jiffies, timeo)) {
fb4a90bfcd6d86 Eric W. Biedermann 2005-05-20 2479 printk(KERN_WARNING "MTD %s(): software timeout\n",
fb4a90bfcd6d86 Eric W. Biedermann 2005-05-20 2480 __func__);
79ca484b613041 Tokunori Ikegami 2018-05-30 2481 ret = -EIO;
^1da177e4c3f41 Linus Torvalds 2005-04-16 2482 break;
fb4a90bfcd6d86 Eric W. Biedermann 2005-05-20 2483 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 2484
^1da177e4c3f41 Linus Torvalds 2005-04-16 2485 /* Latency issues. Drop the lock, wait a while and retry */
02b15e343aeefb Todd Poynor 2005-06-07 2486 UDELAY(map, chip, adr, 1000000/HZ);
^1da177e4c3f41 Linus Torvalds 2005-04-16 2487 }
fb4a90bfcd6d86 Eric W. Biedermann 2005-05-20 2488 /* Did we succeed? */
79ca484b613041 Tokunori Ikegami 2018-05-30 2489 if (ret) {
^1da177e4c3f41 Linus Torvalds 2005-04-16 2490 /* reset on all failures. */
^1da177e4c3f41 Linus Torvalds 2005-04-16 2491 map_write(map, CMD(0xF0), chip->start);
^1da177e4c3f41 Linus Torvalds 2005-04-16 2492 /* FIXME - should have reset delay before continuing */
^1da177e4c3f41 Linus Torvalds 2005-04-16 2493
79ca484b613041 Tokunori Ikegami 2018-05-30 2494 if (++retry_cnt <= MAX_RETRIES) {
79ca484b613041 Tokunori Ikegami 2018-05-30 2495 ret = 0;
45f75b8a919a42 Tokunori Ikegami 2018-05-30 2496 goto retry;
79ca484b613041 Tokunori Ikegami 2018-05-30 2497 }
fb4a90bfcd6d86 Eric W. Biedermann 2005-05-20 2498 }
fb4a90bfcd6d86 Eric W. Biedermann 2005-05-20 2499
^1da177e4c3f41 Linus Torvalds 2005-04-16 2500 chip->state = FL_READY;
02b15e343aeefb Todd Poynor 2005-06-07 2501 xip_enable(map, chip, adr);
e7d9377e0440c2 Paul Parsons 2012-03-07 2502 DISABLE_VPP(map);
^1da177e4c3f41 Linus Torvalds 2005-04-16 2503 put_chip(map, chip, adr);
c4e773764cead9 Stefani Seibold 2010-04-18 2504 mutex_unlock(&chip->mutex);
^1da177e4c3f41 Linus Torvalds 2005-04-16 2505
^1da177e4c3f41 Linus Torvalds 2005-04-16 2506 return ret;
^1da177e4c3f41 Linus Torvalds 2005-04-16 2507 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 2508
:::::: The code at line 2428 was first introduced by commit
:::::: 289c05222172b51401dbbb017115655f241d94ab mtd: replace DEBUG() with pr_debug()
:::::: TO: Brian Norris <computersforpeace@gmail.com>
:::::: CC: Artem Bityutskiy <artem.bityutskiy@intel.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-23 19:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-23 19:33 [jimc:m10 40/44] drivers/mtd/chips/cfi_cmdset_0002.c:2428:(.xiptext+0xa0b): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: ddebug_increment_call_count kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.