summaryrefslogtreecommitdiff
path: root/drivers/firmware/efi/memmap.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2024-06-10 14:12:45 +0200
committerArd Biesheuvel <ardb@kernel.org>2024-06-15 10:25:02 +0200
commita1439d89480754ddbc0a837544129ff5100f4087 (patch)
tree7121645c174d9d1b71e44a84e64e152d70e0a299 /drivers/firmware/efi/memmap.c
parent99280413a5b785f22d91e8a8a66dc38f4a214495 (diff)
downloadlinux-a1439d89480754ddbc0a837544129ff5100f4087.tar.gz
linux-a1439d89480754ddbc0a837544129ff5100f4087.tar.bz2
linux-a1439d89480754ddbc0a837544129ff5100f4087.zip
efi/arm: Disable LPAE PAN when calling EFI runtime services
EFI runtime services are remapped into the lower 1 GiB of virtual address space at boot, so they are guaranteed to be able to co-exist with the kernel virtual mappings without the need to allocate space for them in the kernel's vmalloc region, which is rather small. This means those mappings are covered by TTBR0 when LPAE PAN is enabled, and so 'user' access must be enabled while such calls are in progress. Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'drivers/firmware/efi/memmap.c')
0 files changed, 0 insertions, 0 deletions