perf, x86, Pentium4: Clear the P4_CCCR_FORCE_OVF flag
authorLin Ming <ming.m.lin@intel.com>
Wed, 25 Aug 2010 21:06:32 +0000 (21:06 +0000)
committerIngo Molnar <mingo@elte.hu>
Wed, 25 Aug 2010 13:15:33 +0000 (15:15 +0200)
commit8d330919927ea31fa083b5a80084dc991da813a0
tree5c4ccce4ee5e660abfa497e842a7d356d18a674e
parent151772dbfad4dbe81721e40f9b3d588ea77bb7aa
perf, x86, Pentium4: Clear the P4_CCCR_FORCE_OVF flag

If on Pentium4 CPUs the FORCE_OVF flag is set then an NMI happens
on every event, which can generate a flood of NMIs. Clear it.

Reported-by: Vince Weaver <vweaver1@eecs.utk.edu>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: <stable@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_event_p4.c