]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Sep 2010 20:36:09 +0000 (13:36 -0700)
commit133aa6cbaf169f375a70d0ed8df7bc2ab583cc34
treeb255b52ad1af69825d983711062caf7a3222b9d0
parentde9711df2a891af562936c1eafb3c2e25121c213
perf, x86, Pentium4: Clear the P4_CCCR_FORCE_OVF flag

commit 8d330919927ea31fa083b5a80084dc991da813a0 upstream.

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>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kernel/cpu/perf_event_p4.c