sparc64: Add perf_event abstractions for orthogonal PMUs.
authorDavid S. Miller <davem@davemloft.net>
Fri, 17 Aug 2012 09:31:10 +0000 (02:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Aug 2012 06:26:19 +0000 (23:26 -0700)
commitb38e99f5bdf62f37d7552311fef1bff00bec6308
treef3c3de99b42a698bd268447ba97bcd3d5de5d688
parent6faaeb8ea30e55c9fd7cf65d05f3ce44973d1d12
sparc64: Add perf_event abstractions for orthogonal PMUs.

Starting with SPARC-T4 we have a seperate PCR control register
for each performance counter, and there are absolutely no
restrictions on what events can run on which counters.

Add flags that we can use to elide the conflict and dependency
logic used to handle older chips.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/perf_event.c