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

2023-12-07 Thread Michael Ellerman
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

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

2023-11-29 Thread Naveen N Rao
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