Skip to content

Commit 1888d3d

Browse files
rmurphy-armarndb
authored andcommitted
drivers/bus: Move Arm CCN PMU driver
The arm-ccn driver is purely a perf driver for the CCN PMU, not a bus driver in the sense of the other residents of drivers/bus/, so let's move it to the appropriate place for SoC PMU drivers. Not to mention moving the documentation accordingly as well. Acked-by: Pawel Moll <pawel.moll@arm.com> Acked-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent 661e50b commit 1888d3d

7 files changed

Lines changed: 8 additions & 10 deletions

File tree

File renamed without changes.

‎drivers/bus/Kconfig‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,6 @@ config ARM_CCI5xx_PMU
4848

4949
If unsure, say Y
5050

51-
config ARM_CCN
52-
tristate "ARM CCN driver support"
53-
depends on ARM || ARM64
54-
depends on PERF_EVENTS
55-
help
56-
PMU (perf) driver supporting the ARM CCN (Cache Coherent Network)
57-
interconnect.
58-
5951
config BRCMSTB_GISB_ARB
6052
bool "Broadcom STB GISB bus arbiter"
6153
depends on ARM || ARM64 || MIPS

‎drivers/bus/Makefile‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55

66
# Interconnect bus drivers for ARM platforms
77
obj-$(CONFIG_ARM_CCI) += arm-cci.o
8-
obj-$(CONFIG_ARM_CCN) += arm-ccn.o
9-
108
obj-$(CONFIG_BRCMSTB_GISB_ARB) += brcmstb_gisb.o
119
obj-$(CONFIG_IMX_WEIM) += imx-weim.o
1210
obj-$(CONFIG_MIPS_CDMM) += mips_cdmm.o

‎drivers/perf/Kconfig‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55
menu "Performance monitor support"
66
depends on PERF_EVENTS
77

8+
config ARM_CCN
9+
tristate "ARM CCN driver support"
10+
depends on ARM || ARM64
11+
help
12+
PMU (perf) driver supporting the ARM CCN (Cache Coherent Network)
13+
interconnect.
14+
815
config ARM_PMU
916
depends on ARM || ARM64
1017
bool "ARM PMU framework"

‎drivers/perf/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# SPDX-License-Identifier: GPL-2.0
2+
obj-$(CONFIG_ARM_CCN) += arm-ccn.o
23
obj-$(CONFIG_ARM_DSU_PMU) += arm_dsu_pmu.o
34
obj-$(CONFIG_ARM_PMU) += arm_pmu.o arm_pmu_platform.o
45
obj-$(CONFIG_ARM_PMU_ACPI) += arm_pmu_acpi.o

0 commit comments

Comments
 (0)