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)
commitc6f85cb4305bd80658d19f7b097a7c36ef9912e2
tree966229310d081154ebf3cc7efb90833f810a39bb
parentcac7f2429872d3733dc3f9915857b1691da2eb2f
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