From: Ingo Molnar Date: Fri, 15 May 2009 06:25:22 +0000 (+0200) Subject: perf_counter: x86: Disallow interval of 1 X-Git-Tag: v2.6.31-rc1~383^2~274 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c80f4b598d9b075a2a0be694e28be93a6702bcc;p=pandora-kernel.git perf_counter: x86: Disallow interval of 1 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: Peter Zijlstra Cc: Paul Mackerras Cc: Corey Ashford LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed