Thread (2 messages) 2 messages, 2 authors, 2023-12-07

Re: [PATCH] powerpc/ftrace: Fix stack teardown in ftrace_no_trace

From: Michael Ellerman <hidden>
Date: 2023-12-07 12:55:40

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help