Re: [PATCH v2 5/8] powerpc/ftrace: Use generic ftrace_modify_all_code()

From: Kamalesh Babulal
Date: Tue Mar 01 2016 - 05:09:57 EST


* Michael Ellerman <mpe@xxxxxxxxxxxxxx> [2016-02-29 20:26:26]:

> From: Torsten Duwe <duwe@xxxxxx>
>
> Convert powerpc's arch_ftrace_update_code() from its own version to use
> the generic default functionality (without stop_machine -- our
> instructions are properly aligned and the replacements atomic).
>
> With this we gain error checking and the much-needed function_trace_op
> handling.
>
> Reviewed-by: Balbir Singh <bsingharora@xxxxxxxxx>
> Signed-off-by: Torsten Duwe <duwe@xxxxxxx>
> Signed-off-by: Michael Ellerman <mpe@xxxxxxxxxxxxxx>

Reviewed-by: Kamalesh Babulal <kamalesh@xxxxxxxxxxxxxxxxxx>