]> git.baikalelectronics.ru Git - kernel.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)
commit19f39a9b493e810c6a4430716bb22818c2f57282
tree003d4f58f51fe3ba102da546e49f6266cc4dce23
parentb9d5bd2071dff70cb7aa6ac1bd583248e3848120
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