All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64: Fix for dynamic SCS under full LTO take #2
@ 2024-01-23 13:30 Ard Biesheuvel
  2024-01-23 13:30 ` [PATCH 1/2] arm64: Revert "scs: Work around full LTO issue with dynamic SCS" Ard Biesheuvel
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Ard Biesheuvel @ 2024-01-23 13:30 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: will, catalin.marinas, mark.rutland, Ard Biesheuvel,
	Sami Tolvanen, Kees Cook

From: Ard Biesheuvel <ardb@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.

Cc: Sami Tolvanen <samitolvanen@google.com>
Cc: Kees Cook <keescook@chromium.org>

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(-)

-- 
2.43.0.429.g432eaa2c6b-goog


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-01-30 13:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-23 13:30 [PATCH 0/2] arm64: Fix for dynamic SCS under full LTO take #2 Ard Biesheuvel
2024-01-23 13:30 ` [PATCH 1/2] arm64: Revert "scs: Work around full LTO issue with dynamic SCS" Ard Biesheuvel
2024-01-23 13:30 ` [PATCH 2/2] arm64: scs: Disable LTO for SCS patching code Ard Biesheuvel
2024-01-23 17:06 ` [PATCH 0/2] arm64: Fix for dynamic SCS under full LTO take #2 Sami Tolvanen
2024-01-23 22:27 ` Kees Cook
2024-01-30 13:14 ` Will Deacon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.