• Ingo Molnar's avatar
    perf_counter: x86: Disallow interval of 1 · 1c80f4b5
    Ingo Molnar authored
    On certain CPUs i have observed a stuck PMU if interval was set to
    1 and NMIs were used. The PMU had PMC0 set in MSR_CORE_PERF_GLOBAL_STATUS,
    but it was not possible to ack it via MSR_CORE_PERF_GLOBAL_OVF_CTRL,
    and the NMI loop got stuck infinitely.
    
    [ Impact: fix rare hangs during high perfcounter load ]
    Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
    LKML-Reference: <new-submission>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    1c80f4b5
perf_counter.c 27.8 KB