Skip to content
Commit 8e81ac57 authored by James Morse's avatar James Morse
Browse files

arm64: kexec: Copy and install a copy of the linear-map



To perform the kexec relocations with the MMU enabled, we need a copy
of the linear map.

Create one, and install it from the relocation code. This has to be done
from the assembly code as it will be idmapped with TTBR0. The kernel
runs in TTRB1, so can't use the break-before-make sequence on the mapping
it is executing from.

The makes no difference yet as the relocation code runs with the MMU
disabled.

Signed-off-by: James Morse's avatarJames Morse <james.morse@arm.com>
parent 240cc75e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment