]> Git Repo - linux.git/commitdiff
arm64: docs: Mandate that the I-cache doesn't hold stale kernel text
authorWill Deacon <[email protected]>
Thu, 23 Apr 2020 09:36:58 +0000 (10:36 +0100)
committerWill Deacon <[email protected]>
Tue, 28 Apr 2020 13:24:10 +0000 (14:24 +0100)
Although we require that the loaded kernel Image has been cleaned to the
PoC, we neglect to spell out the state of the I-cache. Although this
should be reasonably obvious, it doesn't hurt to be explicit.

Require that the I-cache doesn't hold any stale entries for the kernel
Image at boot.

Acked-by: Mark Rutland <[email protected]>
Acked-by: Catalin Marinas <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Catalin Marinas <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Documentation/arm64/booting.rst

index a3f1a47b6f1c54fa94954b456a2cda7bcbdc776b..d063c05d5fb055e50f02e250fe07eb3a9ad20914 100644 (file)
@@ -173,7 +173,8 @@ Before jumping into the kernel, the following conditions must be met:
 - Caches, MMUs
 
   The MMU must be off.
-  Instruction cache may be on or off.
+  The instruction cache may be on or off, and must not hold any stale
+  entries corresponding to the loaded kernel image.
   The address range corresponding to the loaded kernel image must be
   cleaned to the PoC. In the presence of a system cache or other
   coherent masters with caches enabled, this will typically require
This page took 0.054502 seconds and 4 git commands to generate.