summaryrefslogtreecommitdiff
path: root/arch/arm64/boot
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2023-08-07 19:27:18 +0300
committerBorislav Petkov (AMD) <bp@alien8.de>2023-08-07 22:01:46 +0300
commitbc5ddceff4c14494d83449ad45c985e6cd353fce (patch)
tree4867cffc891dad0cbf9215160e17abdb6ed650b1 /arch/arm64/boot
parent83381519352d6b5b3e429bf72aaab907480cb6b6 (diff)
downloadlinux-bc5ddceff4c14494d83449ad45c985e6cd353fce.tar.xz
efi/libstub: Add limit argument to efi_random_alloc()
x86 will need to limit the kernel memory allocation to the lowest 512 MiB of memory, to match the behavior of the existing bare metal KASLR physical randomization logic. So in preparation for that, add a limit parameter to efi_random_alloc() and wire it up. Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20230807162720.545787-22-ardb@kernel.org
Diffstat (limited to 'arch/arm64/boot')
0 files changed, 0 insertions, 0 deletions