Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Robin Murphy and committed by
Arnd Bergmann
1888d3dd 661e50bc

+8 -10
Documentation/arm/CCN.txt Documentation/perf/arm-ccn.txt
Documentation/devicetree/bindings/arm/ccn.txt Documentation/devicetree/bindings/perf/arm-ccn.txt
-8
drivers/bus/Kconfig
··· 48 48 49 49 If unsure, say Y 50 50 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 - 59 51 config BRCMSTB_GISB_ARB 60 52 bool "Broadcom STB GISB bus arbiter" 61 53 depends on ARM || ARM64 || MIPS
-2
drivers/bus/Makefile
··· 5 5 6 6 # Interconnect bus drivers for ARM platforms 7 7 obj-$(CONFIG_ARM_CCI) += arm-cci.o 8 - obj-$(CONFIG_ARM_CCN) += arm-ccn.o 9 - 10 8 obj-$(CONFIG_BRCMSTB_GISB_ARB) += brcmstb_gisb.o 11 9 obj-$(CONFIG_IMX_WEIM) += imx-weim.o 12 10 obj-$(CONFIG_MIPS_CDMM) += mips_cdmm.o
drivers/bus/arm-ccn.c drivers/perf/arm-ccn.c
+7
drivers/perf/Kconfig
··· 5 5 menu "Performance monitor support" 6 6 depends on PERF_EVENTS 7 7 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 + 8 15 config ARM_PMU 9 16 depends on ARM || ARM64 10 17 bool "ARM PMU framework"
+1
drivers/perf/Makefile
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 + obj-$(CONFIG_ARM_CCN) += arm-ccn.o 2 3 obj-$(CONFIG_ARM_DSU_PMU) += arm_dsu_pmu.o 3 4 obj-$(CONFIG_ARM_PMU) += arm_pmu.o arm_pmu_platform.o 4 5 obj-$(CONFIG_ARM_PMU_ACPI) += arm_pmu_acpi.o