[PATCH v2] arm64: entry: simplify trampoline data page

Will Deacon will at kernel.org
Fri Jun 24 10:13:57 PDT 2022


On Wed, 22 Jun 2022 18:10:10 +0200, Ard Biesheuvel wrote:
> 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.
> 
> [...]

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

[1/1] arm64: entry: simplify trampoline data page
      https://git.kernel.org/arm64/c/1c9a8e876808

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-arm-kernel mailing list