Re: [PATCH v7 06/10] ppc64 ftrace: disable profiling for some functions

2016-02-10 Thread Torsten Duwe
On Wed, Feb 10, 2016 at 12:50:38PM +1100, Michael Ellerman wrote: > On Mon, 2016-01-25 at 16:31 +0100, Torsten Duwe wrote: > > > At least POWER7/8 have MMUs that don't completely autoload; > > a normal, recoverable memory fault might pass through these functions. > > If a dynamic tracer function c

Re: [PATCH v7 06/10] ppc64 ftrace: disable profiling for some functions

2016-02-09 Thread Michael Ellerman
On Mon, 2016-01-25 at 16:31 +0100, Torsten Duwe wrote: > At least POWER7/8 have MMUs that don't completely autoload; > a normal, recoverable memory fault might pass through these functions. > If a dynamic tracer function causes such a fault, any of these functions > being traced with -mprofile-ker

[PATCH v7 06/10] ppc64 ftrace: disable profiling for some functions

2016-02-04 Thread Torsten Duwe
At least POWER7/8 have MMUs that don't completely autoload; a normal, recoverable memory fault might pass through these functions. If a dynamic tracer function causes such a fault, any of these functions being traced with -mprofile-kernel may cause an endless recursion. Signed-off-by: Torsten Duwe