Re: [PATCH] powerpc/kprobes: Fix call trace due to incorrect preempt count

2018-01-19 Thread Naveen N. Rao
Michael Ellerman wrote: Ananth N Mavinakayanahalli writes: On Wed, Jan 17, 2018 at 05:52:24PM +0530, Naveen N. Rao wrote: Michael Ellerman reported the following call trace when running ftracetest: BUG: using __this_cpu_write() in preemptible [] code: ftracetest/6178 caller is opt_pr

Re: [PATCH] powerpc/kprobes: Fix call trace due to incorrect preempt count

2018-01-19 Thread Michael Ellerman
Ananth N Mavinakayanahalli writes: > On Wed, Jan 17, 2018 at 05:52:24PM +0530, Naveen N. Rao wrote: >> Michael Ellerman reported the following call trace when running >> ftracetest: >> >> BUG: using __this_cpu_write() in preemptible [] code: ftracetest/6178 >> caller is opt_pre_handler+0

Re: [PATCH] powerpc/kprobes: Fix call trace due to incorrect preempt count

2018-01-17 Thread Ananth N Mavinakayanahalli
On Wed, Jan 17, 2018 at 05:52:24PM +0530, Naveen N. Rao wrote: > Michael Ellerman reported the following call trace when running > ftracetest: > > BUG: using __this_cpu_write() in preemptible [] code: ftracetest/6178 > caller is opt_pre_handler+0xc4/0x110 > CPU: 1 PID: 6178 Comm: ftracetes

[PATCH] powerpc/kprobes: Fix call trace due to incorrect preempt count

2018-01-17 Thread Naveen N. Rao
Michael Ellerman reported the following call trace when running ftracetest: BUG: using __this_cpu_write() in preemptible [] code: ftracetest/6178 caller is opt_pre_handler+0xc4/0x110 CPU: 1 PID: 6178 Comm: ftracetest Not tainted 4.15.0-rc7-gcc6x-gb2cd1df #1 Call Trace: [c000f9ec39c0] [