aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2022-06-24 17:06:48 +0200
committerWill Deacon <[email protected]>2022-06-24 17:18:10 +0100
commit005e12676af09a308f18cb94aa593bb30dee031e (patch)
treeba48f41b9eb2ea64d31a5efcda994ce05df5e44b /lib/mpi/mpi-sub-ui.c
parent6495b9ba62711b581680fbdd90d0bfc48cf5c91b (diff)
arm64: head: record CPU boot mode after enabling the MMU
In order to avoid having to touch memory with the MMU and caches disabled, and therefore having to invalidate it from the caches explicitly, just defer storing the value until after the MMU has been turned on, unless we are giving up with an error. While at it, move the associated variable definitions into C code. Signed-off-by: Ard Biesheuvel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions