Re: [PATCH 11/17] powerpc/ftrace: Simplify ftrace_make_nop()

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_make_nop() to patch-in the nop > without worrying about the instructions surrounding the ftrace location. > Note that we continue to

[PATCH 11/17] powerpc/ftrace: Simplify ftrace_make_nop()

2023-06-19 Thread Naveen N Rao
Now that we validate the ftrace location during initialization in ftrace_init_nop(), we can simplify ftrace_make_nop() to patch-in the nop without worrying about the instructions surrounding the ftrace location. Note that we continue to ensure that we have a bl to ftrace_[regs_]caller at the