[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20241226104242.688716d9@gandalf.local.home>
Date: Thu, 26 Dec 2024 10:42:42 -0500
From: Steven Rostedt <rostedt@...dmis.org>
To: "Masami Hiramatsu (Google)" <mhiramat@...nel.org>
Cc: Alexei Starovoitov <alexei.starovoitov@...il.com>, Florent Revest
<revest@...omium.org>, linux-trace-kernel@...r.kernel.org, LKML
<linux-kernel@...r.kernel.org>, Martin KaFai Lau <martin.lau@...ux.dev>,
bpf <bpf@...r.kernel.org>, Alexei Starovoitov <ast@...nel.org>, Jiri Olsa
<jolsa@...nel.org>, Alan Maguire <alan.maguire@...cle.com>, Mark Rutland
<mark.rutland@....com>, linux-arch@...r.kernel.org, Heiko Carstens
<hca@...ux.ibm.com>, Will Deacon <will@...nel.org>, Catalin Marinas
<catalin.marinas@....com>, Huacai Chen <chenhuacai@...nel.org>, WANG Xuerui
<kernel@...0n.name>, Paul Walmsley <paul.walmsley@...ive.com>, Palmer
Dabbelt <palmer@...belt.com>, Albert Ou <aou@...s.berkeley.edu>, Vasily
Gorbik <gor@...ux.ibm.com>, Alexander Gordeev <agordeev@...ux.ibm.com>,
Christian Borntraeger <borntraeger@...ux.ibm.com>, Sven Schnelle
<svens@...ux.ibm.com>, Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar
<mingo@...hat.com>, Borislav Petkov <bp@...en8.de>, Dave Hansen
<dave.hansen@...ux.intel.com>, x86@...nel.org, "H. Peter Anvin"
<hpa@...or.com>, Mathieu Desnoyers <mathieu.desnoyers@...icios.com>
Subject: Re: [PATCH v21 03/20] fgraph: Replace fgraph_ret_regs with
ftrace_regs
On Wed, 25 Dec 2024 22:33:00 +0900
Masami Hiramatsu (Google) <mhiramat@...nel.org> wrote:
> diff --git a/arch/x86/kernel/ftrace_32.S b/arch/x86/kernel/ftrace_32.S
> index 8e1a27d2c1eb..f4e0c3361234 100644
> --- a/arch/x86/kernel/ftrace_32.S
> +++ b/arch/x86/kernel/ftrace_32.S
> @@ -194,8 +194,8 @@ return_to_handler:
> movl %esp, %eax
> call ftrace_return_to_handler
> movl %eax, %ecx
> - movl %eax, PT_EAX(%esp)
> - movl %edx, PT_EDX(%esp)
> + movl PT_EAX(%esp), %eax
> + movl PT_EDX(%esp), %edx
> addl $(PTREGS_SIZE), %esp
> JMP_NOSPEC ecx
> #endif
This appears to fix the issue. I'll start running your latest series
through my tests.
Thanks,
-- Steve
Powered by blists - more mailing lists