[PATCH] powerpc/ftrace: Fix stack teardown in ftrace_no_trace
Michael Ellerman
patch-notifications at ellerman.id.au
Thu Dec 7 23:51:40 AEDT 2023
On Thu, 30 Nov 2023 12:29:47 +0530, Naveen N Rao wrote:
> Commit 41a506ef71eb ("powerpc/ftrace: Create a dummy stackframe to fix
> stack unwind") added use of a new stack frame on ftrace entry to fix
> stack unwind. However, the commit missed updating the offset used while
> tearing down the ftrace stack when ftrace is disabled. Fix the same.
>
> In addition, the commit missed saving the correct stack pointer in
> pt_regs. Update the same.
>
> [...]
Applied to powerpc/fixes.
[1/1] powerpc/ftrace: Fix stack teardown in ftrace_no_trace
https://git.kernel.org/powerpc/c/4b3338aaa74d7d4ec5b6734dc298f0db94ec83d2
cheers
More information about the Linuxppc-dev
mailing list