summaryrefslogtreecommitdiff
path: root/Documentation/admin-guide
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2022-06-22 19:10:10 +0300
committerWill Deacon <will@kernel.org>2022-06-24 15:08:30 +0300
commit1c9a8e87680870d5daf1eaa6314373dcc156ac15 (patch)
tree7795f36f44351c6debfe7fc04d840d31ba3c9502 /Documentation/admin-guide
parent47546a1912fc4a037035746998c3cfa740beed70 (diff)
downloadlinux-1c9a8e87680870d5daf1eaa6314373dcc156ac15.tar.xz
arm64: entry: simplify trampoline data page
Get rid of some clunky open coded arithmetic on section addresses, by emitting the trampoline data variables into a separate, dedicated r/o data section, and putting it at the next page boundary. This way, we can access the literals via single LDR instruction. While at it, get rid of other, implicit literals, and use ADRP/ADD or MOVZ/MOVK sequences, as appropriate. Note that the latter are only supported for CONFIG_RELOCATABLE=n (which is usually the case if CONFIG_RANDOMIZE_BASE=n), so update the CPP conditionals to reflect this. Acked-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Link: https://lore.kernel.org/r/20220622161010.3845775-1-ardb@kernel.org Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'Documentation/admin-guide')
0 files changed, 0 insertions, 0 deletions