[PATCH 0/4] arm64: head: pad Image header to 64 KB and unmap it
Will Deacon
will at kernel.org
Wed Oct 28 11:12:32 EDT 2020
On Tue, 27 Oct 2020 08:32:05 +0100, Ard Biesheuvel wrote:
> The EFI header definition was updated recently to increase the section
> alignment to 64 KB, which causes the EFI loader to put the kernel Image
> at an offset that is guaranteed to be compatible with the kernel's image
> placement policy when CONFIG_RELOCATABLE=y, removing the need to move it
> around in DRAM before boot.
>
> This change failed to take into account that the first section in the
> PE/COFF description should start at a 64 KB aligned boundary as well,
> and so even though EFI loaders don't seem to care, the current PE/COFF
> layout is not 100% compliant.
>
> [...]
Applied the first patch to arm64 (for-next/fixes), thanks!
[1/4] arm64: efi: increase EFI PE/COFF header padding to 64 KB
https://git.kernel.org/arm64/c/a2d50c1c77aa
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the linux-arm-kernel
mailing list