Skip to content

Commit f32c053

Browse files
kristina-martsenkoctmarinas
authored andcommitted
arm64: mops: document boot requirements for MOPS
FEAT_MOPS introduces new instructions, we require that these instructions not execute as UNDEFINED when we identify that the feature is supported. Signed-off-by: Kristina Martsenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
1 parent 306b4c9 commit f32c053

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Documentation/arm64/booting.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,12 @@ Before jumping into the kernel, the following conditions must be met:
379379

380380
- SMCR_EL2.EZT0 (bit 30) must be initialised to 0b1.
381381

382+
For CPUs with Memory Copy and Memory Set instructions (FEAT_MOPS):
383+
384+
- If the kernel is entered at EL1 and EL2 is present:
385+
386+
- HCRX_EL2.MSCEn (bit 11) must be initialised to 0b1.
387+
382388
The requirements described above for CPU mode, caches, MMUs, architected
383389
timers, coherency and system registers apply to all CPUs. All CPUs must
384390
enter the kernel in the same exception level. Where the values documented

0 commit comments

Comments
 (0)