perf, x86: Add Nehelem PMU programming errata workaround
authorPeter Zijlstra <peterz@infradead.org>
Fri, 26 Mar 2010 13:08:44 +0000 (14:08 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 26 Mar 2010 14:47:24 +0000 (15:47 +0100)
commit11164cd4f6dab326a88bdf27f2f8f7c11977e91a
tree260a9f48f66cce8c5f4e23111ba6be8af6cfa578
parentea8e61b7bbc4a2faef77db34eb2db2a2c2372ff6
perf, x86: Add Nehelem PMU programming errata workaround

Implement the workaround for Intel Errata AAK100 and AAP53.

Also, remove the Core-i7 name for Nehalem events since there are
also Westmere based i7 chips.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
LKML-Reference: <1269608924.12097.147.camel@laptop>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_event.c
arch/x86/kernel/cpu/perf_event_intel.c
arch/x86/kernel/cpu/perf_event_p4.c
arch/x86/kernel/cpu/perf_event_p6.c