]> git.baikalelectronics.ru Git - kernel.git/commit
perf/x86: Disable LBR support for older Intel Atom processors
authorStephane Eranian <eranian@google.com>
Thu, 9 Feb 2012 22:20:56 +0000 (23:20 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 5 Mar 2012 13:55:41 +0000 (14:55 +0100)
commit22814804ad3e39c3f2781720a10521ca3ddebe7b
treea609acb6ae06c162015d6d32b9c8a1d5313ec3e2
parent80a0412429960c386759c743a1b8c6b25583d125
perf/x86: Disable LBR support for older Intel Atom processors

The patch adds a restriction for Intel Atom LBR support. Only
steppings 10 (PineView) and more recent are supported. Older models
do not have a functional LBR. Their LBR does not freeze on PMU
interrupt which makes LBR unusable in the context of perf_events.

Signed-off-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1328826068-11713-7-git-send-email-eranian@google.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_event_intel_lbr.c