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>

authored by Lin Ming and committed by Ingo Molnar 8d330919 151772db

+2
+2
arch/x86/kernel/cpu/perf_event_p4.c
··· 497 497 event->hw.config |= event->attr.config & 498 498 (p4_config_pack_escr(P4_ESCR_MASK_HT) | 499 499 p4_config_pack_cccr(P4_CCCR_MASK_HT | P4_CCCR_RESERVED)); 500 + 501 + event->hw.config &= ~P4_CCCR_FORCE_OVF; 500 502 } 501 503 502 504 rc = x86_setup_perfctr(event);