Re: [PATCH] arm64: remove TEXT_OFFSET randomization

Will Deacon
2020-06-15T16:34:15Z

On Mon, 15 Jun 2020 12:19:39 +0200, Ard Biesheuvel wrote:
> TEXT_OFFSET was recently changed to 0x0, in preparation for its removal
> at a later stage, and a warning is emitted into the kernel log when the
> bootloader appears to have failed to take the TEXT_OFFSET image header
> value into account.
>
> Ironically, this warning itself fails to take TEXT_OFFSET into account,
> and compares the kernel image's alignment modulo 2M against a hardcoded
> value of 0x0, and so the warning will trigger spuriously when TEXT_OFFSET
> randomization is enabled.
>
> [...]

Applied to arm64 (for-next/fixes), thanks!

[1/1] arm64: remove TEXT_OFFSET randomization
https://git.kernel.org/arm64/c/751c263bb74f

Cheers,
--
Will