]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
powerpc/perf: Add power8 EBB support
authorMichael Ellerman <michael@ellerman.id.au>
Fri, 28 Jun 2013 08:15:17 +0000 (18:15 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 1 Jul 2013 01:50:13 +0000 (11:50 +1000)
commit4df489991182d3a9337c0a4b1563077c0004f1ba
tree003d4f58f51fe3ba102da546e49f6266cc4dce23
parent330a1eb7775ba876dbd46b9885556e57f705e3d4
powerpc/perf: Add power8 EBB support

Add logic to the power8 PMU code to support EBB. Future processors would
also be expected to implement similar constraints. At that time we could
possibly factor these out into common code.

Finally mark the power8 PMU as supporting EBB, which is the actual
enable switch which allows EBBs to be configured.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/perf/power8-pmu.c