[PATCH 0/2] arm64: Fix for dynamic SCS under full LTO take #2

Will Deacon will at kernel.org
Tue Jan 30 05:14:51 PST 2024


On Tue, 23 Jan 2024 14:30:53 +0100, Ard Biesheuvel wrote:
> From: Ard Biesheuvel <ardb at kernel.org>
> 
> Disabling unwind table generation turns out not to fix the issue with
> full LTO and dynamic shadow call stack, as reported by Sami. So instead,
> disable LTO for the compilation unit in question.
> 
> Implemented as a revert + new patch so that only the real fix needs to
> go to -stable.
> 
> [...]

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

[1/2] arm64: Revert "scs: Work around full LTO issue with dynamic SCS"
      https://git.kernel.org/arm64/c/2fa28abd1090
[2/2] arm64: scs: Disable LTO for SCS patching code
      https://git.kernel.org/arm64/c/d104a6fef3fe

Cheers,
-- 
Will

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



More information about the linux-arm-kernel mailing list