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

From: Michael Ellerman
Date: Tue Oct 04 2016 - 00:08:38 EST

Jiri Olsa <jolsa@xxxxxxxxxx> writes:

> The trinity syscall fuzzer triggered following WARN on powerpc:
> WARNING: CPU: 9 PID: 2998 at arch/powerpc/kernel/hw_breakpoint.c:278
> ...
> NIP [c00000000093aedc] .hw_breakpoint_handler+0x28c/0x2b0
> LR [c00000000093aed8] .hw_breakpoint_handler+0x288/0x2b0
> Call Trace:
> [c0000002f7933580] [c00000000093aed8] .hw_breakpoint_handler+0x288/0x2b0 (unreliable)
> [c0000002f7933630] [c0000000000f671c] .notifier_call_chain+0x7c/0xf0
> [c0000002f79336d0] [c0000000000f6abc] .__atomic_notifier_call_chain+0xbc/0x1c0
> [c0000002f7933780] [c0000000000f6c40] .notify_die+0x70/0xd0
> [c0000002f7933820] [c00000000001a74c] .do_break+0x4c/0x100
> [c0000002f7933920] [c0000000000089fc] handle_dabr_fault+0x14/0x48

Is that the full stack trace? It doesn't look like it.

And were you running trinity as root or regular user?