[PATCH RESEND] arm64: stacktrace: Report when we reach the end of the stack

Will Deacon will at kernel.org
Thu Feb 25 06:02:17 EST 2021


On Wed, 24 Feb 2021 16:50:37 +0000, Mark Brown wrote:
> Currently the arm64 unwinder code returns -EINVAL whenever it can't find
> the next stack frame, not distinguishing between cases where the stack has
> been corrupted or is otherwise in a state it shouldn't be and cases
> where we have reached the end of the stack. At the minute none of the
> callers care what error code is returned but this will be important for
> reliable stack trace which needs to be sure that the stack is intact.
> 
> [...]

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

[1/1] arm64: stacktrace: Report when we reach the end of the stack
      https://git.kernel.org/arm64/c/3c02600144bd

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-arm-kernel mailing list