mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* arch/xtensa/include/asm/initialize_mmu.h:57: Error: invalid register 'atomctl' for 'wsr' instruction
@ 2026-03-08 11:38 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-03-08 11:38 UTC (permalink / raw)
  Cc: oe-kbuild-all, linux-kernel, Rodrigo Vivi, Balasubramani Vivekanandan

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   c23719abc3308df7ed3ad35650ad211fb2d2003d
commit: b67e7422d229dead0dddaad7e7c05558f24d552f drm/xe: Fix build with CONFIG_MODULES=n
date:   6 months ago
config: xtensa-randconfig-r053-20260308 (https://download.01.org/0day-ci/archive/20260308/202603081945.JhpM0yD4-lkp@intel.com/config)
compiler: xtensa-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260308/202603081945.JhpM0yD4-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/oe-kbuild-all/202603081945.JhpM0yD4-lkp@intel.com/

All errors (new ones prefixed by >>):

   arch/xtensa/include/asm/initialize_mmu.h: Assembler messages:
>> arch/xtensa/include/asm/initialize_mmu.h:57: Error: invalid register 'atomctl' for 'wsr' instruction
   arch/xtensa/boot/boot-elf/bootstrap.S:58:  Info: macro invoked from here
   arch/xtensa/boot/boot-elf/bootstrap.S:68: Warning: value 0x1a0003000 truncated to 0xa0003000


vim +57 arch/xtensa/include/asm/initialize_mmu.h

c622b29d1f3802 Max Filippov    2012-11-19  40  
c622b29d1f3802 Max Filippov    2012-11-19  41  	.macro	initialize_mmu
c622b29d1f3802 Max Filippov    2012-11-19  42  
c622b29d1f3802 Max Filippov    2012-11-19  43  #if XCHAL_HAVE_S32C1I && (XCHAL_HW_MIN_VERSION >= XTENSA_HWVERSION_RC_2009_0)
c622b29d1f3802 Max Filippov    2012-11-19  44  /*
c622b29d1f3802 Max Filippov    2012-11-19  45   * We Have Atomic Operation Control (ATOMCTL) Register; Initialize it.
87670c577041dc Jonathan Corbet 2023-03-23  46   * For details see Documentation/arch/xtensa/atomctl.rst
c622b29d1f3802 Max Filippov    2012-11-19  47   */
c622b29d1f3802 Max Filippov    2012-11-19  48  #if XCHAL_DCACHE_IS_COHERENT
c622b29d1f3802 Max Filippov    2012-11-19  49  	movi	a3, 0x25	/* For SMP/MX -- internal for writeback,
c622b29d1f3802 Max Filippov    2012-11-19  50  				 * RCW otherwise
c622b29d1f3802 Max Filippov    2012-11-19  51  				 */
c622b29d1f3802 Max Filippov    2012-11-19  52  #else
c622b29d1f3802 Max Filippov    2012-11-19  53  	movi	a3, 0x29	/* non-MX -- Most cores use Std Memory
c622b29d1f3802 Max Filippov    2012-11-19  54  				 * Controlers which usually can't use RCW
c622b29d1f3802 Max Filippov    2012-11-19  55  				 */
c622b29d1f3802 Max Filippov    2012-11-19  56  #endif
c622b29d1f3802 Max Filippov    2012-11-19 @57  	wsr	a3, atomctl
c622b29d1f3802 Max Filippov    2012-11-19  58  #endif  /* XCHAL_HAVE_S32C1I &&
c622b29d1f3802 Max Filippov    2012-11-19  59  	 * (XCHAL_HW_MIN_VERSION >= XTENSA_HWVERSION_RC_2009_0)
c622b29d1f3802 Max Filippov    2012-11-19  60  	 */
c622b29d1f3802 Max Filippov    2012-11-19  61  

:::::: The code at line 57 was first introduced by commit
:::::: c622b29d1f38021411965b7e0170ab055551b257 xtensa: initialize atomctl SR

:::::: TO: Max Filippov <jcmvbkbc@gmail.com>
:::::: CC: Chris Zankel <chris@zankel.net>

-- 
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:[~2026-03-08 11:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-08 11:38 arch/xtensa/include/asm/initialize_mmu.h:57: Error: invalid register 'atomctl' for 'wsr' instruction kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®