]> 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)
commit558477eb599f32a8de79cbd211fcef3dd2d933fb
tree003d4f58f51fe3ba102da546e49f6266cc4dce23
parent2abedd00f8dd11c516599d2eb2f536eb033efdb0
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