From: kernel test robot <lkp@intel.com>
To: David Woodhouse <dwmw@amazon.co.uk>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [dwmw2:spinwait-will2fix 5/10] arch/arm64/kernel/kexec-spinwait-blob.S:81: Error: unknown or missing system register name at operand 2 -- `mrs x12,id_aa64mmfr3_el1'
Date: Thu, 15 Oct 2026 06:47:47 +0800 [thread overview]
Message-ID: <202610150646.cOcWGIET-lkp@intel.com> (raw)
tree: git://git.infradead.org/users/dwmw2/linux spinwait-will2fix
head: 6168c3fb6d138a1d9c76f689120ece00dad14ad7
commit: e67cecaa9d0018427841299ef21aeabfb6be17d3 [5/10] arm64: kexec: support spinwait parking and adoption
config: arm64-randconfig-1002-20261015 (https://download.01.org/0day-ci/archive/20261015/202610150646.cOcWGIET-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261015/202610150646.cOcWGIET-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/202610150646.cOcWGIET-lkp@intel.com/
All errors (new ones prefixed by >>):
arch/arm64/kernel/kexec-spinwait-blob.S: Assembler messages:
>> arch/arm64/kernel/kexec-spinwait-blob.S:81: Error: unknown or missing system register name at operand 2 -- `mrs x12,id_aa64mmfr3_el1'
vim +81 arch/arm64/kernel/kexec-spinwait-blob.S
47
48 .section .rodata
49 .balign PAGE_SIZE
50 .globl arch_kexec_spinwait_blob_start
51 arch_kexec_spinwait_blob_start:
52 mov x19, x0 /* slot PA */
53 mov x20, x1 /* hdr PA */
54 mov x21, xzr /* MMU state */
55
56 adr x9, 77f /* crash vectors */
57 msr vbar_el1, x9
58 isb
59
60 /*
61 * If the header carries an identity map, park with the MMU and
62 * caches on: parked CPUs then wait as ordinary cacheable,
63 * coherent, promptly-DVM-responding citizens. (MMU-off waiters
64 * cost the incoming kernel ~200ms of paging_init() on some
65 * implementations, where broadcast TLBI + DSB ISH completion
66 * slows against PEs sitting in WFE with the MMU off.)
67 */
68 ldr x9, [x20, #HDR_TTBR]
69 cbz x9, 5f
70 ldr x10, [x20, #HDR_TCR]
71 ldr x11, [x20, #HDR_MAIR]
72 msr mair_el1, x11
73 msr tcr_el1, x10
74 msr ttbr0_el1, x9
75 /*
76 * The kernel may have been running with FEAT_S1PIE/POE enabled
77 * in TCR2_EL1, which would reinterpret this regime's direct AP
78 * bits as permission-indirection indices: reset TCR2 when it is
79 * implemented (ID_AA64MMFR3_EL1.TCRX).
80 */
> 81 mrs x12, id_aa64mmfr3_el1
82 tst x12, #0xf
83 b.eq 4f
84 msr REG_TCR2_EL1, xzr
85 4: isb
86 tlbi vmalle1
87 dsb nsh
88 ic iallu
89 dsb nsh
90 isb
91 mrs x9, sctlr_el1
92 orr x9, x9, #SCTLR_ELx_M
93 orr x9, x9, #SCTLR_ELx_C
94 orr x9, x9, #SCTLR_ELx_I
95 msr sctlr_el1, x9
96 isb
97 mov x21, #1
98
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-10-14 22:48 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=202610150646.cOcWGIET-lkp@intel.com \
--to=lkp@intel.com \
--cc=dwmw@amazon.co.uk \
--cc=oe-kbuild-all@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.