Re: [PATCH] powerpc64/ftrace: fix clobbered r15 during livepatching

2025-05-03 Thread Madhavan Srinivasan
On Thu, 17 Apr 2025 00:42:27 +0530, Hari Bathini wrote: > While r15 is clobbered always with PPC_FTRACE_OUT_OF_LINE, it is > not restored in livepatch sequence leading to not so obvious fails > like below: > > BUG: Unable to handle kernel data access on write at 0xc00f9078 > Faulting i

Re: [PATCH] powerpc64/ftrace: fix clobbered r15 during livepatching

2025-04-19 Thread Naveen N Rao
On Thu, Apr 17, 2025 at 12:42:27AM +0530, Hari Bathini wrote: > While r15 is clobbered always with PPC_FTRACE_OUT_OF_LINE, it is > not restored in livepatch sequence leading to not so obvious fails > like below: > > BUG: Unable to handle kernel data access on write at 0xc00f9078 > Faul

Re: [PATCH] powerpc64/ftrace: fix clobbered r15 during livepatching

2025-04-17 Thread Viktor Malik
On 4/16/25 21:12, Hari Bathini wrote: > While r15 is clobbered always with PPC_FTRACE_OUT_OF_LINE, it is > not restored in livepatch sequence leading to not so obvious fails > like below: > > BUG: Unable to handle kernel data access on write at 0xc00f9078 > Faulting instruction address