]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/bus: Split Arm CCI driver
authorRobin Murphy <robin.murphy@arm.com>
Thu, 15 Feb 2018 18:51:42 +0000 (18:51 +0000)
committerArnd Bergmann <arnd@arndb.de>
Tue, 6 Mar 2018 16:26:17 +0000 (17:26 +0100)
commit8f6a7bc9c6169f42e91e19f87a39c89170d0501e
tree57526a619d1fe827b191906ae2e455eb963afef8
parenteb23e3d97521b9d0b1dcea8471ea6a0a35f121aa
drivers/bus: Split Arm CCI driver

The arm-cci driver is really two entirely separate drivers; one for MCPM
port control and the other for the performance monitors. Since they are
already relatively self-contained, let's take the plunge and move the
PMU parts out to drivers/perf where they belong these days. For non-MCPM
systems this leaves a small dependency on the remaining "bus" stub for
initial probing and discovery, but we end up with something that still
fits the general pattern of its fellow system PMU drivers to ease future
maintenance.

Moving code to a new file also offers a perfect excuse to modernise the
license/copyright headers and clean up some funky linewraps on the way.

Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Suzuki Poulose <suzuki.poulose@arm.com>
Acked-by: Punit Agrawal <punit.agrawal@arm.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/bus/Kconfig
drivers/bus/arm-cci.c
drivers/perf/Kconfig
drivers/perf/Makefile
drivers/perf/arm-cci.c [new file with mode: 0644]