[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202108070245.eh8QVqPH-lkp@intel.com>
Date: Sat, 7 Aug 2021 02:36:57 +0800
From: kernel test robot <lkp@...el.com>
To: Max Filippov <jcmvbkbc@...il.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [jcmvbkbc-xtensa:xtensa-5.14-call0 7/10]
arch/xtensa/kernel/entry.S:178: Error: operand 3 of 'bbsi' has out of range
value '159'
Hi Max,
First bad commit (maybe != root cause):
tree: https://github.com/jcmvbkbc/linux-xtensa xtensa-5.14-call0
head: c929fa543ba83fa34c6f411ea26f0fc78304f960
commit: 663b81c5372e859bfadcdc7212d95eb6b427bb05 [7/10] xtensa: implement call0 ABI support in assembly
config: xtensa-buildonly-randconfig-r002-20210805 (attached as .config)
compiler: xtensa-linux-gcc (GCC) 10.3.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://github.com/jcmvbkbc/linux-xtensa/commit/663b81c5372e859bfadcdc7212d95eb6b427bb05
git remote add jcmvbkbc-xtensa https://github.com/jcmvbkbc/linux-xtensa
git fetch --no-tags jcmvbkbc-xtensa xtensa-5.14-call0
git checkout 663b81c5372e859bfadcdc7212d95eb6b427bb05
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=xtensa SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
arch/xtensa/kernel/entry.S: Assembler messages:
>> arch/xtensa/kernel/entry.S:178: Error: operand 3 of 'bbsi' has out of range value '159'
arch/xtensa/kernel/entry.S:183: Error: operand 3 of 'bbsi' has out of range value '144'
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for LOCKDEP
Depends on DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT && (FRAME_POINTER || MIPS || PPC || S390 || MICROBLAZE || ARM || ARC || X86)
Selected by
- LOCK_STAT && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
- DEBUG_LOCK_ALLOC && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
vim +178 arch/xtensa/kernel/entry.S
c50842df47970ea Chris Zankel 2013-02-23 157
5a0015d62668e64 Chris Zankel 2005-06-23 158 /* Rotate ws so that the current windowbase is at bit0. */
5a0015d62668e64 Chris Zankel 2005-06-23 159 /* Assume ws = xxwww1yyyy. Rotate ws right, so that a2 = yyyyxxwww1 */
5a0015d62668e64 Chris Zankel 2005-06-23 160
663b81c5372e859 Max Filippov 2021-05-01 161 #if defined(USER_SUPPORT_WINDOWED)
bc5378fcba97431 Max Filippov 2012-10-15 162 rsr a2, windowbase
bc5378fcba97431 Max Filippov 2012-10-15 163 rsr a3, windowstart
663b81c5372e859 Max Filippov 2021-05-01 164 #else
663b81c5372e859 Max Filippov 2021-05-01 165 movi a2, 0
663b81c5372e859 Max Filippov 2021-05-01 166 movi a3, 1
663b81c5372e859 Max Filippov 2021-05-01 167 #endif
5a0015d62668e64 Chris Zankel 2005-06-23 168 ssr a2
5a0015d62668e64 Chris Zankel 2005-06-23 169 s32i a2, a1, PT_WINDOWBASE
5a0015d62668e64 Chris Zankel 2005-06-23 170 s32i a3, a1, PT_WINDOWSTART
5a0015d62668e64 Chris Zankel 2005-06-23 171 slli a2, a3, 32-WSBITS
5a0015d62668e64 Chris Zankel 2005-06-23 172 src a2, a3, a2
5a0015d62668e64 Chris Zankel 2005-06-23 173 srli a2, a2, 32-WSBITS
5a0015d62668e64 Chris Zankel 2005-06-23 174 s32i a2, a1, PT_WMASK # needed for restoring registers
5a0015d62668e64 Chris Zankel 2005-06-23 175
5a0015d62668e64 Chris Zankel 2005-06-23 176 /* Save only live registers. */
5a0015d62668e64 Chris Zankel 2005-06-23 177
5a0015d62668e64 Chris Zankel 2005-06-23 @178 _bbsi.l a2, 1, 1f
5a0015d62668e64 Chris Zankel 2005-06-23 179 s32i a4, a1, PT_AREG4
5a0015d62668e64 Chris Zankel 2005-06-23 180 s32i a5, a1, PT_AREG5
5a0015d62668e64 Chris Zankel 2005-06-23 181 s32i a6, a1, PT_AREG6
5a0015d62668e64 Chris Zankel 2005-06-23 182 s32i a7, a1, PT_AREG7
5a0015d62668e64 Chris Zankel 2005-06-23 183 _bbsi.l a2, 2, 1f
5a0015d62668e64 Chris Zankel 2005-06-23 184 s32i a8, a1, PT_AREG8
5a0015d62668e64 Chris Zankel 2005-06-23 185 s32i a9, a1, PT_AREG9
5a0015d62668e64 Chris Zankel 2005-06-23 186 s32i a10, a1, PT_AREG10
5a0015d62668e64 Chris Zankel 2005-06-23 187 s32i a11, a1, PT_AREG11
5a0015d62668e64 Chris Zankel 2005-06-23 188 _bbsi.l a2, 3, 1f
5a0015d62668e64 Chris Zankel 2005-06-23 189 s32i a12, a1, PT_AREG12
5a0015d62668e64 Chris Zankel 2005-06-23 190 s32i a13, a1, PT_AREG13
5a0015d62668e64 Chris Zankel 2005-06-23 191 s32i a14, a1, PT_AREG14
5a0015d62668e64 Chris Zankel 2005-06-23 192 s32i a15, a1, PT_AREG15
663b81c5372e859 Max Filippov 2021-05-01 193
:::::: The code at line 178 was first introduced by commit
:::::: 5a0015d62668e64c8b6e02e360fbbea121bfd5e6 [PATCH] xtensa: Architecture support for Tensilica Xtensa Part 3
:::::: TO: Chris Zankel <czankel@...silica.com>
:::::: CC: Linus Torvalds <torvalds@...970.osdl.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (30515 bytes)
Powered by blists - more mailing lists