Re: [PATCH v3] ftrace: Consolidate ftrace_regs accessor functions for archs using pt_regs

2024-12-11 Thread patchwork-bot+linux-riscv
Hello: This patch was applied to riscv/linux.git (fixes) by Steven Rostedt (Google) : On Thu, 10 Oct 2024 20:21:14 -0400 you wrote: > From: Steven Rostedt > > Most architectures use pt_regs within ftrace_regs making a lot of the > accessor functions just calls to the pt_regs internally. Instead

Re: [PATCH v3] ftrace: Consolidate ftrace_regs accessor functions for archs using pt_regs

2024-10-11 Thread Steven Rostedt
On Fri, 11 Oct 2024 11:26:10 +0100 Catalin Marinas wrote: > On Thu, Oct 10, 2024 at 08:21:14PM -0400, Steven Rostedt wrote: > > diff --git a/arch/arm64/include/asm/ftrace.h > > b/arch/arm64/include/asm/ftrace.h > > index bbb69c7751b9..5ccff4de7f09 100644 > > --- a/arch/arm64/include/asm/ftrace.h

Re: [PATCH v3] ftrace: Consolidate ftrace_regs accessor functions for archs using pt_regs

2024-10-11 Thread Catalin Marinas
On Thu, Oct 10, 2024 at 08:21:14PM -0400, Steven Rostedt wrote: > diff --git a/arch/arm64/include/asm/ftrace.h b/arch/arm64/include/asm/ftrace.h > index bbb69c7751b9..5ccff4de7f09 100644 > --- a/arch/arm64/include/asm/ftrace.h > +++ b/arch/arm64/include/asm/ftrace.h > @@ -54,6 +54,7 @@ extern void

[PATCH v3] ftrace: Consolidate ftrace_regs accessor functions for archs using pt_regs

2024-10-10 Thread Steven Rostedt
From: Steven Rostedt Most architectures use pt_regs within ftrace_regs making a lot of the accessor functions just calls to the pt_regs internally. Instead of duplication this effort, use a HAVE_ARCH_FTRACE_REGS for architectures that have their own ftrace_regs that is not based on pt_regs and wi