summaryrefslogtreecommitdiffstats
path: root/arch/arm64/mm/mmu.c
diff options
context:
space:
mode:
authorArd Biesheuvel2016-06-29 14:51:28 +0200
committerCatalin Marinas2016-07-01 12:56:26 +0200
commit74c102c988cd48fff8055a0bfb84234fd3509419 (patch)
tree40d2b6b8b1fa26e847e5585244815b73687bc70a /arch/arm64/mm/mmu.c
parentarm64: efi: always map runtime services code and data regions down to pages (diff)
downloadkernel-qcow2-linux-74c102c988cd48fff8055a0bfb84234fd3509419.tar.gz
kernel-qcow2-linux-74c102c988cd48fff8055a0bfb84234fd3509419.tar.xz
kernel-qcow2-linux-74c102c988cd48fff8055a0bfb84234fd3509419.zip
arm64: efi: avoid block mappings for unaligned UEFI memory regions
When running the OS with a page size > 4 KB, we need to round up mappings for regions that are not aligned to the OS's page size. We already avoid block mappings for EfiRuntimeServicesCode/Data regions for other reasons, but in the unlikely event that other unaliged regions exists that have the EFI_MEMORY_RUNTIME attribute set, ensure that unaligned regions are always mapped down to pages. This way, the overlapping page is guaranteed not to be covered by a block mapping that needs to be split. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/mm/mmu.c')
0 files changed, 0 insertions, 0 deletions