[PATCH 0/5] ARM: Convert to ARCH_STACKWALK

From: Li Huafei
Date: Mon Jul 11 2022 - 22:18:00 EST


This series mainly updates the ARM stack trace code to use the newer and
simpler arch_stack_walk() interface. Two issues were fixed before that
(see patch 1 and 2), as well as allowing stack_trace_save_tsk() to
trace non-current tasks (see patch 3).

Li Huafei (5):
ARM: stacktrace: Skip frame pointer boundary check for
call_with_stack()
ARM: stacktrace: Avoid duplicate saving of exception PC value
ARM: stacktrace: Allow stack trace saving for non-current tasks
ARM: stacktrace: Make stack walk callback consistent with generic code
ARM: stacktrace: Convert stacktrace to generic ARCH_STACKWALK

arch/arm/Kconfig | 1 +
arch/arm/include/asm/stacktrace.h | 8 +-
arch/arm/kernel/perf_callchain.c | 9 +-
arch/arm/kernel/return_address.c | 9 +-
arch/arm/kernel/stacktrace.c | 195 +++++++++++++-----------------
arch/arm/lib/call_with_stack.S | 2 +
6 files changed, 105 insertions(+), 119 deletions(-)

--
2.17.1