Skip to content

Commit e24e03a

Browse files
committed
arm64: docs: Mandate that the I-cache doesn't hold stale kernel text
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]>
1 parent 6a8b55e commit e24e03a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Documentation/arm64/booting.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,8 @@ Before jumping into the kernel, the following conditions must be met:
173173
- Caches, MMUs
174174

175175
The MMU must be off.
176-
Instruction cache may be on or off.
176+
The instruction cache may be on or off, and must not hold any stale
177+
entries corresponding to the loaded kernel image.
177178
The address range corresponding to the loaded kernel image must be
178179
cleaned to the PoC. In the presence of a system cache or other
179180
coherent masters with caches enabled, this will typically require

0 commit comments

Comments
 (0)