These patches enable (basic) reliable stacktracing for arm64, terminating at exception boundaries as we do not yet have data necessary to determine whether or not the LR is live.
The key changes are in patch 2, which is derived from Song Liu's earlier patch: https://lore.kernel.org/all/[email protected]/ ... with cleanups folded in, as discussed earlier: https://lore.kernel.org/all/aCs08i3u9C9MWy4M@J2N7QTR9R3/ https://lore.kernel.org/all/CAPhsuW4UVkXdShpo2TvisPhr6S1jFPkS_BKXAjN9cT3=k5s...@mail.gmail.com/ https://lore.kernel.org/all/20250520142845.GA18846@willie-the-truck/ ... and due to those changes I've dropped prior Reviewed-by and Tested-by tags, but kept everyone Cc'd. Actual support for livepatching will have to come as as a follow-up, as that requires additional support that Dylan Hatch is working on: https://lore.kernel.org/all/CADBMgpzPyW+EnB3A1Hr=lqghuen4puuj0qya44nh0qfq9tf...@mail.gmail.com/ Mark. Mark Rutland (1): arm64: stacktrace: Check kretprobe_find_ret_addr() return value Song Liu (1): arm64: stacktrace: Implement arch_stack_walk_reliable() arch/arm64/Kconfig | 2 +- arch/arm64/kernel/stacktrace.c | 55 +++++++++++++++++++++++++++------- 2 files changed, 46 insertions(+), 11 deletions(-) -- 2.30.2
