Files
linux/arch/powerpc/kernel
Christophe Leroy df45a55788 powerpc/ftrace: Add recursion protection in prepare_ftrace_return()
The function_graph_enter() does not provide any recursion protection.

Add a protection in prepare_ftrace_return() in case
function_graph_enter() calls something that gets
function graph traced.

Fixes: 830213786c ("powerpc/ftrace: directly call of function graph tracer by ftrace caller")
Reported-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/74edf2ff0a60e66b0d9225a137100a86a0557032.1644949750.git.christophe.leroy@csgroup.eu
2022-02-16 23:09:47 +11:00
..
2021-12-09 22:41:21 +11:00
2022-02-07 21:03:10 +11:00
2022-02-07 21:03:10 +11:00
2022-02-07 21:03:10 +11:00
2020-12-04 01:01:09 +11:00
2021-12-09 22:41:19 +11:00
2021-12-09 22:41:21 +11:00
2021-12-09 22:41:21 +11:00
2021-04-30 11:20:40 -07:00
2021-12-09 22:41:21 +11:00
2021-12-09 22:41:21 +11:00
2021-11-16 21:24:16 +11:00
2021-12-13 12:04:45 -06:00
2021-08-19 09:02:55 +09:00
2021-12-09 22:41:21 +11:00