Skip to contentSkip to conversation

ARM: Drop unneeded select of multi-platform selected options

PATCH Applied Geert Uytterhoeven 16 participants 39 messages Jan 21, 2020 – Mar 8, 2020

Subsystems (16)

v1 of 2 Applied Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover ARM: Drop unneeded select of multi-platform selected options

Hi all,

This patch series drops select statements from the various platform-specific Kconfig files, for symbols that are already selected by the various multi-platform related config options (ARCH_MULTIPLATFORM, ARCH_MULTI_V*, and ARM_SINGLE_ARMV7M). This makes it easier to e.g. identify platforms that are not yet part of multi-platform builds, but already use some multi-platform features (e.g. "COMMON_CLK" is used by multi-platform + s3c24xx).

All patches in this series are independent of each other.

This has been tested by running "make oldconfig" on .config files expanded before from all defconfig files, which triggered no changes.

Thanks!

Geert Uytterhoeven (20):
ARM: actions: Drop unneeded select of COMMON_CLK
ARM: alpine: Drop unneeded select of HAVE_SMP
ARM: asm9260: Drop unneeded select of GENERIC_CLOCKEVENTS
ARM: aspeed: Drop unneeded select of HAVE_SMP
ARM: at91: Drop unneeded select of COMMON_CLK
ARM: bcm: Drop unneeded select of PCI_DOMAINS_GENERIC, HAVE_SMP,
TIMER_OF
ARM: berlin: Drop unneeded select of HAVE_SMP
ARM: clps711x: Drop unneeded select of multi-platform selected options
ARM: davinci: Drop unneeded select of TIMER_OF
ARM: exynos: Drop unneeded select of MIGHT_HAVE_CACHE_L2X0
ARM: integrator: Drop unneeded select of SPARSE_IRQ
ARM: meson: Drop unneeded select of COMMON_CLK
ARM: mmp: Drop unneeded select of COMMON_CLK
ARM: mvebu: Drop unneeded select of HAVE_SMP
ARM: omap2plus: Drop unneeded select of MIGHT_HAVE_CACHE_L2X0
ARM: orion5x: Drop unneeded select of PCI_DOMAINS_GENERIC
ARM: prima2: Drop unneeded select of HAVE_SMP
ARM: realview: Drop unneeded select of multi-platform features
ARM: s3c64xx: Drop unneeded select of TIMER_OF
ARM: socfpga: Drop unneeded select of PCI_DOMAINS_GENERIC

 arch/arm/mach-actions/Kconfig    | 1 -
 arch/arm/mach-alpine/Kconfig     | 1 -
 arch/arm/mach-asm9260/Kconfig    | 1 -
 arch/arm/mach-aspeed/Kconfig     | 1 -
 arch/arm/mach-at91/Kconfig       | 1 -
 arch/arm/mach-bcm/Kconfig        | 8 --------
 arch/arm/mach-berlin/Kconfig     | 1 -
 arch/arm/mach-clps711x/Kconfig   | 5 -----
 arch/arm/mach-davinci/Kconfig    | 1 -
 arch/arm/mach-exynos/Kconfig     | 1 -
 arch/arm/mach-integrator/Kconfig | 1 -
 arch/arm/mach-meson/Kconfig      | 1 -
 arch/arm/mach-mmp/Kconfig        | 1 -
 arch/arm/mach-mvebu/Kconfig      | 3 ---
 arch/arm/mach-omap2/Kconfig      | 1 -
 arch/arm/mach-orion5x/Kconfig    | 2 --
 arch/arm/mach-prima2/Kconfig     | 1 -
 arch/arm/mach-realview/Kconfig   | 8 --------
 arch/arm/mach-s3c64xx/Kconfig    | 1 -
 arch/arm/mach-socfpga/Kconfig    | 1 -
 20 files changed, 41 deletions(-)
Signature · 12 lines
2.17.1

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds
#1 lore raw

PATCH 1/20 ARM: actions: Drop unneeded select of COMMON_CLK

Support for Actions Semi SoCs depends on ARCH_MULTI_V7, and thus on ARCH_MULTIPLATFORM.
As the latter selects COMMON_CLK, there is no need for ARCH_ACTIONS to select COMMON_CLK.

Cc Andreas Färber <[email protected]>
Cc Manivannan Sadhasivam <[email protected]>

---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/[email protected]

 arch/arm/mach-actions/Kconfig | 1 -
 1 file changed, 1 deletion(-)
arch/arm/mach-actions/Kconfig +0 -1
index b5e0ac965ec0dd10..00fb4babccdd991b 100644
@@ -7,7 +7,6 @@ menuconfig ARCH_ACTIONS
 	select ARM_GLOBAL_TIMER
 	select CACHE_L2X0
 	select CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK
-	select COMMON_CLK
 	select GENERIC_IRQ_CHIP
 	select HAVE_ARM_SCU if SMP
 	select HAVE_ARM_TWD if SMP
Signature · 1 line
2.17.1
#2 lore raw

PATCH 2/20 ARM: alpine: Drop unneeded select of HAVE_SMP

Support for Annapurna Labs Alpine platforms depends on ARCH_MULTI_V7. As the latter selects HAVE_SMP, there is no need for ARCH_ALPINE to select HAVE_SMP.

Cc Tsahee Zidenberg <[email protected]>
Cc Antoine Tenart <[email protected]>

---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/[email protected]

 arch/arm/mach-alpine/Kconfig | 1 -
 1 file changed, 1 deletion(-)
arch/arm/mach-alpine/Kconfig +0 -1
index bc04c91294cf12e2..6a68a162385b8534 100644
@@ -7,7 +7,6 @@ config ARCH_ALPINE
 	select ARM_GIC
 	select GENERIC_IRQ_CHIP
 	select HAVE_ARM_ARCH_TIMER
-	select HAVE_SMP
 	select MFD_SYSCON
 	select FORCE_PCI
 	select PCI_HOST_GENERIC
Signature · 1 line
2.17.1
#3 lore raw

PATCH 3/20 ARM: asm9260: Drop unneeded select of GENERIC_CLOCKEVENTS

In reply to Geert Uytterhoeven

Support for the Alphascale ASM9260 platform depends on ARCH_MULTI_V5, and thus on ARCH_MULTIPLATFORM.
As the latter selects GENERIC_CLOCKEVENTS, there is no need for MACH_ASM9260 to select GENERIC_CLOCKEVENTS.

---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/[email protected]

 arch/arm/mach-asm9260/Kconfig | 1 -
 1 file changed, 1 deletion(-)
arch/arm/mach-asm9260/Kconfig +0 -1
index e42dbaa53bc61b20..a2e1d0aaf2529aa5 100644
@@ -4,6 +4,5 @@ config MACH_ASM9260
 	depends on ARCH_MULTI_V5
 	select CPU_ARM926T
 	select ASM9260_TIMER
-	select GENERIC_CLOCKEVENTS
 	help
 	  Support for Alphascale ASM9260 based platform.
Signature · 1 line
2.17.1
#4 lore raw

PATCH 4/20 ARM: aspeed: Drop unneeded select of HAVE_SMP

In reply to Geert Uytterhoeven

Support for the 6th generation Aspeed SoCs depends on ARCH_MULTI_V7. As the latter selects HAVE_SMP, there is no need for MACH_ASPEED_G6 to select HAVE_SMP.

Cc Joel Stanley <[email protected]>
Cc Andrew Jeffery <[email protected]>

---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/[email protected]

 arch/arm/mach-aspeed/Kconfig | 1 -
 1 file changed, 1 deletion(-)
arch/arm/mach-aspeed/Kconfig +0 -1
index e8d6e9957d65b717..ea96d11b850241ce 100644
@@ -39,7 +39,6 @@ config MACH_ASPEED_G6
 	select PINCTRL_ASPEED_G6
 	select ARM_GIC
 	select HAVE_ARM_ARCH_TIMER
-	select HAVE_SMP
 	help
 	 Say yes if you intend to run on an Aspeed ast2600 or similar
 	 sixth generation Aspeed BMCs.
Signature · 1 line
2.17.1
Reviewed-by on v1 4/20
#5 lore raw

Re: [PATCH 04/20] ARM: aspeed: Drop unneeded select of HAVE_SMP

Quoted 7 lines · Geert Uytterhoeven

Support for the 6th generation Aspeed SoCs depends on ARCH_MULTI_V7. As the latter selects HAVE_SMP, there is no need for MACH_ASPEED_G6 to select HAVE_SMP.

Cc Joel Stanley <[email protected]>
Cc Andrew Jeffery <[email protected]>
maintainer Acked-by
#6 lore raw

Re: [PATCH 04/20] ARM: aspeed: Drop unneeded select of HAVE_SMP

Quoted 8 lines · Andrew Jeffery
Quoted 4 lines · Geert Uytterhoeven

Support for the 6th generation Aspeed SoCs depends on ARCH_MULTI_V7. As the latter selects HAVE_SMP, there is no need for MACH_ASPEED_G6 to select HAVE_SMP.

Quoted 5 lines
Quoted 3 lines
Cc Joel Stanley <[email protected]>
Cc Andrew Jeffery <[email protected]>

Geert, did you intend for these to be picked up by Arnd and Olof?

#7 lore raw

Re: [PATCH 04/20] ARM: aspeed: Drop unneeded select of HAVE_SMP

Hi Joel,

Quoted 10 lines · Joel Stanley
Quoted 9 lines · Andrew Jeffery
Quoted 7 lines · Geert Uytterhoeven

Support for the 6th generation Aspeed SoCs depends on ARCH_MULTI_V7. As the latter selects HAVE_SMP, there is no need for MACH_ASPEED_G6 to select HAVE_SMP.

Cc Joel Stanley <[email protected]>
Cc Andrew Jeffery <[email protected]>
Quoted 5 lines
Quoted 1 line

Geert, did you intend for these to be picked up by Arnd and Olof?

Feel free to pick it up.
I'll resend the remaining patches to the arm-soc maintainers later.

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
#8 lore raw

PATCH 5/20 ARM: at91: Drop unneeded select of COMMON_CLK

In reply to Geert Uytterhoeven

Support for AT91/Microchip SoCs depends on ARCH_MULTIPLATFORM or ARM_SINGLE_ARMV7M, which both select COMMON_CLK.
Hence there is no need for COMMON_CLK_AT91 to select COMMON_CLK.

Cc Nicolas Ferre <[email protected]>
Cc Alexandre Belloni <[email protected]>
Cc Ludovic Desroches <[email protected]>

---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/[email protected]

 arch/arm/mach-at91/Kconfig | 1 -
 1 file changed, 1 deletion(-)
arch/arm/mach-at91/Kconfig +0 -1
index af41725fcc72d1a4..dc7ed483306348c8 100644
@@ -136,7 +136,6 @@ config HAVE_AT91_USB_CLK
 
 config COMMON_CLK_AT91
 	bool
-	select COMMON_CLK
 	select MFD_SYSCON
 
 config HAVE_AT91_SMD
Signature · 1 line
2.17.1
maintainer Applied
#9 lore raw

Re: [PATCH 05/20] ARM: at91: Drop unneeded select of COMMON_CLK

Quoted 4 lines · Geert Uytterhoeven

Support for AT91/Microchip SoCs depends on ARCH_MULTIPLATFORM or ARM_SINGLE_ARMV7M, which both select COMMON_CLK.
Hence there is no need for COMMON_CLK_AT91 to select COMMON_CLK.

Quoted 8 lines
Cc Nicolas Ferre <[email protected]>
Cc Alexandre Belloni <[email protected]>
Cc Ludovic Desroches <[email protected]>

---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/[email protected]

Applied, thanks.

Signature · 3 lines
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#10 lore raw

PATCH 6/20 ARM: bcm: Drop unneeded select of PCI_DOMAINS_GENERIC, HAVE_SMP, TIMER_OF

In reply to Geert Uytterhoeven

Support for Broadcom SoCs depends on ARCH_MULTI_V6_V7, and thus on ARCH_MULTIPLATFORM, which selects PCI_DOMAINS_GENERIC and TIMER_OF. Support for the various Broadcom IPROC architected SoCs depends on ARCH_MULTI_V7, which selects HAVE_SMP.
Hence there is no need for the Broadcom-specific symbols to select any of them.

---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/[email protected]

 arch/arm/mach-bcm/Kconfig | 8 --------
 1 file changed, 8 deletions(-)
arch/arm/mach-bcm/Kconfig +0 -8
index fcfe2a0e805896e9..6aa938b949db2fec 100644
@@ -20,7 +20,6 @@ config ARCH_BCM_IPROC
 	select GPIOLIB
 	select ARM_AMBA
 	select PINCTRL
-	select PCI_DOMAINS_GENERIC if PCI
 	help
 	  This enables support for systems based on Broadcom IPROC architected SoCs.
 	  The IPROC complex contains one or more ARM CPUs along with common
@@ -54,7 +53,6 @@ config ARCH_BCM_NSP
 	select ARM_ERRATA_754322
 	select ARM_ERRATA_775420
 	select ARM_ERRATA_764369 if SMP
-	select HAVE_SMP
 	select THERMAL
 	select THERMAL_OF
 	help
@@ -73,7 +71,6 @@ config ARCH_BCM_5301X
 	select ARM_ERRATA_754322
 	select ARM_ERRATA_775420
 	select ARM_ERRATA_764369 if SMP
-	select HAVE_SMP
 
 	help
 	  Support for Broadcom BCM470X and BCM5301X SoCs with ARM CPU cores.
@@ -109,7 +106,6 @@ config ARCH_BCM_281XX
 	bool "Broadcom BCM281XX SoC family"
 	depends on ARCH_MULTI_V7
 	select ARCH_BCM_MOBILE
-	select HAVE_SMP
 	help
 	  Enable support for the BCM281XX family, which includes
 	  BCM11130, BCM11140, BCM11351, BCM28145 and BCM28155
@@ -119,7 +115,6 @@ config ARCH_BCM_21664
 	bool "Broadcom BCM21664 SoC family"
 	depends on ARCH_MULTI_V7
 	select ARCH_BCM_MOBILE
-	select HAVE_SMP
 	help
 	  Enable support for the BCM21664 family, which includes
 	  BCM21663 and BCM21664 variants.
@@ -128,7 +123,6 @@ config ARCH_BCM_23550
 	bool "Broadcom BCM23550 SoC"
 	depends on ARCH_MULTI_V7
 	select ARCH_BCM_MOBILE
-	select HAVE_SMP
 	help
 	  Enable support for the BCM23550.
 
@@ -165,7 +159,6 @@ config ARCH_BCM2835
 	select ZONE_DMA if ARCH_MULTI_V7
 	select ARM_TIMER_SP804
 	select HAVE_ARM_ARCH_TIMER if ARCH_MULTI_V7
-	select TIMER_OF
 	select BCM2835_TIMER
 	select PINCTRL
 	select PINCTRL_BCM2835
@@ -201,7 +194,6 @@ config ARCH_BCM_63XX
 	select HAVE_ARM_ARCH_TIMER
 	select HAVE_ARM_TWD if SMP
 	select HAVE_ARM_SCU if SMP
-	select HAVE_SMP
 	help
 	  This enables support for systems based on Broadcom DSL SoCs.
 	  It currently supports the 'BCM63XX' ARM-based family, which includes
Signature · 1 line
2.17.1
#11 lore raw

Re: [PATCH 06/20] ARM: bcm: Drop unneeded select of PCI_DOMAINS_GENERIC, HAVE_SMP, TIMER_OF

Quoted 7 lines · Geert Uytterhoeven

Support for Broadcom SoCs depends on ARCH_MULTI_V6_V7, and thus on ARCH_MULTIPLATFORM, which selects PCI_DOMAINS_GENERIC and TIMER_OF. Support for the various Broadcom IPROC architected SoCs depends on ARCH_MULTI_V7, which selects HAVE_SMP.
Hence there is no need for the Broadcom-specific symbols to select any of them.

Quoted 6 lines

---

Applied to soc/next, thanks!
--
Florian

#12 lore raw

PATCH 7/20 ARM: berlin: Drop unneeded select of HAVE_SMP

In reply to Geert Uytterhoeven

Support for Marvell Berlin SoCs depends on ARCH_MULTI_V7.
As the latter selects HAVE_SMP, there is no need for MACH_BERLIN_BG2 to select HAVE_SMP.

Cc Jisheng Zhang <[email protected]>
Cc Sebastian Hesselbarth <[email protected]>

---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/[email protected]

 arch/arm/mach-berlin/Kconfig | 1 -
 1 file changed, 1 deletion(-)
arch/arm/mach-berlin/Kconfig +0 -1
index 5b1f61fd78780300..01861fa72c9714b7 100644
@@ -19,7 +19,6 @@ config MACH_BERLIN_BG2
 	select CPU_PJ4B
 	select HAVE_ARM_SCU if SMP
 	select HAVE_ARM_TWD if SMP
-	select HAVE_SMP
 	select PINCTRL_BERLIN_BG2
 
 config MACH_BERLIN_BG2CD
Signature · 1 line
2.17.1
#13 lore raw

PATCH 8/20 ARM: clps711x: Drop unneeded select of multi-platform selected options

In reply to Geert Uytterhoeven

Support for Cirrus Logic EP721x/EP731x-based SoCs depends on ARCH_MULTI_V7, and thus on ARCH_MULTIPLATFORM.
As the latter selects AUTO_ZRELADDR, TIMER_OF, COMMON_CLK, GENERIC_CLOCKEVENTS, and USE_OF, there is no need for ARCH_CLPS711X to select any of them.

---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/[email protected]

 arch/arm/mach-clps711x/Kconfig | 5 -----
 1 file changed, 5 deletions(-)
arch/arm/mach-clps711x/Kconfig +0 -5
index fc9188b54dd66a74..314de9477b84989e 100644
@@ -2,15 +2,10 @@
 menuconfig ARCH_CLPS711X
 	bool "Cirrus Logic EP721x/EP731x-based"
 	depends on ARCH_MULTI_V4T
-	select AUTO_ZRELADDR
-	select TIMER_OF
 	select CLPS711X_TIMER
-	select COMMON_CLK
 	select CPU_ARM720T
-	select GENERIC_CLOCKEVENTS
 	select GPIOLIB
 	select MFD_SYSCON
 	select OF_IRQ
-	select USE_OF
 	help
 	  Select this if you use ARMv4T Cirrus Logic chips.
Signature · 1 line
2.17.1
#14 lore raw

PATCH 9/20 ARM: davinci: Drop unneeded select of TIMER_OF

In reply to Geert Uytterhoeven

Support for TI DaVinci SoCs depends on ARCH_MULTI_V5, and thus on ARCH_MULTIPLATFORM.
As the latter selects TIMER_OF, there is no need for MACH_DA8XX_DT to select TIMER_OF.

Cc Sekhar Nori <[email protected]>
Cc Bartosz Golaszewski <[email protected]>

---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/[email protected]

 arch/arm/mach-davinci/Kconfig | 1 -
 1 file changed, 1 deletion(-)
arch/arm/mach-davinci/Kconfig +0 -1
index 02b180ad724540c0..d028d38a44bfedba 100644
@@ -64,7 +64,6 @@ config MACH_DA8XX_DT
 	default y
 	depends on ARCH_DAVINCI_DA850
 	select PINCTRL
-	select TIMER_OF
 	help
 	  Say y here to include support for TI DaVinci DA850 based using
 	  Flattened Device Tree. More information at Documentation/devicetree
Signature · 1 line
2.17.1
Acked-by on v1 9/20
#15 lore raw

Re: [PATCH 09/20] ARM: davinci: Drop unneeded select of TIMER_OF

Quoted 8 lines · Geert Uytterhoeven

Support for TI DaVinci SoCs depends on ARCH_MULTI_V5, and thus on ARCH_MULTIPLATFORM.
As the latter selects TIMER_OF, there is no need for MACH_DA8XX_DT to select TIMER_OF.

Cc Sekhar Nori <[email protected]>
Cc Bartosz Golaszewski <[email protected]>

Thanks,
Sekhar

#16 lore raw

PATCH 10/20 ARM: exynos: Drop unneeded select of MIGHT_HAVE_CACHE_L2X0

In reply to Geert Uytterhoeven

Support for Samsung Exynos SoCs depends on ARCH_MULTI_V7, which selects ARCH_MULTI_V6_V7.
As the latter selects MIGHT_HAVE_CACHE_L2X0, there is no need for ARCH_EXYNOS4 to select MIGHT_HAVE_CACHE_L2X0.

---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/[email protected]

 arch/arm/mach-exynos/Kconfig | 1 -
 1 file changed, 1 deletion(-)
arch/arm/mach-exynos/Kconfig +0 -1
index 73ce92a0cdb256dd..52a515017fe709ac 100644
@@ -64,7 +64,6 @@ config ARCH_EXYNOS4
 	select CLKSRC_SAMSUNG_PWM if CPU_EXYNOS4210
 	select CPU_EXYNOS4210
 	select GIC_NON_BANKED
-	select MIGHT_HAVE_CACHE_L2X0
 	help
 	  Samsung Exynos4 (Cortex-A9) SoC based systems
 
Signature · 1 line
2.17.1
maintainer Applied
#17 lore raw

Re: [PATCH 10/20] ARM: exynos: Drop unneeded select of MIGHT_HAVE_CACHE_L2X0

Quoted 9 lines · Geert Uytterhoeven

Support for Samsung Exynos SoCs depends on ARCH_MULTI_V7, which selects ARCH_MULTI_V6_V7.
As the latter selects MIGHT_HAVE_CACHE_L2X0, there is no need for ARCH_EXYNOS4 to select MIGHT_HAVE_CACHE_L2X0.

Quoted 5 lines

---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/[email protected]

 arch/arm/mach-exynos/Kconfig | 1 -

Thanks, applied.

Best regards,
Krzysztof

#18 lore raw

PATCH 11/20 ARM: integrator: Drop unneeded select of SPARSE_IRQ

In reply to Geert Uytterhoeven

Support for ARM Ltd. Integrator systems depends on ARCH_MULTIPLATFORM. As the latter selects SPARSE_IRQ, there is no need for ARCH_INTEGRATOR to select SPARSE_IRQ.

---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/[email protected]

 arch/arm/mach-integrator/Kconfig | 1 -
 1 file changed, 1 deletion(-)
arch/arm/mach-integrator/Kconfig +0 -1
index 982eabc361635e60..fbc35e9db46d1aa9 100644
@@ -12,7 +12,6 @@ menuconfig ARCH_INTEGRATOR
 	select POWER_RESET_VERSATILE
 	select POWER_SUPPLY
 	select SOC_INTEGRATOR_CM
-	select SPARSE_IRQ
 	select VERSATILE_FPGA_IRQ
 	help
 	  Support for ARM's Integrator platform.
Signature · 1 line
2.17.1
#19 lore raw

Re: [PATCH 11/20] ARM: integrator: Drop unneeded select of SPARSE_IRQ

Quoted 6 lines · Geert Uytterhoeven

Support for ARM Ltd. Integrator systems depends on ARCH_MULTIPLATFORM. As the latter selects SPARSE_IRQ, there is no need for ARCH_INTEGRATOR to select SPARSE_IRQ.

Patch applied!

Yours,
Linus Walleij

#20 lore raw

PATCH 12/20 ARM: meson: Drop unneeded select of COMMON_CLK

In reply to Geert Uytterhoeven

Support for Amlogic Meson SoCs depends on ARCH_MULTI_V7, and thus on ARCH_MULTIPLATFORM.
As the latter selects COMMON_CLK, there is no need for ARCH_MESON to select COMMON_CLK.

---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/[email protected]

 arch/arm/mach-meson/Kconfig | 1 -
 1 file changed, 1 deletion(-)
arch/arm/mach-meson/Kconfig +0 -1
index 01f0f4b765e00c98..75034fe197e3be0d 100644
@@ -9,7 +9,6 @@ menuconfig ARCH_MESON
 	select CACHE_L2X0
 	select PINCTRL
 	select PINCTRL_MESON
-	select COMMON_CLK
 	select HAVE_ARM_SCU if SMP
 	select HAVE_ARM_TWD if SMP
 
Signature · 1 line
2.17.1
reviewer Acked-by on v1 12/20
#21 lore raw

Re: [PATCH 12/20] ARM: meson: Drop unneeded select of COMMON_CLK

Quoted 7 lines · Geert Uytterhoeven

Support for Amlogic Meson SoCs depends on ARCH_MULTI_V7, and thus on ARCH_MULTIPLATFORM.
As the latter selects COMMON_CLK, there is no need for ARCH_MESON to select COMMON_CLK.

Quoted 2 lines

I assume that Kevin should take this through the linux-amlogic tree (instead of someone else applying the whole series directly to the arm-soc tree)?

Martin

#22 lore raw

Re: [PATCH 12/20] ARM: meson: Drop unneeded select of COMMON_CLK

Hi Martin,

Quoted 9 lines · Martin Blumenstingl
Quoted 6 lines · Geert Uytterhoeven

Support for Amlogic Meson SoCs depends on ARCH_MULTI_V7, and thus on ARCH_MULTIPLATFORM.
As the latter selects COMMON_CLK, there is no need for ARCH_MESON to select COMMON_CLK.

Thanks!

Quoted 5 lines
Quoted 2 lines

I assume that Kevin should take this through the linux-amlogic tree (instead of someone else applying the whole series directly to the arm-soc tree)?

Yes, that's the way to reduce the risk of conflicts.

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
#23 lore raw

PATCH 13/20 ARM: mmp: Drop unneeded select of COMMON_CLK

In reply to Geert Uytterhoeven

Support for Marvell MMP ARMv5 platforms depends on ARCH_MULTI_V5, and thus on ARCH_MULTIPLATFORM.
As the latter selects COMMON_CLK, there is no need for MACH_MMP_DT to select COMMON_CLK.

---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/[email protected]

 arch/arm/mach-mmp/Kconfig | 1 -
 1 file changed, 1 deletion(-)
arch/arm/mach-mmp/Kconfig +0 -1
index b58a03b18bdef14c..6fe1550f43ec6aef 100644
@@ -110,7 +110,6 @@ config MACH_MMP_DT
 	depends on ARCH_MULTI_V5
 	select PINCTRL
 	select PINCTRL_SINGLE
-	select COMMON_CLK
 	select ARCH_HAS_RESET_CONTROLLER
 	select CPU_MOHAWK
 	help
Signature · 1 line
2.17.1
reviewer Acked-by on v1 13/20
#24 lore raw

Re: [PATCH 13/20] ARM: mmp: Drop unneeded select of COMMON_CLK

Quoted 7 lines · Geert Uytterhoeven

Support for Marvell MMP ARMv5 platforms depends on ARCH_MULTI_V5, and thus on ARCH_MULTIPLATFORM.
As the latter selects COMMON_CLK, there is no need for MACH_MMP_DT to select COMMON_CLK.

Thank you
Lubo

Quoted 22 lines

---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/[email protected]

 arch/arm/mach-mmp/Kconfig | 1 -
 1 file changed, 1 deletion(-)
arch/arm/mach-mmp/Kconfig +0 -1
index b58a03b18bdef14c..6fe1550f43ec6aef 100644
@@ -110,7 +110,6 @@ config MACH_MMP_DT
 	depends on ARCH_MULTI_V5
 	select PINCTRL
 	select PINCTRL_SINGLE
-	select COMMON_CLK
 	select ARCH_HAS_RESET_CONTROLLER
 	select CPU_MOHAWK
 	help
Signature · 1 line
2.17.1
#25 lore raw

PATCH 14/20 ARM: mvebu: Drop unneeded select of HAVE_SMP

In reply to Geert Uytterhoeven

Support for Marvell Armada 375, 380, 385, and 39x SoCs depends on ARCH_MULTI_V7.
As the latter selects HAVE_SMP, there is no need for MACH_ARMADA_375, MACH_ARMADA_38X, and MACH_ARMADA_39X to select HAVE_SMP.

Cc Jason Cooper <[email protected]>
Cc Andrew Lunn <[email protected]>
Cc Gregory Clement <[email protected]>
Cc Sebastian Hesselbarth <[email protected]>

---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/[email protected]

 arch/arm/mach-mvebu/Kconfig | 3 ---
 1 file changed, 3 deletions(-)
arch/arm/mach-mvebu/Kconfig +0 -3
index 7a5629b9bede4e3f..34dbeaab94b07e52 100644
@@ -47,7 +47,6 @@ config MACH_ARMADA_375
 	select ARMADA_375_CLK
 	select HAVE_ARM_SCU
 	select HAVE_ARM_TWD if SMP
-	select HAVE_SMP
 	select MACH_MVEBU_V7
 	select PINCTRL_ARMADA_375
 	help
@@ -66,7 +65,6 @@ config MACH_ARMADA_38X
 	select ARMADA_38X_CLK
 	select HAVE_ARM_SCU
 	select HAVE_ARM_TWD if SMP
-	select HAVE_SMP
 	select MACH_MVEBU_V7
 	select PINCTRL_ARMADA_38X
 	help
@@ -82,7 +80,6 @@ config MACH_ARMADA_39X
 	select CACHE_L2X0
 	select HAVE_ARM_SCU
 	select HAVE_ARM_TWD if SMP
-	select HAVE_SMP
 	select MACH_MVEBU_V7
 	select PINCTRL_ARMADA_39X
 	help
Signature · 1 line
2.17.1
#26 lore raw

PATCH 15/20 ARM: omap2plus: Drop unneeded select of MIGHT_HAVE_CACHE_L2X0

In reply to Geert Uytterhoeven

Support for TI AM43x SoCs depends on ARCH_MULTI_V7, which selects ARCH_MULTI_V6_V7.
As the latter selects MIGHT_HAVE_CACHE_L2X0, there is no need for SOC_AM43XX to select MIGHT_HAVE_CACHE_L2X0.

---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/[email protected]

 arch/arm/mach-omap2/Kconfig | 1 -
 1 file changed, 1 deletion(-)
arch/arm/mach-omap2/Kconfig +0 -1
index dca7d06c0b938619..ea23205bf70f4df6 100644
@@ -66,7 +66,6 @@ config SOC_AM43XX
 	select ARCH_OMAP2PLUS
 	select ARM_GIC
 	select MACH_OMAP_GENERIC
-	select MIGHT_HAVE_CACHE_L2X0
 	select HAVE_ARM_SCU
 	select GENERIC_CLOCKEVENTS_BROADCAST
 	select HAVE_ARM_TWD
Signature · 1 line
2.17.1
maintainer Acked-by on v1 15/20
#27 lore raw

Re: [PATCH 15/20] ARM: omap2plus: Drop unneeded select of MIGHT_HAVE_CACHE_L2X0

Quoted 4 lines · Geert Uytterhoeven

Support for TI AM43x SoCs depends on ARCH_MULTI_V7, which selects ARCH_MULTI_V6_V7.
As the latter selects MIGHT_HAVE_CACHE_L2X0, there is no need for SOC_AM43XX to select MIGHT_HAVE_CACHE_L2X0.

#28 lore raw

PATCH 16/20 ARM: orion5x: Drop unneeded select of PCI_DOMAINS_GENERIC

In reply to Geert Uytterhoeven

Support for Marvell Orion SoCs depends on ARCH_MULTI_V5, and thus on ARCH_MULTIPLATFORM.
As the latter selects GENERIC_CLOCKEVENTS and USE_OF, there is no need for ARCH_ORION5X and ARCH_ORION5X_DT to select any of them.

Cc Jason Cooper <[email protected]>
Cc Andrew Lunn <[email protected]>
Cc Sebastian Hesselbarth <[email protected]>
Cc Gregory Clement <[email protected]>

---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/[email protected]

 arch/arm/mach-orion5x/Kconfig | 2 --
 1 file changed, 2 deletions(-)
arch/arm/mach-orion5x/Kconfig +0 -2
index cf9cb3d2590ec19b..e94a61901ffd86b4 100644
@@ -3,7 +3,6 @@ menuconfig ARCH_ORION5X
 	bool "Marvell Orion"
 	depends on MMU && ARCH_MULTI_V5
 	select CPU_FEROCEON
-	select GENERIC_CLOCKEVENTS
 	select GPIOLIB
 	select MVEBU_MBUS
 	select FORCE_PCI
@@ -18,7 +17,6 @@ if ARCH_ORION5X
 
 config ARCH_ORION5X_DT
 	bool "Marvell Orion5x Flattened Device Tree"
-	select USE_OF
 	select ORION_CLK
 	select ORION_IRQCHIP
 	select ORION_TIMER
Signature · 1 line
2.17.1
maintainer
#29 lore raw

Re: [PATCH 16/20] ARM: orion5x: Drop unneeded select of PCI_DOMAINS_GENERIC

Hi Geert,

Quoted 10 lines

Support for Marvell Orion SoCs depends on ARCH_MULTI_V5, and thus on ARCH_MULTIPLATFORM.
As the latter selects GENERIC_CLOCKEVENTS and USE_OF, there is no need for ARCH_ORION5X and ARCH_ORION5X_DT to select any of them.

Cc Jason Cooper <[email protected]>
Cc Andrew Lunn <[email protected]>
Cc Sebastian Hesselbarth <[email protected]>
Cc Gregory Clement <[email protected]>

Applied on mvebu/arm

Thanks,

Gregory

Quoted 30 lines

---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/[email protected]

 arch/arm/mach-orion5x/Kconfig | 2 --
 1 file changed, 2 deletions(-)
arch/arm/mach-orion5x/Kconfig +0 -2
index cf9cb3d2590ec19b..e94a61901ffd86b4 100644
@@ -3,7 +3,6 @@ menuconfig ARCH_ORION5X
 	bool "Marvell Orion"
 	depends on MMU && ARCH_MULTI_V5
 	select CPU_FEROCEON
-	select GENERIC_CLOCKEVENTS
 	select GPIOLIB
 	select MVEBU_MBUS
 	select FORCE_PCI
@@ -18,7 +17,6 @@ if ARCH_ORION5X
 
 config ARCH_ORION5X_DT
 	bool "Marvell Orion5x Flattened Device Tree"
-	select USE_OF
 	select ORION_CLK
 	select ORION_IRQCHIP
 	select ORION_TIMER
Signature · 1 line
2.17.1
Signature · 8 lines
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#30 lore raw

PATCH 17/20 ARM: prima2: Drop unneeded select of HAVE_SMP

In reply to Geert Uytterhoeven

Support for CSR SiRF SoCs depends on ARCH_MULTI_V7.
As the latter selects HAVE_SMP, there is no need for ARCH_ATLAS7 to select HAVE_SMP.

---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/[email protected]

 arch/arm/mach-prima2/Kconfig | 1 -
 1 file changed, 1 deletion(-)
arch/arm/mach-prima2/Kconfig +0 -1
index 6f66785fab01bbc9..ea077f66372dd55a 100644
@@ -30,7 +30,6 @@ config ARCH_ATLAS7
 	select ARM_GIC
 	select ATLAS7_TIMER
 	select HAVE_ARM_SCU if SMP
-	select HAVE_SMP
 	help
           Support for CSR SiRFSoC ARM Cortex A7 Platform
 
Signature · 1 line
2.17.1
#31 lore raw

PATCH 18/20 ARM: realview: Drop unneeded select of multi-platform features

In reply to Geert Uytterhoeven

Support for ARM Ltd. RealView systems depends on ARCH_MULTIPLATFORM, which selects USE_OF.
Support for ARMv6 and ARMv7 variants depends on ARCH_MULTI_V6 or ARCH_MULTI_V7, which both select ARCH_MULTI_V6_V7 and thus MIGHT_HAVE_CACHE_L2X0.
Support for ARMv7 variants depends on ARCH_MULTI_V7, which selects HAVE_SMP.
Hence there is no need for the affected RealView-specific symbols to select any of them.

---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/[email protected]

 arch/arm/mach-realview/Kconfig | 8 --------
 1 file changed, 8 deletions(-)
arch/arm/mach-realview/Kconfig +0 -8
index 44ebbf9ec67364db..0f139a20e113d6c3 100644
@@ -21,7 +21,6 @@ menuconfig ARCH_REALVIEW
 	select POWER_RESET_VERSATILE
 	select POWER_SUPPLY
 	select SOC_REALVIEW
-	select USE_OF
 	help
 	  This enables support for ARM Ltd RealView boards.
 
@@ -56,8 +55,6 @@ config REALVIEW_EB_ARM1176
 config REALVIEW_EB_A9MP
 	bool "Support Multicore Cortex-A9 Tile"
 	depends on MACH_REALVIEW_EB && ARCH_MULTI_V7
-	select HAVE_SMP
-	select MIGHT_HAVE_CACHE_L2X0
 	help
 	  Enable support for the Cortex-A9MPCore tile fitted to the
 	  Realview(R) Emulation Baseboard platform.
@@ -66,7 +63,6 @@ config REALVIEW_EB_ARM11MP
 	bool "Support ARM11MPCore Tile"
 	depends on MACH_REALVIEW_EB && ARCH_MULTI_V6
 	select HAVE_SMP
-	select MIGHT_HAVE_CACHE_L2X0
 	help
 	  Enable support for the ARM11MPCore tile fitted to the Realview(R)
 	  Emulation Baseboard platform.
@@ -75,7 +71,6 @@ config MACH_REALVIEW_PB11MP
 	bool "Support RealView(R) Platform Baseboard for ARM11MPCore"
 	depends on ARCH_MULTI_V6
 	select HAVE_SMP
-	select MIGHT_HAVE_CACHE_L2X0
 	help
 	  Include support for the ARM(R) RealView(R) Platform Baseboard for
 	  the ARM11MPCore.  This platform has an on-board ARM11MPCore and has
@@ -87,7 +82,6 @@ config MACH_REALVIEW_PB1176
 	depends on ARCH_MULTI_V6
 	select CPU_V6
 	select HAVE_TCM
-	select MIGHT_HAVE_CACHE_L2X0
 	help
 	  Include support for the ARM(R) RealView(R) Platform Baseboard for
 	  ARM1176JZF-S.
@@ -103,8 +97,6 @@ config MACH_REALVIEW_PBA8
 config MACH_REALVIEW_PBX
 	bool "Support RealView(R) Platform Baseboard Explore for Cortex-A9"
 	depends on ARCH_MULTI_V7
-	select HAVE_SMP
-	select MIGHT_HAVE_CACHE_L2X0
 	select ZONE_DMA
 	help
 	  Include support for the ARM(R) RealView(R) Platform Baseboard
Signature · 1 line
2.17.1
#32 lore raw

Re: [PATCH 18/20] ARM: realview: Drop unneeded select of multi-platform features

Quoted 10 lines · Geert Uytterhoeven

Support for ARM Ltd. RealView systems depends on ARCH_MULTIPLATFORM, which selects USE_OF.
Support for ARMv6 and ARMv7 variants depends on ARCH_MULTI_V6 or ARCH_MULTI_V7, which both select ARCH_MULTI_V6_V7 and thus MIGHT_HAVE_CACHE_L2X0.
Support for ARMv7 variants depends on ARCH_MULTI_V7, which selects HAVE_SMP.
Hence there is no need for the affected RealView-specific symbols to select any of them.

Quoted 2 lines

Patch applied!

Yours,
Linus Walleij

#33 lore raw

PATCH 19/20 ARM: s3c64xx: Drop unneeded select of TIMER_OF

In reply to Geert Uytterhoeven

Support for Samsung S3C64XX systems depends on ARCH_MULTI_V6, and thus on ARCH_MULTIPLATFORM.
As the latter selects TIMER_OF, there is no need for MACH_S3C64XX_DT to select TIMER_OF.

---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/[email protected]

 arch/arm/mach-s3c64xx/Kconfig | 1 -
 1 file changed, 1 deletion(-)
arch/arm/mach-s3c64xx/Kconfig +0 -1
index 5700822e3c74b8e4..ac3e3563487fc6f9 100644
@@ -336,7 +336,6 @@ config MACH_WLF_CRAGG_6410
 
 config MACH_S3C64XX_DT
 	bool "Samsung S3C6400/S3C6410 machine using Device Tree"
-	select TIMER_OF
 	select CPU_S3C6400
 	select CPU_S3C6410
 	select PINCTRL
Signature · 1 line
2.17.1
maintainer Applied
#34 lore raw

Re: [PATCH 19/20] ARM: s3c64xx: Drop unneeded select of TIMER_OF

Quoted 8 lines · Geert Uytterhoeven

Support for Samsung S3C64XX systems depends on ARCH_MULTI_V6, and thus on ARCH_MULTIPLATFORM.
As the latter selects TIMER_OF, there is no need for MACH_S3C64XX_DT to select TIMER_OF.

Cc Kukjin Kim <[email protected]>
Cc Krzysztof Kozlowski <[email protected]>

Thanks, applied.

Best regards,
Krzysztof

#35 lore raw

PATCH 20/20 ARM: socfpga: Drop unneeded select of PCI_DOMAINS_GENERIC

In reply to Geert Uytterhoeven

Support for Altera SOCFPGA systems depends on ARCH_MULTI_V7, and thus on ARCH_MULTIPLATFORM.
As the latter selects PCI_DOMAINS_GENERIC, there is no need for ARCH_SOCFPGA to select PCI_DOMAINS_GENERIC.

---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/[email protected]

 arch/arm/mach-socfpga/Kconfig | 1 -
 1 file changed, 1 deletion(-)
arch/arm/mach-socfpga/Kconfig +0 -1
index 22af5e308db6cc81..c3bb68d57cea2e51 100644
@@ -11,7 +11,6 @@ menuconfig ARCH_SOCFPGA
 	select HAVE_ARM_SCU
 	select HAVE_ARM_TWD if SMP
 	select MFD_SYSCON
-	select PCI_DOMAINS_GENERIC if PCI
 	select ARM_ERRATA_754322
 	select ARM_ERRATA_764369 if SMP
 	select ARM_ERRATA_775420
Signature · 1 line
2.17.1
maintainer Acked-by on v1 20/20
#36 lore raw

Re: [PATCH 20/20] ARM: socfpga: Drop unneeded select of PCI_DOMAINS_GENERIC

Quoted 20 lines · Geert Uytterhoeven

Support for Altera SOCFPGA systems depends on ARCH_MULTI_V7, and thus on ARCH_MULTIPLATFORM.
As the latter selects PCI_DOMAINS_GENERIC, there is no need for ARCH_SOCFPGA to select PCI_DOMAINS_GENERIC.

---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/[email protected]

 arch/arm/mach-socfpga/Kconfig | 1 -
 1 file changed, 1 deletion(-)
arch/arm/mach-socfpga/Kconfig +0 -0
index 22af5e308db6cc81..c3bb68d57cea2e51 100644

arch/arm/mach-socfpga/Kconfig menuconfig ARCH_SOCFPGA · line 16

Quoted 7 lines
arch/arm/mach-socfpga/Kconfig +0 -1
@@ -11,7 +11,6 @@ menuconfig ARCH_SOCFPGA
 	select HAVE_ARM_SCU
 	select HAVE_ARM_TWD if SMP
 	select MFD_SYSCON
-	select PCI_DOMAINS_GENERIC if PCI
 	select ARM_ERRATA_754322
 	select ARM_ERRATA_764369 if SMP
 	select ARM_ERRATA_775420
maintainer Reviewed-by on v1 1/20
#37 lore raw

Re: [PATCH 01/20] ARM: actions: Drop unneeded select of COMMON_CLK

In reply to Geert Uytterhoeven

Am 21.01.20 um 11:37 schrieb Geert Uytterhoeven:

Quoted 7 lines

Support for Actions Semi SoCs depends on ARCH_MULTI_V7, and thus on ARCH_MULTIPLATFORM.
As the latter selects COMMON_CLK, there is no need for ARCH_ACTIONS to select COMMON_CLK.

Quoted 13 lines
Cc Manivannan Sadhasivam <[email protected]>

---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/[email protected]

  arch/arm/mach-actions/Kconfig | 1 -
  1 file changed, 1 deletion(-)
arch/arm/mach-actions/Kconfig +0 -0
index b5e0ac965ec0dd10..00fb4babccdd991b 100644

arch/arm/mach-actions/Kconfig menuconfig ARCH_ACTIONS · line 12

Quoted 7 lines
arch/arm/mach-actions/Kconfig +0 -1
@@ -7,7 +7,6 @@ menuconfig ARCH_ACTIONS
  	select ARM_GLOBAL_TIMER
  	select CACHE_L2X0
  	select CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK
-	select COMMON_CLK
  	select GENERIC_IRQ_CHIP
  	select HAVE_ARM_SCU if SMP
  	select HAVE_ARM_TWD if SMP

Thanks,
Andreas

Signature · 4 lines
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer
HRB 36809 (AG Nürnberg)
Acked-by on the v1 series
#38 lore raw
In reply to Geert Uytterhoeven
Quoted 11 lines · Geert Uytterhoeven

Hi all,

This patch series drops select statements from the various platform-specific Kconfig files, for symbols that are already selected by the various multi-platform related config options (ARCH_MULTIPLATFORM, ARCH_MULTI_V*, and ARM_SINGLE_ARMV7M). This makes it easier to e.g. identify platforms that are not yet part of multi-platform builds, but already use some multi-platform features (e.g. "COMMON_CLK" is used by multi-platform + s3c24xx).

Quoted 4 lines

All patches in this series are independent of each other.

This has been tested by running "make oldconfig" on .config files expanded before from all defconfig files, which triggered no changes.

Nice cleanup!