Skip to content

Commit d198c77

Browse files
brooniewilldeacon
authored andcommitted
arm64: Document boot requirements for FEAT_SME_FA64
The EAC1 release of the SME specification adds the FA64 feature which requires enablement at higher ELs before lower ELs can use it. Document what we require from higher ELs in our boot requirements. Signed-off-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
1 parent de56379 commit d198c77

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Documentation/arm64/booting.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,16 @@ Before jumping into the kernel, the following conditions must be met:
340340
- SMCR_EL2.LEN must be initialised to the same value for all CPUs the
341341
kernel will execute on.
342342

343+
For CPUs with the Scalable Matrix Extension FA64 feature (FEAT_SME_FA64)
344+
345+
- If EL3 is present:
346+
347+
- SMCR_EL3.FA64 (bit 31) must be initialised to 0b1.
348+
349+
- If the kernel is entered at EL1 and EL2 is present:
350+
351+
- SMCR_EL2.FA64 (bit 31) must be initialised to 0b1.
352+
343353
The requirements described above for CPU mode, caches, MMUs, architected
344354
timers, coherency and system registers apply to all CPUs. All CPUs must
345355
enter the kernel in the same exception level. Where the values documented

0 commit comments

Comments
 (0)