mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
perf_events, x86: Fixup fixed counter constraints
Patch1da53e0230("perf_events, x86: Improve x86 event scheduling") lost us one of the fixed purpose counters and thened8777fc13("perf_events, x86: Fix event constraint masks") broke it even further. Widen the fixed event mask to event+umask and specify the full config for each of the 3 fixed purpose counters. Then let the init code fill out the placement for the GP regs based on the cpuid info. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Stephane Eranian <eranian@google.com> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
320ebf09cb
commit
b622d644c7
3 changed files with 40 additions and 18 deletions
Loading…
Add table
Add a link
Reference in a new issue