mbox series

[v2,0/3] arm64: stacktrace: cleanups

Message ID 20230411162943.203199-1-mark.rutland@arm.com (mailing list archive)
Headers show
Series arm64: stacktrace: cleanups | expand

Message

Mark Rutland April 11, 2023, 4:29 p.m. UTC
Hi Catalin, Will,

These are a few minor cleanups for the arm64 stacktrace code, based on
v6.3-rc3. The first patch is a minor fix (which I don't think we need to
worry about backporting), and the last two are a cleanup for
consistency.

I'd originally intended to send these as part of a more substantial
rework of the stacktrace code, but due to some other recent time sinks
that's still in a half-baked state and I suspect I won't get that out
before v6.4.

Since v1 [1]:
* Fold in Kalesh's Reviewed-by tags
* avoid unused 'tsk' in unwind_recover_return_address()

[1] https://lore.kernel.org/linux-arm-kernel/20230324134958.2496891-1-mark.rutland@arm.com

Thanks,
Mark.

Mark Rutland (3):
  arm64: stacktrace: recover return address for first entry
  arm64: stacktrace: move dump functions to end of file
  arm64: stacktrace: always inline core stacktrace functions

 arch/arm64/kernel/stacktrace.c | 142 ++++++++++++++++++---------------
 1 file changed, 76 insertions(+), 66 deletions(-)

Comments

Will Deacon April 11, 2023, 6:37 p.m. UTC | #1
On Tue, 11 Apr 2023 17:29:40 +0100, Mark Rutland wrote:
> These are a few minor cleanups for the arm64 stacktrace code, based on
> v6.3-rc3. The first patch is a minor fix (which I don't think we need to
> worry about backporting), and the last two are a cleanup for
> consistency.
> 
> I'd originally intended to send these as part of a more substantial
> rework of the stacktrace code, but due to some other recent time sinks
> that's still in a half-baked state and I suspect I won't get that out
> before v6.4.
> 
> [...]

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

[1/3] arm64: stacktrace: recover return address for first entry
      https://git.kernel.org/arm64/c/9e09d445f1ca
[2/3] arm64: stacktrace: move dump functions to end of file
      https://git.kernel.org/arm64/c/ead6122c289e
[3/3] arm64: stacktrace: always inline core stacktrace functions
      https://git.kernel.org/arm64/c/b5ecc19e684e

Cheers,