Skip to content

arm64: Fix for dynamic SCS under full LTO take #2

Ard Biesheuvel linux-arm-kernel 1 version Applied

Status from this message: Applied to arm64 (for-next/fixes), thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2arm64: Revert "scs: Work around full LTO issue with dynamic SCS"arch/arm64/kernel/Makefile+1 -70 replies
2/2arm64: scs: Disable LTO for SCS patching codearch/arm64/kernel/Makefile+6 -00 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSami TolvanenKees Cook
SeriesR-b T-b R-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

From: Ard Biesheuvel <[email protected]>

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.

Cc Sami Tolvanen <[email protected]>
Cc Kees Cook <[email protected]>

Ard Biesheuvel (2):
arm64: Revert "scs: Work around full LTO issue with dynamic SCS"
arm64: scs: Disable LTO for SCS patching code

 arch/arm64/kernel/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Signature · 7 lines
2.43.0.429.g432eaa2c6b-goog


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel