Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 20f2b4c2 authored by Ard Biesheuvel's avatar Ard Biesheuvel Committed by Kees Cook
Browse files

UPSTREAM: arm64/mm: add create_pgd_mapping() to create private page tables



For UEFI, we need to install the memory mappings used for Runtime Services
in a dedicated set of page tables. Add create_pgd_mapping(), which allows
us to allocate and install those page table entries early.

Reviewed-by: default avatarWill Deacon <will.deacon@arm.com>
Tested-by: default avatarLeif Lindholm <leif.lindholm@linaro.org>
Signed-off-by: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>

(cherry picked from commit 8ce837cee8f51fb0eacb32c85461ea2f0fafc9f8)
Signed-off-by: default avatarTomasz Figa <tfiga@chromium.org>

Bug: 24475017

Change-Id: Ide9c47e9d6491c20a1a441768f3405772cbb7eb6
Signed-off-by: default avatarKees Cook <keescook@google.com>
parent 77cde5df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment