[PATCH] arm64: scs: Work around full LTO issue with dynamic SCS

Will Deacon will at kernel.org
Fri Jan 12 05:42:39 PST 2024


On Wed, 10 Jan 2024 14:26:20 +0100, Ard Biesheuvel wrote:
> From: Ard Biesheuvel <ardb at kernel.org>
> 
> Full LTO takes the '-mbranch-protection=none' passed to the compiler
> when generating the dynamic shadow call stack patching code as a hint to
> stop emitting PAC instructions altogether. (Thin LTO appears unaffected
> by this)
> 
> [...]

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

[1/1] arm64: scs: Work around full LTO issue with dynamic SCS
      https://git.kernel.org/arm64/c/8c5a19cb17a7

Cheers,
-- 
Will

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



More information about the linux-arm-kernel mailing list