arm: vexpress: Remove obsolete RTSM DCSCB support
Subsystems (5)
Rob Herring (Arm)
maintainerPATCH 1/2 arm: vexpress: Remove obsolete RTSM DCSCB support
The Arm Versatile DCSCB support is unused as the compatible "arm,rtsm,dcscb" is unused in any .dts file. It was only ever implemented on a s/w model (RTSM).
--- arch/arm/configs/vexpress_defconfig | 1 - arch/arm/mach-versatile/Kconfig | 9 -- arch/arm/mach-versatile/Makefile | 3 - arch/arm/mach-versatile/dcscb.c | 173 -------------------------- arch/arm/mach-versatile/dcscb_setup.S | 33 ----- 5 files changed, 219 deletions(-) delete mode 100644 arch/arm/mach-versatile/dcscb.c delete mode 100644 arch/arm/mach-versatile/dcscb_setup.S
arch/arm/configs/vexpress_defconfig +0 -1
@@ -14,7 +14,6 @@ CONFIG_CPUSETS=y CONFIG_BLK_DEV_INITRD=y CONFIG_PROFILING=y CONFIG_ARCH_VEXPRESS=y -CONFIG_ARCH_VEXPRESS_DCSCB=y CONFIG_ARCH_VEXPRESS_TC2_PM=y CONFIG_SMP=y CONFIG_HAVE_ARM_ARCH_TIMER=y
arch/arm/mach-versatile/Kconfig +0 -9
@@ -278,15 +278,6 @@ config ARCH_VEXPRESS_CORTEX_A5_A9_ERRATA build a working kernel, you must also enable relevant core tile support or Flattened Device Tree based support options. -config ARCH_VEXPRESS_DCSCB - bool "Dual Cluster System Control Block (DCSCB) support" - depends on MCPM - select ARM_CCI400_PORT_CTRL - help - Support for the Dual Cluster System Configuration Block (DCSCB). - This is needed to provide CPU and cluster power management - on RTSM implementing big.LITTLE. - config ARCH_VEXPRESS_SPC bool "Versatile Express Serial Power Controller (SPC)" select PM_OPP
arch/arm/mach-versatile/Makefile +0 -3
@@ -16,9 +16,6 @@ obj-$(CONFIG_ARCH_REALVIEW) += realview.o # vexpress obj-$(CONFIG_ARCH_VEXPRESS) := v2m.o -obj-$(CONFIG_ARCH_VEXPRESS_DCSCB) += dcscb.o dcscb_setup.o -CFLAGS_dcscb.o += -march=armv7-a -CFLAGS_REMOVE_dcscb.o = -pg obj-$(CONFIG_ARCH_VEXPRESS_SPC) += spc.o CFLAGS_REMOVE_spc.o = -pg obj-$(CONFIG_ARCH_VEXPRESS_TC2_PM) += tc2_pm.o
arch/arm/mach-versatile/dcscb.c deleted +0 -173
173 lines not on this page · raw message
arch/arm/mach-versatile/dcscb_setup.S deleted +0 -33
@@ -1,33 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Created by: Dave Martin, 2012-06-22 - * Copyright: (C) 2012-2013 Linaro Limited - */ - -#include <linux/linkage.h> - - -ENTRY(dcscb_power_up_setup) - - cmp r0, #0 @ check affinity level - beq 2f - -/* - * Enable cluster-level coherency, in preparation for turning on the MMU. - * The ACTLR SMP bit does not need to be set here, because cpu_resume() - * already restores that. - * - * A15/A7 may not require explicit L2 invalidation on reset, dependent - * on hardware integration decisions. - * For now, this code assumes that L2 is either already invalidated, - * or invalidation is not required. - */ - - b cci_enable_port_for_self - -2: @ Implementation-specific local CPU setup operations should go here, - @ if any. In this case, there is nothing to do. - - bx lr - -ENDPROC(dcscb_power_up_setup)
Signature · 1 line
2.43.0
Rob Herring (Arm)
maintainerPATCH 2/2 dt-bindings: arm: Remove obsolete RTSM DCSCB binding
The Arm VExpress DCSCB binding is unused and was only ever used on a s/w model over 10 years ago. Remove it.
--- .../devicetree/bindings/arm/rtsm-dcscb.txt | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/rtsm-dcscb.txt
Documentation/devicetree/bindings/arm/rtsm-dcscb.txt deleted +0 -19
@@ -1,19 +0,0 @@ -ARM Dual Cluster System Configuration Block -------------------------------------------- - -The Dual Cluster System Configuration Block (DCSCB) provides basic -functionality for controlling clocks, resets and configuration pins in -the Dual Cluster System implemented by the Real-Time System Model (RTSM). - -Required properties: - -- compatible : should be "arm,rtsm,dcscb" - -- reg : physical base address and the size of the registers window - -Example: - - dcscb@60000000 { - compatible = "arm,rtsm,dcscb"; - reg = <0x60000000 0x1000>; - };
Signature · 1 line
2.43.0
Re: [PATCH 2/2] dt-bindings: arm: Remove obsolete RTSM DCSCB binding
Quoted 4 lines · Rob Herring (Arm)
The Arm VExpress DCSCB binding is unused and was only ever used on a s/w model over 10 years ago. Remove it.
Signed-off-by Rob Herring (Arm) <[email protected]>
Cheers,
Conor.
Re: [PATCH 2/2] dt-bindings: arm: Remove obsolete RTSM DCSCB binding
In reply to Rob Herring (Arm)Quoted 4 lines · Rob Herring (Arm)
The Arm VExpress DCSCB binding is unused and was only ever used on a s/w model over 10 years ago. Remove it.
Signed-off-by Rob Herring (Arm) <[email protected]>
Yours,
Linus Walleij
Quoted 5 lines · Rob Herring (Arm)
The Arm Versatile DCSCB support is unused as the compatible "arm,rtsm,dcscb" is unused in any .dts file. It was only ever implemented on a s/w model (RTSM).
Signed-off-by Rob Herring (Arm) <[email protected]>
Nice cleanup!
Yours,
Linus Walleij
Sudeep Holla
AppliedQuoted 4 lines · Rob Herring (Arm)
The Arm Versatile DCSCB support is unused as the compatible "arm,rtsm,dcscb" is unused in any .dts file. It was only ever implemented on a s/w model (RTSM).
Applied to sudeep.holla/linux (for-next/vexpress/updates), thanks!
[1/2] arm: vexpress: Remove obsolete RTSM DCSCB support
https://git.kernel.org/sudeep.holla/c/41fcb32dbca4 [2/2] dt-bindings: arm: Remove obsolete RTSM DCSCB binding https://git.kernel.org/sudeep.holla/c/5c47d9a27403
--
Regards,
Sudeep
Quoted 8 lines · Sudeep Holla
Quoted 4 lines · Rob Herring (Arm)
The Arm Versatile DCSCB support is unused as the compatible "arm,rtsm,dcscb" is unused in any .dts file. It was only ever implemented on a s/w model (RTSM).
Applied to sudeep.holla/linux (for-next/vexpress/updates), thanks!
I have now rebased as it couldn't make it to v6.10-rc1 just for simplicity (could have merged v6.10-rc1 though)
[1/2] arm: vexpress: Remove obsolete RTSM DCSCB support
https://git.kernel.org/sudeep.holla/c/eb3f614ae482 [2/2] dt-bindings: arm: Remove obsolete RTSM DCSCB binding https://git.kernel.org/sudeep.holla/c/32b0cf0379b6
--
Regards,
Sudeep