]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
x86: oprofile: don't set counter width from cpuid on Core2
authorTim Blechmann <tim@klingt.org>
Thu, 19 Feb 2009 16:34:03 +0000 (17:34 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 Mar 2009 00:32:17 +0000 (17:32 -0700)
commit474193bb19990efce7a7cf90506e55de0844c6cd
tree53d329ca12aa4a901a9b50af227414f58d41a6b1
parent5bd60e0ffb4c1b10d8942dc3dff4c7b75c968ea4
x86: oprofile: don't set counter width from cpuid on Core2

commit 780eef9492b16a1543a3b2ae9f9526a735fc9856 upstream.

Impact: fix stuck NMIs and non-working oprofile on certain CPUs

Resetting the counter width of the performance counters on Intel's
Core2 CPUs, breaks the delivery of NMIs, when running in x86_64 mode.

This should fix bug #12395:

  http://bugzilla.kernel.org/show_bug.cgi?id=12395

Signed-off-by: Tim Blechmann <tim@klingt.org>
Signed-off-by: Robert Richter <robert.richter@amd.com>
LKML-Reference: <20090303100412.GC10085@erda.amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/oprofile/op_model_ppro.c