Skip to content

Commit ee61f36

Browse files
brooniectmarinas
authored andcommitted
arm64: Relax booting requirements for configuration of traps
Currently we require that a number of system registers be configured to disable traps when starting the kernel. Add an explicit note that the requirement is that the system behave as if the traps are disabled so transparent handling of the traps is fine, this should be implicit for people familiar with working with standards documents but it doesn't hurt to be explicit. Signed-off-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
1 parent f6334b1 commit ee61f36

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Documentation/arm64/booting.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,10 @@ Before jumping into the kernel, the following conditions must be met:
279279

280280
The requirements described above for CPU mode, caches, MMUs, architected
281281
timers, coherency and system registers apply to all CPUs. All CPUs must
282-
enter the kernel in the same exception level.
282+
enter the kernel in the same exception level. Where the values documented
283+
disable traps it is permissible for these traps to be enabled so long as
284+
those traps are handled transparently by higher exception levels as though
285+
the values documented were set.
283286

284287
The boot loader is expected to enter the kernel on each CPU in the
285288
following manner:

0 commit comments

Comments
 (0)