arch/xtensa/boot/boot-elf/bootstrap.S:56: Error: invalid register 'atomctl' for 'wsr' instruction

From: kernel test robot
Date: Sun Mar 20 2022 - 21:31:31 EST


Hi Arnd,

First bad commit (maybe != root cause):

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f443e374ae131c168a065ea1748feac6b2e76613
commit: 606b102876e3741851dfb09d53f3ee57f650a52c drm: fb_helper: fix CONFIG_FB dependency
date: 6 months ago
config: xtensa-randconfig-r011-20220321 (https://download.01.org/0day-ci/archive/20220321/202203210945.7IEjQF7k-lkp@xxxxxxxxx/config)
compiler: xtensa-linux-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=606b102876e3741851dfb09d53f3ee57f650a52c
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 606b102876e3741851dfb09d53f3ee57f650a52c
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.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@xxxxxxxxx>

All errors (new ones prefixed by >>):

arch/xtensa/boot/boot-elf/bootstrap.S: Assembler messages:
>> arch/xtensa/boot/boot-elf/bootstrap.S:56: Error: invalid register 'atomctl' for 'wsr' instruction
arch/xtensa/boot/boot-elf/bootstrap.S:66: Warning: value 0x1a0003000 truncated to 0xa0003000


vim +56 arch/xtensa/boot/boot-elf/bootstrap.S

e85e335f8ff615 Max Filippov 2012-12-03 42
e85e335f8ff615 Max Filippov 2012-12-03 43 .align 4
e85e335f8ff615 Max Filippov 2012-12-03 44 _SetupMMU:
e85e335f8ff615 Max Filippov 2012-12-03 45 movi a0, 0
e85e335f8ff615 Max Filippov 2012-12-03 46 wsr a0, windowbase
e85e335f8ff615 Max Filippov 2012-12-03 47 rsync
e85e335f8ff615 Max Filippov 2012-12-03 48 movi a0, 1
e85e335f8ff615 Max Filippov 2012-12-03 49 wsr a0, windowstart
e85e335f8ff615 Max Filippov 2012-12-03 50 rsync
e85e335f8ff615 Max Filippov 2012-12-03 51 movi a0, 0x1F
e85e335f8ff615 Max Filippov 2012-12-03 52 wsr a0, ps
e85e335f8ff615 Max Filippov 2012-12-03 53 rsync
e85e335f8ff615 Max Filippov 2012-12-03 54
e85e335f8ff615 Max Filippov 2012-12-03 55 #ifndef CONFIG_INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX
e85e335f8ff615 Max Filippov 2012-12-03 @56 initialize_mmu

:::::: The code at line 56 was first introduced by commit
:::::: e85e335f8ff615f74e29e09cc2599f095600114b xtensa: add MMU v3 support

:::::: TO: Max Filippov <jcmvbkbc@xxxxxxxxx>
:::::: CC: Chris Zankel <chris@xxxxxxxxxx>

--
0-DAY CI Kernel Test Service
https://01.org/lkp