All of lore.kernel.org
 help / color / mirror / Atom feed
* arch/xtensa/kernel/entry.S:1436:(.exception.text+0x233): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: make_task_dead
@ 2025-10-20  3:18 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-10-20  3:18 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
CC: linux-kernel@vger.kernel.org
TO: Arnd Bergmann <arnd@arndb.de>
CC: Hans Verkuil <hverkuil@xs4all.nl>

Hi Arnd,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   211ddde0823f1442e4ad052a2f30f050145ccada
commit: 8d46603eeeb4c6abff1d2e49f2a6ae289dac765e media: cxd2841er: fix 64-bit division on gcc-9
date:   11 months ago
:::::: branch date: 2 hours ago
:::::: commit date: 11 months ago
config: xtensa-randconfig-002-20251020 (https://download.01.org/0day-ci/archive/20251020/202510201147.QigCaeXP-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/20251020/202510201147.QigCaeXP-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/202510201147.QigCaeXP-lkp@intel.com/

All errors (new ones prefixed by >>):

   arch/xtensa/kernel/entry.o: in function `fast_syscall_spill_registers':
>> arch/xtensa/kernel/entry.S:1436:(.exception.text+0x233): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: make_task_dead


vim +1436 arch/xtensa/kernel/entry.S

6b5a1f74e50170e Chris Zankel      2014-01-28  1413  
6b5a1f74e50170e Chris Zankel      2014-01-28  1414  	/* We get here because of an unrecoverable error in the window
6b5a1f74e50170e Chris Zankel      2014-01-28  1415  	 * registers, so set up a dummy frame and kill the user application.
6b5a1f74e50170e Chris Zankel      2014-01-28  1416  	 * Note: We assume EXC_TABLE_KSTK contains a valid stack pointer.
6b5a1f74e50170e Chris Zankel      2014-01-28  1417  	 */
6b5a1f74e50170e Chris Zankel      2014-01-28  1418  
6b5a1f74e50170e Chris Zankel      2014-01-28  1419  	movi	a0, 1
6b5a1f74e50170e Chris Zankel      2014-01-28  1420  	movi	a1, 0
6b5a1f74e50170e Chris Zankel      2014-01-28  1421  
6b5a1f74e50170e Chris Zankel      2014-01-28  1422  	wsr	a0, windowstart
6b5a1f74e50170e Chris Zankel      2014-01-28  1423  	wsr	a1, windowbase
6b5a1f74e50170e Chris Zankel      2014-01-28  1424  	rsync
6b5a1f74e50170e Chris Zankel      2014-01-28  1425  
6b5a1f74e50170e Chris Zankel      2014-01-28  1426  	movi	a0, 0
6b5a1f74e50170e Chris Zankel      2014-01-28  1427  
6b5a1f74e50170e Chris Zankel      2014-01-28  1428  	rsr	a3, excsave1
6b5a1f74e50170e Chris Zankel      2014-01-28  1429  	l32i	a1, a3, EXC_TABLE_KSTK
6b5a1f74e50170e Chris Zankel      2014-01-28  1430  
0b5372570b1f3fc Max Filippov      2021-05-01  1431  	movi	a4, KERNEL_PS_WOE_MASK | LOCKLEVEL
6b5a1f74e50170e Chris Zankel      2014-01-28  1432  	wsr	a4, ps
6b5a1f74e50170e Chris Zankel      2014-01-28  1433  	rsync
6b5a1f74e50170e Chris Zankel      2014-01-28  1434  
0b5372570b1f3fc Max Filippov      2021-05-01  1435  	movi	abi_arg0, SIGSEGV
85be9ae7b630928 Eric W. Biederman 2022-01-05 @1436  	abi_call	make_task_dead
6b5a1f74e50170e Chris Zankel      2014-01-28  1437  
6b5a1f74e50170e Chris Zankel      2014-01-28  1438  	/* shouldn't return, so panic */
6b5a1f74e50170e Chris Zankel      2014-01-28  1439  
6b5a1f74e50170e Chris Zankel      2014-01-28  1440  	wsr	a0, excsave1
2da03d4114b2587 Max Filippov      2017-12-09  1441  	call0	unrecoverable_exception		# should not return
6b5a1f74e50170e Chris Zankel      2014-01-28  1442  1:	j	1b
6b5a1f74e50170e Chris Zankel      2014-01-28  1443  
6b5a1f74e50170e Chris Zankel      2014-01-28  1444  

:::::: The code at line 1436 was first introduced by commit
:::::: 85be9ae7b63092895b6e7ac87a3ef383c679866c exit/xtensa: In arch/xtensa/entry.S:Linvalid_mask call make_task_dead

:::::: TO: Eric W. Biederman <ebiederm@xmission.com>
:::::: CC: Eric W. Biederman <ebiederm@xmission.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:[~2025-10-20  3:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-20  3:18 arch/xtensa/kernel/entry.S:1436:(.exception.text+0x233): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: make_task_dead 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.