From: Mark Rutland <mark.rutland@arm.com>
To: linux-arm-kernel@lists.infradead.org
Cc: andrea.porta@suse.com, catalin.marinas@arm.com,
jpoimboe@kernel.org, leitao@debian.org,
linux-toolchains@vger.kernel.org, live-patching@vger.kernel.org,
mark.rutland@arm.com, mbenes@suse.cz, pmladek@suse.com,
song@kernel.org, will@kernel.org
Subject: [PATCH 0/2] arm64: stacktrace: Enable reliable stacktrace
Date: Wed, 21 May 2025 12:09:58 +0100 [thread overview]
Message-ID: <20250521111000.2237470-1-mark.rutland@arm.com> (raw)
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/20250320171559.3423224-2-song@kernel.org/
... with cleanups folded in, as discussed earlier:
https://lore.kernel.org/all/aCs08i3u9C9MWy4M@J2N7QTR9R3/
https://lore.kernel.org/all/CAPhsuW4UVkXdShpo2TvisPhr6S1jFPkS_BKXAjN9cT3=k5SAFg@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=LQGhuen4pUuJ0QYa44nH0qfQ9TFaSQ@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
next reply other threads:[~2025-05-21 11:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-21 11:09 Mark Rutland [this message]
2025-05-21 11:09 ` [PATCH 1/2] arm64: stacktrace: Check kretprobe_find_ret_addr() return value Mark Rutland
2025-05-21 16:35 ` Song Liu
2025-05-21 11:10 ` [PATCH 2/2] arm64: stacktrace: Implement arch_stack_walk_reliable() Mark Rutland
2025-06-20 12:35 ` [PATCH 0/2] arm64: stacktrace: Enable reliable stacktrace Catalin Marinas
2025-06-20 20:45 ` Song Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250521111000.2237470-1-mark.rutland@arm.com \
--to=mark.rutland@arm.com \
--cc=andrea.porta@suse.com \
--cc=catalin.marinas@arm.com \
--cc=jpoimboe@kernel.org \
--cc=leitao@debian.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-toolchains@vger.kernel.org \
--cc=live-patching@vger.kernel.org \
--cc=mbenes@suse.cz \
--cc=pmladek@suse.com \
--cc=song@kernel.org \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).