diff options
author | Ard Biesheuvel <[email protected]> | 2022-06-24 17:06:41 +0200 |
---|---|---|
committer | Will Deacon <[email protected]> | 2022-06-24 17:18:10 +0100 |
commit | b013c1e1c659b0742f81cc4a95fe61faf6929ae5 (patch) | |
tree | 348c63400d3f9e30dba5e65bc23cd72683264de5 /lib/mpi/mpi-sub-ui.c | |
parent | 1682c45b920643cbde31d8a5b7ca7c2be92d6928 (diff) |
arm64: head: add helper function to remap regions in early page tables
The asm macros used to create the initial ID map and kernel mappings
don't support randomly remapping parts of the address space after it has
been populated. What we can do, however, given that all block or page
mappings are created at the final level, is take a subset of the mapped
range and update its attributes or output address. This will permit us
to make parts of these page tables read-only, or remap a part of it to
cover the device tree.
So add a helper that encapsulates this.
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