From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============7951393154263890004==" MIME-Version: 1.0 From: kernel test robot Subject: arch/xtensa/boot/boot-elf/bootstrap.S:58: Error: invalid register 'atomctl' for 'wsr' instruction Date: Tue, 07 Jun 2022 01:41:33 +0800 Message-ID: <202206070100.W2bd4UfY-lkp@intel.com> List-Id: To: kbuild@lists.01.org --===============7951393154263890004== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable :::::: = :::::: Manual check reason: "low confidence static check first_new_problem:= arch/xtensa/boot/boot-elf/bootstrap.S:58: Error: invalid register 'atomctl= ' for 'wsr' instruction" :::::: = CC: kbuild-all(a)lists.01.org BCC: lkp(a)intel.com CC: linux-kernel(a)vger.kernel.org TO: Max Filippov Hi Max, First bad commit (maybe !=3D root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git = master head: f2906aa863381afb0015a9eb7fefad885d4e5a56 commit: c20e1117d9aa22c558646a1060ddd1dd042fb107 xtensa: add kernel ABI sel= ection to Kconfig date: 3 months ago :::::: branch date: 17 hours ago :::::: commit date: 3 months ago config: xtensa-randconfig-s031-20220605 (https://download.01.org/0day-ci/ar= chive/20220607/202206070100.W2bd4UfY-lkp(a)intel.com/config) compiler: xtensa-linux-gcc (GCC) 11.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/= make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.4-18-g56afb504-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.gi= t/commit/?id=3Dc20e1117d9aa22c558646a1060ddd1dd042fb107 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/gi= t/torvalds/linux.git git fetch --no-tags linus master git checkout c20e1117d9aa22c558646a1060ddd1dd042fb107 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.3.0 make.cross= C=3D1 CF=3D'-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=3Dbuild_dir ARCH=3Dx= tensa SHELL=3D/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): arch/xtensa/boot/boot-elf/bootstrap.S: Assembler messages: >> arch/xtensa/boot/boot-elf/bootstrap.S:58: Error: invalid register 'atomc= tl' for 'wsr' instruction arch/xtensa/boot/boot-elf/bootstrap.S:68: Warning: value 0x00000001a0003= 000 truncated to 0x00000000a0003000 vim +58 arch/xtensa/boot/boot-elf/bootstrap.S e85e335f8ff615f Max Filippov 2012-12-03 42 = e85e335f8ff615f Max Filippov 2012-12-03 43 .align 4 e85e335f8ff615f Max Filippov 2012-12-03 44 _SetupMMU: 09af39f649dac66 Max Filippov 2021-07-26 45 #if XCHAL_HAVE_WINDOWED e85e335f8ff615f Max Filippov 2012-12-03 46 movi a0, 0 e85e335f8ff615f Max Filippov 2012-12-03 47 wsr a0, windowbase e85e335f8ff615f Max Filippov 2012-12-03 48 rsync e85e335f8ff615f Max Filippov 2012-12-03 49 movi a0, 1 e85e335f8ff615f Max Filippov 2012-12-03 50 wsr a0, windowstart e85e335f8ff615f Max Filippov 2012-12-03 51 rsync 09af39f649dac66 Max Filippov 2021-07-26 52 #endif e85e335f8ff615f Max Filippov 2012-12-03 53 movi a0, 0x1F e85e335f8ff615f Max Filippov 2012-12-03 54 wsr a0, ps e85e335f8ff615f Max Filippov 2012-12-03 55 rsync e85e335f8ff615f Max Filippov 2012-12-03 56 = e85e335f8ff615f Max Filippov 2012-12-03 57 #ifndef CONFIG_INITIALIZE_XTEN= SA_MMU_INSIDE_VMLINUX e85e335f8ff615f Max Filippov 2012-12-03 @58 initialize_mmu :::::: The code at line 58 was first introduced by commit :::::: e85e335f8ff615f74e29e09cc2599f095600114b xtensa: add MMU v3 support :::::: TO: Max Filippov :::::: CC: Chris Zankel -- = 0-DAY CI Kernel Test Service https://01.org/lkp --===============7951393154263890004==--