diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2020-06-15 13:19:39 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-06-15 15:10:59 +0300 |
commit | 751c263bb74fd36b5fc2589d36abc75042336444 (patch) | |
tree | 85d992c17c18cd883184cb2e3d55ca82aae91ec7 /Documentation/arm64/sve.rst | |
parent | b3a9e3b9622ae10064826dccb4f7a52bd88c7407 (diff) | |
download | linux-751c263bb74fd36b5fc2589d36abc75042336444.tar.xz |
arm64: remove TEXT_OFFSET randomization
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.
Given the intent to get rid of TEXT_OFFSET entirely, let's fix this
oversight by just removing support for TEXT_OFFSET randomization.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20200615101939.634391-1-ardb@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'Documentation/arm64/sve.rst')
0 files changed, 0 insertions, 0 deletions