]> git.baikalelectronics.ru Git - kernel.git/commit
bus: cci: move away from arm_pmu framework
authorMark Rutland <mark.rutland@arm.com>
Mon, 30 Jun 2014 11:20:21 +0000 (12:20 +0100)
committerWill Deacon <will.deacon@arm.com>
Thu, 30 Oct 2014 12:16:57 +0000 (12:16 +0000)
commitebeb4ed8ce0f2d398ded4dc31fbf93e03eaab903
tree966229310d081154ebf3cc7efb90833f810a39bb
parent762e338c222828819464e5c2404c73e974ed3257
bus: cci: move away from arm_pmu framework

The ARM CPU PMUs and the ARM CCI PMU are using the same framework
despite being substantially different in programming model, which makes
it difficult to handle either particularly well.

This patch migrates the ARM CCI PMU driver away from the arm_pmu
framework, matching the style of the CCN PMU driver and other 'uncore'
PMU drivers. This will enable refactoring of the arm_pmu framework to
better support CPU PMUs. Event context migration on hotplug is not yet
added due to a race on event->ctx in the core perf code.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Punit Agrawal <punit.agrawal@arm.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
[will: fix whitespace issues]
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/bus/arm-cci.c