Re: [PATCH v1 0/5] Implement livepatch on PPC32

From
Christophe Leroy <hidden>
Date
2021-12-14 07:35:21
Also in
linux-s390, linuxppc-dev, lkml
Reply to
Christophe Leroy, 2021-12-14

Le 14/12/2021 à 07:09, Christophe Leroy a écrit :

Le 13/12/2021 à 20:46, Steven Rostedt a écrit :
quoted
On Mon, 13 Dec 2021 19:33:47 +0000
Christophe Leroy [off-list ref] wrote:
quoted
STill the same Oops, below
Unfortunately, I don't have a PPC machine (32 nor 64 bit) to help debug
this.

quoted
I will look more closely tomorrow.
OK, thanks.
The Oops was due to ftrace_caller() setting the regs argument to NULL.

After fixing that, I'm back into a situation where I get "Testing tracer function_graph: FAILED!"

Will continue investigating.
trace_selftest_startup_function_graph() calls register_ftrace_direct() which returns -ENOSUPP because powerpc doesn't select CONFIG_DYNAMIC_FTRACE_WITH_DIRECT_CALLS.

Should TEST_DIRECT_TRAMP depend on CONFIG_DYNAMIC_FTRACE_WITH_DIRECT_CALLS ?

Christophe
Thread (27 messages) 27 messages, 7 authors, last reply 2021-12-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help