perf/x86/amd/ibs: Fix pmu::stop() nesting
authorPeter Zijlstra <peterz@infradead.org>
Mon, 21 Mar 2016 10:47:52 +0000 (11:47 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 31 Mar 2016 07:54:08 +0000 (09:54 +0200)
commit85dc600263c2291cea33bffa90038808ee64198b
tree60f88040994fa72a9f24641e575f6241eadae7dd
parent201c2f85bd0bc13b712d9c0b3d11251b182e06ae
perf/x86/amd/ibs: Fix pmu::stop() nesting

Patch 5a50f5291701 ("perf/x86/ibs: Fix race with IBS_STARTING state")
closed a big hole while opening another, smaller hole.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Fixes: 5a50f5291701 ("perf/x86/ibs: Fix race with IBS_STARTING state")
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/events/amd/ibs.c