efi: arm: reduce minimum alignment of uncompressed kernel
authorArd Biesheuvel <ardb@kernel.org>
Thu, 12 Nov 2020 14:42:27 +0000 (15:42 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Wed, 9 Dec 2020 07:37:27 +0000 (08:37 +0100)
commitc0249238feefbbb99d517d06ace4338393901b67
tree5807b12d1cc91852966b2495219ef24064207106
parent4dbe44fb538c59a4adae5abfa9ded2f310250315
efi: arm: reduce minimum alignment of uncompressed kernel

Now that we reduced the minimum relative alignment between PHYS_OFFSET
and PAGE_OFFSET to 2 MiB, we can take this into account when allocating
memory for the decompressed kernel when booting via EFI. This minimizes
the amount of unusable memory we may end up with due to the base of DRAM
being occupied by firmware.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
arch/arm/include/asm/efi.h