perf/x86: Fix P6 FP_ASSIST event constraint
authorVince Weaver <vincent.weaver@maine.edu>
Fri, 19 Oct 2012 21:30:01 +0000 (17:30 -0400)
committerIngo Molnar <mingo@kernel.org>
Wed, 24 Oct 2012 08:31:57 +0000 (10:31 +0200)
commit7991c9ca40d3127dd2ffa3a9c1e33f7d4005495a
tree24ecd56e9039b7f990f4b6d0da1f2ddbc009279e
parentc13d38e4a1fd5dd07135403c613c8091af444169
perf/x86: Fix P6 FP_ASSIST event constraint

According to Intel SDM Volume 3B, FP_ASSIST is limited to Counter 1 only,
not Counter 0.

Tested on a Pentium II.

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/alpine.DEB.2.02.1210191728570.14552@vincent-weaver-1.um.maine.edu
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/perf_event_p6.c