]> git.karo-electronics.de Git - mv-sheeva.git/commit
perf, x86: Catch spurious interrupts after disabling counters
authorRobert Richter <robert.richter@amd.com>
Wed, 15 Sep 2010 16:20:34 +0000 (18:20 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 24 Sep 2010 10:21:41 +0000 (12:21 +0200)
commit63e6be6d98e1a2bcdca86872b67052e51ab6afa1
treec7aa3de767ab2f5441c66bdd3ad38cf3b60306ee
parent258af47479980d8238a04568b94a4e55aa1cb537
perf, x86: Catch spurious interrupts after disabling counters

Some cpus still deliver spurious interrupts after disabling a
counter. This caused 'undelivered NMI' messages. This patch
fixes this. Introduced by:

  4177c42: perf, x86: Try to handle unknown nmis with an enabled PMU

Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Robert Richter <robert.richter@amd.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: gorcunov@gmail.com <gorcunov@gmail.com>
Cc: fweisbec@gmail.com <fweisbec@gmail.com>
Cc: ying.huang@intel.com <ying.huang@intel.com>
Cc: ming.m.lin@intel.com <ming.m.lin@intel.com>
Cc: yinghai@kernel.org <yinghai@kernel.org>
Cc: andi@firstfloor.org <andi@firstfloor.org>
Cc: eranian@google.com <eranian@google.com>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <20100915162034.GO13563@erda.amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_event.c