perf/x86-ibs: Catch spurious interrupts after stopping IBS
authorRobert Richter <robert.richter@amd.com>
Mon, 2 Apr 2012 18:19:17 +0000 (20:19 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 9 May 2012 13:23:16 +0000 (15:23 +0200)
commitfc5fb2b5e1874e5894e2ac503bfb744220db89a1
tree9f4f3913a971b5a7acb990038dc661da40ecc13b
parentc9574fe0bdb9ac9a2698e02a712088ce8431e9f8
perf/x86-ibs: Catch spurious interrupts after stopping IBS

After disabling IBS there could be still incomming NMIs with samples
that even have the valid bit cleared. Mark all this NMIs as handled to
avoid spurious interrupt messages.

Signed-off-by: Robert Richter <robert.richter@amd.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1333390758-10893-12-git-send-email-robert.richter@amd.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/perf_event_amd_ibs.c