mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
	Rodrigo Vivi <rodrigo.vivi@intel.com>,
	Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
Subject: arch/xtensa/include/asm/initialize_mmu.h:57: Error: invalid register 'atomctl' for 'wsr' instruction
Date: Sun, 08 Mar 2026 19:38:30 +0800	[thread overview]
Message-ID: <202603081945.JhpM0yD4-lkp@intel.com> (raw)

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

                 reply	other threads:[~2026-03-08 11:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202603081945.JhpM0yD4-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=balasubramani.vivekanandan@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=rodrigo.vivi@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®