Re: [PATCH 13/17] powerpc/ftrace: Simplify ftrace_modify_call()

2023-06-22 Thread Christophe Leroy
Le 19/06/2023 à 11:47, Naveen N Rao a écrit : > Now that we validate the ftrace location during initialization in > ftrace_init_nop(), we can simplify ftrace_modify_call() to patch-in the > updated branch instruction without worrying about the instructions > surrounding the ftrace location. Note

[PATCH 13/17] powerpc/ftrace: Simplify ftrace_modify_call()

2023-06-19 Thread Naveen N Rao
Now that we validate the ftrace location during initialization in ftrace_init_nop(), we can simplify ftrace_modify_call() to patch-in the updated branch instruction without worrying about the instructions surrounding the ftrace location. Note that we continue to ensure we have the expected branch