Re: [PATCHv2] perf powerpc: Don't call perf_event_disable from atomic context

2016-10-24 Thread Jiri Olsa
On Mon, Oct 24, 2016 at 02:26:39PM +0200, Peter Zijlstra wrote: > > > > On Thu, Oct 06, 2016 at 02:33:01PM +0200, Jiri Olsa wrote: > > diff --git a/arch/powerpc/kernel/hw_breakpoint.c > > b/arch/powerpc/kernel/hw_breakpoint.c > > index aec9a1b1d25b..4d3bcbbf626a 100644 > > --- a/arch/powerpc/ke

Re: [PATCHv2] perf powerpc: Don't call perf_event_disable from atomic context

2016-10-24 Thread Peter Zijlstra
On Thu, Oct 06, 2016 at 02:33:01PM +0200, Jiri Olsa wrote: > diff --git a/arch/powerpc/kernel/hw_breakpoint.c > b/arch/powerpc/kernel/hw_breakpoint.c > index aec9a1b1d25b..4d3bcbbf626a 100644 > --- a/arch/powerpc/kernel/hw_breakpoint.c > +++ b/arch/powerpc/kernel/hw_breakpoint.c > @@ -275,7 +27

[PATCHv2] perf powerpc: Don't call perf_event_disable from atomic context

2016-10-06 Thread Jiri Olsa
On Thu, Oct 06, 2016 at 09:24:15AM +0200, Peter Zijlstra wrote: > On Wed, Oct 05, 2016 at 09:53:38PM +0200, Jiri Olsa wrote: > > On Wed, Oct 05, 2016 at 10:09:21AM +0200, Jiri Olsa wrote: > > > On Tue, Oct 04, 2016 at 03:29:33PM +1100, Michael Ellerman wrote: > > > > > > SNIP > > > > > > > Which