[PATCH v2 0/3] arm64: head: pad Image header to 64 KB and unmap it
Catalin Marinas
catalin.marinas at arm.com
Tue Nov 17 13:08:44 EST 2020
On Tue, 17 Nov 2020 13:47:26 +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 to arm64 (for-next/pad-image-header), thanks!
[1/3] arm64: omit [_text, _stext) from permanent kernel mapping
https://git.kernel.org/arm64/c/e2a073dde921
[2/3] arm64/head: avoid symbol names pointing into first 64 KB of kernel image
https://git.kernel.org/arm64/c/b50a3225cdff
[3/3] arm64: head: tidy up the Image header definition
https://git.kernel.org/arm64/c/7919385b9fb3
--
Catalin
More information about the linux-arm-kernel
mailing list