From: Cyrill Gorcunov Date: Wed, 16 Feb 2011 11:08:02 +0000 (+0300) Subject: perf, x86: P4 PMU: Fix spurious NMI messages X-Git-Tag: v2.6.38-rc7~56^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d44ec193d95416d1342cdd86392a1eeb7461186;p=pandora-kernel.git perf, x86: P4 PMU: Fix spurious NMI messages Several people have reported spurious unknown NMI messages on some P4 CPUs. This patch fixes it by checking for an overflow (negative counter values) directly, instead of relying on the P4_CCCR_OVF bit. Reported-by: George Spelvin Reported-by: Meelis Roos Reported-by: Don Zickus Reported-by: Dave Airlie Signed-off-by: Cyrill Gorcunov Cc: Lin Ming Cc: Don Zickus Cc: Peter Zijlstra LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed