• Robert Richter's avatar
    perf, x86: Catch spurious interrupts after disabling counters · 63e6be6d
    Robert Richter authored
    Some cpus still deliver spurious interrupts after disabling a
    counter. This caused 'undelivered NMI' messages. This patch
    fixes this. Introduced by:
    
      4177c42a: perf, x86: Try to handle unknown nmis with an enabled PMU
    Reported-by: default avatarIngo Molnar <mingo@elte.hu>
    Signed-off-by: default avatarRobert 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: default avatarIngo Molnar <mingo@elte.hu>
    63e6be6d
perf_event.c 39.6 KB