From: Peter Zijlstra Date: Mon, 1 Feb 2010 14:36:30 +0000 (+0100) Subject: perf_events, x86: Fixup fixed counter constraints X-Git-Tag: v2.6.34-rc2~54^2~7^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b622d644c7d61a5cb95b74e7b143c263bed21f0a;p=pandora-kernel.git perf_events, x86: Fixup fixed counter constraints Patch 1da53e0230 ("perf_events, x86: Improve x86 event scheduling") lost us one of the fixed purpose counters and then ed8777fc13 ("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 Cc: Stephane Eranian LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed