]> git.karo-electronics.de Git - karo-tx-linux.git/commit
perf, x86: Fix Intel-nhm PMU programming errata workaround
authorZhang, Yanmin <yanmin_zhang@linux.intel.com>
Fri, 6 Aug 2010 05:39:08 +0000 (13:39 +0800)
committerIngo Molnar <mingo@elte.hu>
Wed, 18 Aug 2010 09:17:39 +0000 (11:17 +0200)
commit351af0725e5222e35741011d1ea62215c1ed06db
tree1b58323fb9bc7a86c814c3883cd09c3e859b32c3
parent9d5f3714e4705a66b6be693f7202192f756f498e
perf, x86: Fix Intel-nhm PMU programming errata workaround

Fix the Errata AAK100/AAP53/BD53 workaround, the officialy documented
workaround we implemented in:

 11164cd: perf, x86: Add Nehelem PMU programming errata workaround

doesn't actually work fully and causes a stuck PMU state
under load and non-functioning perf profiling.

A functional workaround was found by trial & error.

Affects all Nehalem-class Intel PMUs.

Signed-off-by: Zhang Yanmin <yanmin_zhang@linux.intel.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1281073148.2125.63.camel@ymzhang.sh.intel.com>
Cc: Arjan van de Ven <arjan@linux.intel.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: <stable@kernel.org> # .35.x
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_event_intel.c