]> git.karo-electronics.de Git - karo-tx-linux.git/commit
perf, x86: P4 PMU -- update nmi irq statistics and unmask lvt entry properly
authorCyrill Gorcunov <gorcunov@openvz.org>
Thu, 5 Aug 2010 15:09:17 +0000 (19:09 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 26 Aug 2010 23:45:49 +0000 (16:45 -0700)
commite77930c78bd9dde017a80f87e2a89d670be19202
tree856291711784740aa0a19b077e6ef4f06688fff3
parentedda4cb2d00bfb83759f475ff9b228953ea82cf2
perf, x86: P4 PMU -- update nmi irq statistics and unmask lvt entry properly

commit 1c250d709fdc8aa5bf42d90be99428a01a256a55 upstream.

In case if last active performance counter is not overflowed at
moment of NMI being triggered by another counter, the irq
statistics may miss an update stage. As a more serious
consequence -- apic quirk may not be triggered so apic lvt entry
stay masked.

Tested-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <20100805150917.GA6311@lenovo>
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