mbox series

[0/2] arm64: stacktrace: Fixes

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

Message

Mark Rutland Dec. 11, 2024, 2:07 p.m. UTC
These patches fix a couple of issues in the arm64 stacktrace code. Both
address some fallout from the recent changes to unwinding across
exception boundaries, though the issue in the second patch has been
latent in the code for a while.

The first patch was previously posted independently at:

  https://lore.kernel.org/linux-arm-kernel/20241209110351.1876804-1-mark.rutland@arm.com/

... the version here has a better commit message, but is otherwise
unchanged.

The patches are based on v6.13-rc2, and I've given them some light
functional testing (booting them and running the test cases in the
commit messages).

Mark.

Mark Rutland (2):
  arm64: stacktrace: Skip reporting LR at exception boundaries
  arm64: stacktrace: Don't WARN when unwinding other tasks

 arch/arm64/kernel/stacktrace.c | 32 +++++++-------------------------
 1 file changed, 7 insertions(+), 25 deletions(-)

Comments

Catalin Marinas Dec. 12, 2024, 6:08 p.m. UTC | #1
On Wed, 11 Dec 2024 14:07:02 +0000, Mark Rutland wrote:
> These patches fix a couple of issues in the arm64 stacktrace code. Both
> address some fallout from the recent changes to unwinding across
> exception boundaries, though the issue in the second patch has been
> latent in the code for a while.
> 
> The first patch was previously posted independently at:
> 
> [...]

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

[1/2] arm64: stacktrace: Skip reporting LR at exception boundaries
      https://git.kernel.org/arm64/c/32ed1205682e
[2/2] arm64: stacktrace: Don't WARN when unwinding other tasks
      https://git.kernel.org/arm64/c/65ac33bed8b9