aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2024-06-10 14:12:45 +0200
committerArd Biesheuvel <[email protected]>2024-06-15 10:25:02 +0200
commita1439d89480754ddbc0a837544129ff5100f4087 (patch)
tree7121645c174d9d1b71e44a84e64e152d70e0a299 /tools/testing/selftests/bpf/progs/test_autoload.c
parent99280413a5b785f22d91e8a8a66dc38f4a214495 (diff)
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 <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions