From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: cfi_probe.c:(.xiptext+0x18e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: ftrace_likely_update
Date: Tue, 29 Sep 2026 09:59:37 +0200 [thread overview]
Message-ID: <202609290905.EfWPUMtI-lkp@intel.com> (raw)
::::::
:::::: Manual check reason: "xtensa: dangerous relocation"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: Gopi Krishna Menon <krishnagopi487@gmail.com>
CC: Miquel Raynal <miquel.raynal@bootlin.com>
CC: Vignesh Raghavendra <vigneshr@ti.com>
Hi Gopi,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 72d3fcf802c45d00b300f25b848a93c3a2bd7c7e
commit: d496b6f42eb0455caf5d8cb30cf1f01b7fc2a747 mtd: cfi: use struct_size() helper for cfiq allocation
date: 1 year ago
:::::: branch date: 35 hours ago
:::::: commit date: 1 year ago
config: xtensa-randconfig-2001-20260929 (https://download.01.org/0day-ci/archive/20260929/202609290905.EfWPUMtI-lkp@intel.com/config)
compiler: xtensa-linux-gcc (GCC) 10.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260929/202609290905.EfWPUMtI-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
| Fixes: d496b6f42eb0 ("mtd: cfi: use struct_size() helper for cfiq allocation")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/202609290905.EfWPUMtI-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/mtd/chips/cfi_probe.o: in function `cfi_chip_setup':
cfi_probe.c:(.xiptext+0x9e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: _mcount
>> cfi_probe.c:(.xiptext+0x18e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: ftrace_likely_update
cfi_probe.c:(.xiptext+0x1a6): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: ftrace_likely_update
cfi_probe.c:(.xiptext+0x1ba): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __kmalloc_noprof
cfi_probe.c:(.xiptext+0x1df): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: ftrace_likely_update
cfi_probe.c:(.xiptext+0x1fa): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: ftrace_likely_update
cfi_probe.c:(.xiptext+0x20e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __kmalloc_noprof
cfi_probe.c:(.xiptext+0x236): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: memset
cfi_probe.c:(.xiptext+0x246): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_build_cmd
cfi_probe.c:(.xiptext+0x45c): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
cfi_probe.c:(.xiptext+0x472): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
cfi_probe.c:(.xiptext+0x488): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
cfi_probe.c:(.xiptext+0x49e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
cfi_probe.c:(.xiptext+0x4a8): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0x80)
cfi_probe.c:(.xiptext+0x4b4): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0x80)
cfi_probe.c:(.xiptext+0x4de): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0x100)
cfi_probe.c:(.xiptext+0x4eb): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0x100)
cfi_probe.c:(.xiptext+0x522): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0x188)
cfi_probe.c:(.xiptext+0x543): 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+0x5fa): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: _mcount
cfi_probe.c:(.xiptext+0x63e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: _printk
cfi_probe.c:(.xiptext+0x75c): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: _printk
cfi_probe.c:(.xiptext+0x7a4): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: _printk
cfi_probe.c:(.xiptext+0x81e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: _printk
drivers/mtd/chips/cfi_cmdset_0002.o: in function `cfi_cmdset_0002':
cfi_cmdset_0002.c:(.text+0x1630): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_read_pri
cfi_cmdset_0002.c:(.text+0x1732): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x60c)
drivers/mtd/chips/cfi_cmdset_0002.o: in function `get_chip':
cfi_cmdset_0002.c:(.text+0x183e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x60c)
drivers/mtd/chips/cfi_cmdset_0002.o: in function `cfi_amdstd_destroy':
cfi_cmdset_0002.c:(.text+0x20a3): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0xed4)
drivers/mtd/chips/cfi_cmdset_0002.o: in function `do_ppb_xxlock':
cfi_cmdset_0002.c:(.text+0x2316): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x60c)
cfi_cmdset_0002.c:(.text+0x2366): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x1b8)
drivers/mtd/chips/cfi_cmdset_0002.o: in function `cfi_ppb_unlock':
cfi_cmdset_0002.c:(.text+0x27f2): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x60c)
cfi_cmdset_0002.c:(.text+0x2842): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x60c)
drivers/mtd/chips/cfi_cmdset_0002.o: in function `do_panic_write_oneword':
cfi_cmdset_0002.c:(.text+0x29dc): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x60c)
cfi_cmdset_0002.c:(.text+0x2a28): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x60c)
drivers/mtd/chips/cfi_cmdset_0002.o: in function `cfi_amdstd_write_words':
cfi_cmdset_0002.c:(.text+0x34d2): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0xe04)
cfi_cmdset_0002.c:(.text+0x3798): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0xe04)
cfi_cmdset_0002.c:(.text+0x37e6): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0xe04)
drivers/mtd/chips/cfi_cmdset_0002.o: in function `cfi_amdstd_write_buffers':
cfi_cmdset_0002.c:(.text+0x3a78): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x1734)
drivers/mtd/chips/cfi_cmdset_0002.o: in function `do_otp_write':
cfi_cmdset_0002.c:(.text+0x3ce7): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0xe04)
drivers/mtd/chips/cfi_cmdset_0002.o: in function `do_read_secsi_onechip':
cfi_cmdset_0002.c:(.text+0x40c8): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_qry_mode_on
drivers/mtd/chips/cfi_cmdset_0002.o: in function `cfi_amdstd_otp_walk.isra.0':
cfi_cmdset_0002.c:(.text+0x440b): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_qry_mode_off
drivers/mtd/chips/cfi_cmdset_0002.o: in function `do_otp_lock':
cfi_cmdset_0002.c:(.text+0x47ff): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x60c)
cfi_cmdset_0002.c:(.text+0x484e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.xiptext+0x1b8)
drivers/mtd/chips/cfi_cmdset_0002.o: in function `xip_enable':
cfi_cmdset_0002.c:(.xiptext+0x4e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: _mcount
cfi_cmdset_0002.c:(.xiptext+0x70): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_build_cmd
drivers/mtd/chips/cfi_cmdset_0002.o: in function `do_write_buffer_reset':
cfi_cmdset_0002.c:(.xiptext+0xd6): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: _mcount
cfi_cmdset_0002.c:(.xiptext+0xee): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
cfi_cmdset_0002.c:(.xiptext+0x102): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
cfi_cmdset_0002.c:(.xiptext+0x117): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
drivers/mtd/chips/cfi_cmdset_0002.o: in function `xip_udelay':
cfi_cmdset_0002.c:(.xiptext+0x1be): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: _mcount
cfi_cmdset_0002.c:(.xiptext+0x1d8): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_build_cmd
cfi_cmdset_0002.c:(.xiptext+0x242): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_build_cmd
cfi_cmdset_0002.c:(.xiptext+0x2b7): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_build_cmd
cfi_cmdset_0002.c:(.xiptext+0x2fa): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_build_cmd
cfi_cmdset_0002.c:(.xiptext+0x31f): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_unlock
cfi_cmdset_0002.c:(.xiptext+0x327): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_lock
cfi_cmdset_0002.c:(.xiptext+0x34c): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0x1008)
cfi_cmdset_0002.c:(.xiptext+0x3c6): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __trace_set_current_state
cfi_cmdset_0002.c:(.xiptext+0x3e6): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: add_wait_queue
cfi_cmdset_0002.c:(.xiptext+0x3ee): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_unlock
cfi_cmdset_0002.c:(.xiptext+0x3f4): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: schedule
cfi_cmdset_0002.c:(.xiptext+0x3fe): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: remove_wait_queue
cfi_cmdset_0002.c:(.xiptext+0x406): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_lock
drivers/mtd/chips/cfi_cmdset_0002.o: in function `do_write_oneword_done':
cfi_cmdset_0002.c:(.xiptext+0x4e2): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: _mcount
cfi_cmdset_0002.c:(.xiptext+0x50c): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
cfi_cmdset_0002.c:(.xiptext+0x520): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
cfi_cmdset_0002.c:(.xiptext+0x536): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
cfi_cmdset_0002.c:(.xiptext+0x54a): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
cfi_cmdset_0002.c:(.xiptext+0x5aa): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0x1090)
cfi_cmdset_0002.c:(.xiptext+0x5b3): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_unlock
drivers/mtd/chips/cfi_cmdset_0002.o: in function `chip_ready':
cfi_cmdset_0002.c:(.xiptext+0x612): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: _mcount
cfi_cmdset_0002.c:(.xiptext+0x647): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_build_cmd
cfi_cmdset_0002.c:(.xiptext+0x662): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
drivers/mtd/chips/cfi_cmdset_0002.o: in function `chip_good':
cfi_cmdset_0002.c:(.xiptext+0x74a): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: _mcount
drivers/mtd/chips/cfi_cmdset_0002.o: in function `do_write_buffer_wait':
cfi_cmdset_0002.c:(.xiptext+0x7ee): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: _mcount
cfi_cmdset_0002.c:(.xiptext+0x7fa): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __usecs_to_jiffies
cfi_cmdset_0002.c:(.xiptext+0x866): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __trace_set_current_state
cfi_cmdset_0002.c:(.xiptext+0x88e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: add_wait_queue
cfi_cmdset_0002.c:(.xiptext+0x89b): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_unlock
cfi_cmdset_0002.c:(.xiptext+0x8a1): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: schedule
cfi_cmdset_0002.c:(.xiptext+0x8ae): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: remove_wait_queue
cfi_cmdset_0002.c:(.xiptext+0x8c2): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: mutex_lock
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-09-29 7:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202609290905.EfWPUMtI-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.