linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/20] ARM: Drop unneeded select of multi-platform selected options
@ 2020-01-21 10:34 Geert Uytterhoeven
  2020-01-21 10:37 ` [PATCH 01/20] ARM: actions: Drop unneeded select of COMMON_CLK Geert Uytterhoeven
  2020-01-21 15:07 ` [PATCH 00/20] ARM: Drop unneeded select of multi-platform selected options Arnd Bergmann
  0 siblings, 2 replies; 39+ messages in thread
From: Geert Uytterhoeven @ 2020-01-21 10:34 UTC (permalink / raw)
  To: Arnd Bergmann, Kevin Hilman, Olof Johansson
  Cc: linux-arm-kernel, linux-kernel, 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).

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(-)

-- 
2.17.1

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

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

^ permalink raw reply	[flat|nested] 39+ messages in thread

* [PATCH 01/20] ARM: actions: Drop unneeded select of COMMON_CLK
  2020-01-21 10:34 [PATCH 00/20] ARM: Drop unneeded select of multi-platform selected options Geert Uytterhoeven
@ 2020-01-21 10:37 ` Geert Uytterhoeven
  2020-01-21 10:37   ` [PATCH 02/20] ARM: alpine: Drop unneeded select of HAVE_SMP Geert Uytterhoeven
                     ` (19 more replies)
  2020-01-21 15:07 ` [PATCH 00/20] ARM: Drop unneeded select of multi-platform selected options Arnd Bergmann
  1 sibling, 20 replies; 39+ messages in thread
From: Geert Uytterhoeven @ 2020-01-21 10:37 UTC (permalink / raw)
  To: Arnd Bergmann, Kevin Hilman, Olof Johansson
  Cc: linux-arm-kernel, linux-kernel, Geert Uytterhoeven,
	Andreas Färber, Manivannan Sadhasivam

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.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Andreas Färber <afaerber@suse.de>
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/20200121103413.1337-1-geert+renesas@glider.be

 arch/arm/mach-actions/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/mach-actions/Kconfig b/arch/arm/mach-actions/Kconfig
index b5e0ac965ec0dd10..00fb4babccdd991b 100644
--- a/arch/arm/mach-actions/Kconfig
+++ b/arch/arm/mach-actions/Kconfig
@@ -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
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 02/20] ARM: alpine: Drop unneeded select of HAVE_SMP
  2020-01-21 10:37 ` [PATCH 01/20] ARM: actions: Drop unneeded select of COMMON_CLK Geert Uytterhoeven
@ 2020-01-21 10:37   ` Geert Uytterhoeven
  2020-01-21 10:37   ` [PATCH 03/20] ARM: asm9260: Drop unneeded select of GENERIC_CLOCKEVENTS Geert Uytterhoeven
                     ` (18 subsequent siblings)
  19 siblings, 0 replies; 39+ messages in thread
From: Geert Uytterhoeven @ 2020-01-21 10:37 UTC (permalink / raw)
  To: Arnd Bergmann, Kevin Hilman, Olof Johansson
  Cc: linux-arm-kernel, linux-kernel, Geert Uytterhoeven,
	Tsahee Zidenberg, Antoine Tenart

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.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Tsahee Zidenberg <tsahee@annapurnalabs.com>
Cc: Antoine Tenart <antoine.tenart@bootlin.com>
---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/20200121103413.1337-1-geert+renesas@glider.be

 arch/arm/mach-alpine/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/mach-alpine/Kconfig b/arch/arm/mach-alpine/Kconfig
index bc04c91294cf12e2..6a68a162385b8534 100644
--- a/arch/arm/mach-alpine/Kconfig
+++ b/arch/arm/mach-alpine/Kconfig
@@ -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
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 03/20] ARM: asm9260: Drop unneeded select of GENERIC_CLOCKEVENTS
  2020-01-21 10:37 ` [PATCH 01/20] ARM: actions: Drop unneeded select of COMMON_CLK Geert Uytterhoeven
  2020-01-21 10:37   ` [PATCH 02/20] ARM: alpine: Drop unneeded select of HAVE_SMP Geert Uytterhoeven
@ 2020-01-21 10:37   ` Geert Uytterhoeven
  2020-01-21 10:37   ` [PATCH 04/20] ARM: aspeed: Drop unneeded select of HAVE_SMP Geert Uytterhoeven
                     ` (17 subsequent siblings)
  19 siblings, 0 replies; 39+ messages in thread
From: Geert Uytterhoeven @ 2020-01-21 10:37 UTC (permalink / raw)
  To: Arnd Bergmann, Kevin Hilman, Olof Johansson
  Cc: linux-arm-kernel, linux-kernel, Geert Uytterhoeven, Oleksij Rempel

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.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Oleksij Rempel <linux@rempel-privat.de>
---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/20200121103413.1337-1-geert+renesas@glider.be

 arch/arm/mach-asm9260/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/mach-asm9260/Kconfig b/arch/arm/mach-asm9260/Kconfig
index e42dbaa53bc61b20..a2e1d0aaf2529aa5 100644
--- a/arch/arm/mach-asm9260/Kconfig
+++ b/arch/arm/mach-asm9260/Kconfig
@@ -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.
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 04/20] ARM: aspeed: Drop unneeded select of HAVE_SMP
  2020-01-21 10:37 ` [PATCH 01/20] ARM: actions: Drop unneeded select of COMMON_CLK Geert Uytterhoeven
  2020-01-21 10:37   ` [PATCH 02/20] ARM: alpine: Drop unneeded select of HAVE_SMP Geert Uytterhoeven
  2020-01-21 10:37   ` [PATCH 03/20] ARM: asm9260: Drop unneeded select of GENERIC_CLOCKEVENTS Geert Uytterhoeven
@ 2020-01-21 10:37   ` Geert Uytterhoeven
  2020-01-28  1:05     ` Andrew Jeffery
  2020-01-21 10:37   ` [PATCH 05/20] ARM: at91: Drop unneeded select of COMMON_CLK Geert Uytterhoeven
                     ` (16 subsequent siblings)
  19 siblings, 1 reply; 39+ messages in thread
From: Geert Uytterhoeven @ 2020-01-21 10:37 UTC (permalink / raw)
  To: Arnd Bergmann, Kevin Hilman, Olof Johansson
  Cc: linux-arm-kernel, linux-kernel, Geert Uytterhoeven, Joel Stanley,
	Andrew Jeffery

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.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Joel Stanley <joel@jms.id.au>
Cc: Andrew Jeffery <andrew@aj.id.au>
---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/20200121103413.1337-1-geert+renesas@glider.be

 arch/arm/mach-aspeed/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/mach-aspeed/Kconfig b/arch/arm/mach-aspeed/Kconfig
index e8d6e9957d65b717..ea96d11b850241ce 100644
--- a/arch/arm/mach-aspeed/Kconfig
+++ b/arch/arm/mach-aspeed/Kconfig
@@ -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.
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 05/20] ARM: at91: Drop unneeded select of COMMON_CLK
  2020-01-21 10:37 ` [PATCH 01/20] ARM: actions: Drop unneeded select of COMMON_CLK Geert Uytterhoeven
                     ` (2 preceding siblings ...)
  2020-01-21 10:37   ` [PATCH 04/20] ARM: aspeed: Drop unneeded select of HAVE_SMP Geert Uytterhoeven
@ 2020-01-21 10:37   ` Geert Uytterhoeven
  2020-02-10 16:56     ` Alexandre Belloni
  2020-01-21 10:37   ` [PATCH 06/20] ARM: bcm: Drop unneeded select of PCI_DOMAINS_GENERIC, HAVE_SMP, TIMER_OF Geert Uytterhoeven
                     ` (15 subsequent siblings)
  19 siblings, 1 reply; 39+ messages in thread
From: Geert Uytterhoeven @ 2020-01-21 10:37 UTC (permalink / raw)
  To: Arnd Bergmann, Kevin Hilman, Olof Johansson
  Cc: linux-arm-kernel, linux-kernel, Geert Uytterhoeven,
	Nicolas Ferre, Alexandre Belloni, Ludovic Desroches

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.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Nicolas Ferre <nicolas.ferre@microchip.com>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: Ludovic Desroches <ludovic.desroches@microchip.com>
---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/20200121103413.1337-1-geert+renesas@glider.be

 arch/arm/mach-at91/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index af41725fcc72d1a4..dc7ed483306348c8 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm/mach-at91/Kconfig
@@ -136,7 +136,6 @@ config HAVE_AT91_USB_CLK
 
 config COMMON_CLK_AT91
 	bool
-	select COMMON_CLK
 	select MFD_SYSCON
 
 config HAVE_AT91_SMD
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 06/20] ARM: bcm: Drop unneeded select of PCI_DOMAINS_GENERIC, HAVE_SMP, TIMER_OF
  2020-01-21 10:37 ` [PATCH 01/20] ARM: actions: Drop unneeded select of COMMON_CLK Geert Uytterhoeven
                     ` (3 preceding siblings ...)
  2020-01-21 10:37   ` [PATCH 05/20] ARM: at91: Drop unneeded select of COMMON_CLK Geert Uytterhoeven
@ 2020-01-21 10:37   ` Geert Uytterhoeven
  2020-01-28 23:23     ` Florian Fainelli
  2020-01-21 10:37   ` [PATCH 07/20] ARM: berlin: Drop unneeded select of HAVE_SMP Geert Uytterhoeven
                     ` (14 subsequent siblings)
  19 siblings, 1 reply; 39+ messages in thread
From: Geert Uytterhoeven @ 2020-01-21 10:37 UTC (permalink / raw)
  To: Arnd Bergmann, Kevin Hilman, Olof Johansson
  Cc: linux-arm-kernel, linux-kernel, Geert Uytterhoeven,
	Florian Fainelli, Ray Jui, Scott Branden,
	bcm-kernel-feedback-list

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.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Ray Jui <rjui@broadcom.com>
Cc: Scott Branden <sbranden@broadcom.com>
Cc: bcm-kernel-feedback-list@broadcom.com
---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/20200121103413.1337-1-geert+renesas@glider.be

 arch/arm/mach-bcm/Kconfig | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/arch/arm/mach-bcm/Kconfig b/arch/arm/mach-bcm/Kconfig
index fcfe2a0e805896e9..6aa938b949db2fec 100644
--- a/arch/arm/mach-bcm/Kconfig
+++ b/arch/arm/mach-bcm/Kconfig
@@ -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
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 07/20] ARM: berlin: Drop unneeded select of HAVE_SMP
  2020-01-21 10:37 ` [PATCH 01/20] ARM: actions: Drop unneeded select of COMMON_CLK Geert Uytterhoeven
                     ` (4 preceding siblings ...)
  2020-01-21 10:37   ` [PATCH 06/20] ARM: bcm: Drop unneeded select of PCI_DOMAINS_GENERIC, HAVE_SMP, TIMER_OF Geert Uytterhoeven
@ 2020-01-21 10:37   ` Geert Uytterhoeven
  2020-01-21 10:37   ` [PATCH 08/20] ARM: clps711x: Drop unneeded select of multi-platform selected options Geert Uytterhoeven
                     ` (13 subsequent siblings)
  19 siblings, 0 replies; 39+ messages in thread
From: Geert Uytterhoeven @ 2020-01-21 10:37 UTC (permalink / raw)
  To: Arnd Bergmann, Kevin Hilman, Olof Johansson
  Cc: linux-arm-kernel, linux-kernel, Geert Uytterhoeven,
	Jisheng Zhang, Sebastian Hesselbarth

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.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/20200121103413.1337-1-geert+renesas@glider.be

 arch/arm/mach-berlin/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/mach-berlin/Kconfig b/arch/arm/mach-berlin/Kconfig
index 5b1f61fd78780300..01861fa72c9714b7 100644
--- a/arch/arm/mach-berlin/Kconfig
+++ b/arch/arm/mach-berlin/Kconfig
@@ -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
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 08/20] ARM: clps711x: Drop unneeded select of multi-platform selected options
  2020-01-21 10:37 ` [PATCH 01/20] ARM: actions: Drop unneeded select of COMMON_CLK Geert Uytterhoeven
                     ` (5 preceding siblings ...)
  2020-01-21 10:37   ` [PATCH 07/20] ARM: berlin: Drop unneeded select of HAVE_SMP Geert Uytterhoeven
@ 2020-01-21 10:37   ` Geert Uytterhoeven
  2020-01-21 10:37   ` [PATCH 09/20] ARM: davinci: Drop unneeded select of TIMER_OF Geert Uytterhoeven
                     ` (12 subsequent siblings)
  19 siblings, 0 replies; 39+ messages in thread
From: Geert Uytterhoeven @ 2020-01-21 10:37 UTC (permalink / raw)
  To: Arnd Bergmann, Kevin Hilman, Olof Johansson
  Cc: linux-arm-kernel, linux-kernel, Geert Uytterhoeven, Alexander Shiyan

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.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Alexander Shiyan <shc_work@mail.ru>
---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/20200121103413.1337-1-geert+renesas@glider.be

 arch/arm/mach-clps711x/Kconfig | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/arch/arm/mach-clps711x/Kconfig b/arch/arm/mach-clps711x/Kconfig
index fc9188b54dd66a74..314de9477b84989e 100644
--- a/arch/arm/mach-clps711x/Kconfig
+++ b/arch/arm/mach-clps711x/Kconfig
@@ -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.
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 09/20] ARM: davinci: Drop unneeded select of TIMER_OF
  2020-01-21 10:37 ` [PATCH 01/20] ARM: actions: Drop unneeded select of COMMON_CLK Geert Uytterhoeven
                     ` (6 preceding siblings ...)
  2020-01-21 10:37   ` [PATCH 08/20] ARM: clps711x: Drop unneeded select of multi-platform selected options Geert Uytterhoeven
@ 2020-01-21 10:37   ` Geert Uytterhoeven
  2020-01-27  8:40     ` Sekhar Nori
  2020-01-21 10:37   ` [PATCH 10/20] ARM: exynos: Drop unneeded select of MIGHT_HAVE_CACHE_L2X0 Geert Uytterhoeven
                     ` (11 subsequent siblings)
  19 siblings, 1 reply; 39+ messages in thread
From: Geert Uytterhoeven @ 2020-01-21 10:37 UTC (permalink / raw)
  To: Arnd Bergmann, Kevin Hilman, Olof Johansson
  Cc: linux-arm-kernel, linux-kernel, Geert Uytterhoeven, Sekhar Nori,
	Bartosz Golaszewski

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.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Sekhar Nori <nsekhar@ti.com>
Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com>
---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/20200121103413.1337-1-geert+renesas@glider.be

 arch/arm/mach-davinci/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/mach-davinci/Kconfig b/arch/arm/mach-davinci/Kconfig
index 02b180ad724540c0..d028d38a44bfedba 100644
--- a/arch/arm/mach-davinci/Kconfig
+++ b/arch/arm/mach-davinci/Kconfig
@@ -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
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 10/20] ARM: exynos: Drop unneeded select of MIGHT_HAVE_CACHE_L2X0
  2020-01-21 10:37 ` [PATCH 01/20] ARM: actions: Drop unneeded select of COMMON_CLK Geert Uytterhoeven
                     ` (7 preceding siblings ...)
  2020-01-21 10:37   ` [PATCH 09/20] ARM: davinci: Drop unneeded select of TIMER_OF Geert Uytterhoeven
@ 2020-01-21 10:37   ` Geert Uytterhoeven
  2020-01-21 19:59     ` Krzysztof Kozlowski
  2020-01-21 10:37   ` [PATCH 11/20] ARM: integrator: Drop unneeded select of SPARSE_IRQ Geert Uytterhoeven
                     ` (10 subsequent siblings)
  19 siblings, 1 reply; 39+ messages in thread
From: Geert Uytterhoeven @ 2020-01-21 10:37 UTC (permalink / raw)
  To: Arnd Bergmann, Kevin Hilman, Olof Johansson
  Cc: linux-arm-kernel, linux-kernel, Geert Uytterhoeven, Kukjin Kim,
	Krzysztof Kozlowski, linux-samsung-soc

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.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Kukjin Kim <kgene@kernel.org>
Cc: Krzysztof Kozlowski <krzk@kernel.org>
Cc: linux-samsung-soc@vger.kernel.org
---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/20200121103413.1337-1-geert+renesas@glider.be

 arch/arm/mach-exynos/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig
index 73ce92a0cdb256dd..52a515017fe709ac 100644
--- a/arch/arm/mach-exynos/Kconfig
+++ b/arch/arm/mach-exynos/Kconfig
@@ -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
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 11/20] ARM: integrator: Drop unneeded select of SPARSE_IRQ
  2020-01-21 10:37 ` [PATCH 01/20] ARM: actions: Drop unneeded select of COMMON_CLK Geert Uytterhoeven
                     ` (8 preceding siblings ...)
  2020-01-21 10:37   ` [PATCH 10/20] ARM: exynos: Drop unneeded select of MIGHT_HAVE_CACHE_L2X0 Geert Uytterhoeven
@ 2020-01-21 10:37   ` Geert Uytterhoeven
  2020-02-14 10:11     ` Linus Walleij
  2020-01-21 10:37   ` [PATCH 12/20] ARM: meson: Drop unneeded select of COMMON_CLK Geert Uytterhoeven
                     ` (9 subsequent siblings)
  19 siblings, 1 reply; 39+ messages in thread
From: Geert Uytterhoeven @ 2020-01-21 10:37 UTC (permalink / raw)
  To: Arnd Bergmann, Kevin Hilman, Olof Johansson
  Cc: linux-arm-kernel, linux-kernel, Geert Uytterhoeven, Linus Walleij

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.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Linus Walleij <linus.walleij@linaro.org>
---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/20200121103413.1337-1-geert+renesas@glider.be

 arch/arm/mach-integrator/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/mach-integrator/Kconfig b/arch/arm/mach-integrator/Kconfig
index 982eabc361635e60..fbc35e9db46d1aa9 100644
--- a/arch/arm/mach-integrator/Kconfig
+++ b/arch/arm/mach-integrator/Kconfig
@@ -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.
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 12/20] ARM: meson: Drop unneeded select of COMMON_CLK
  2020-01-21 10:37 ` [PATCH 01/20] ARM: actions: Drop unneeded select of COMMON_CLK Geert Uytterhoeven
                     ` (9 preceding siblings ...)
  2020-01-21 10:37   ` [PATCH 11/20] ARM: integrator: Drop unneeded select of SPARSE_IRQ Geert Uytterhoeven
@ 2020-01-21 10:37   ` Geert Uytterhoeven
  2020-01-21 22:11     ` Martin Blumenstingl
  2020-01-21 10:37   ` [PATCH 13/20] ARM: mmp: " Geert Uytterhoeven
                     ` (8 subsequent siblings)
  19 siblings, 1 reply; 39+ messages in thread
From: Geert Uytterhoeven @ 2020-01-21 10:37 UTC (permalink / raw)
  To: Arnd Bergmann, Kevin Hilman, Olof Johansson
  Cc: linux-arm-kernel, linux-kernel, Geert Uytterhoeven, Kevin Hilman,
	linux-amlogic

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.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Kevin Hilman <khilman@baylibre.com>
Cc: linux-amlogic@lists.infradead.org
---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/20200121103413.1337-1-geert+renesas@glider.be

 arch/arm/mach-meson/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/mach-meson/Kconfig b/arch/arm/mach-meson/Kconfig
index 01f0f4b765e00c98..75034fe197e3be0d 100644
--- a/arch/arm/mach-meson/Kconfig
+++ b/arch/arm/mach-meson/Kconfig
@@ -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
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 13/20] ARM: mmp: Drop unneeded select of COMMON_CLK
  2020-01-21 10:37 ` [PATCH 01/20] ARM: actions: Drop unneeded select of COMMON_CLK Geert Uytterhoeven
                     ` (10 preceding siblings ...)
  2020-01-21 10:37   ` [PATCH 12/20] ARM: meson: Drop unneeded select of COMMON_CLK Geert Uytterhoeven
@ 2020-01-21 10:37   ` Geert Uytterhoeven
  2020-01-21 17:13     ` Lubomir Rintel
  2020-01-21 10:37   ` [PATCH 14/20] ARM: mvebu: Drop unneeded select of HAVE_SMP Geert Uytterhoeven
                     ` (7 subsequent siblings)
  19 siblings, 1 reply; 39+ messages in thread
From: Geert Uytterhoeven @ 2020-01-21 10:37 UTC (permalink / raw)
  To: Arnd Bergmann, Kevin Hilman, Olof Johansson
  Cc: linux-arm-kernel, linux-kernel, Geert Uytterhoeven, Lubomir Rintel

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.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Lubomir Rintel <lkundrak@v3.sk>
---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/20200121103413.1337-1-geert+renesas@glider.be

 arch/arm/mach-mmp/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/mach-mmp/Kconfig b/arch/arm/mach-mmp/Kconfig
index b58a03b18bdef14c..6fe1550f43ec6aef 100644
--- a/arch/arm/mach-mmp/Kconfig
+++ b/arch/arm/mach-mmp/Kconfig
@@ -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
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 14/20] ARM: mvebu: Drop unneeded select of HAVE_SMP
  2020-01-21 10:37 ` [PATCH 01/20] ARM: actions: Drop unneeded select of COMMON_CLK Geert Uytterhoeven
                     ` (11 preceding siblings ...)
  2020-01-21 10:37   ` [PATCH 13/20] ARM: mmp: " Geert Uytterhoeven
@ 2020-01-21 10:37   ` Geert Uytterhoeven
  2020-01-21 10:37   ` [PATCH 15/20] ARM: omap2plus: Drop unneeded select of MIGHT_HAVE_CACHE_L2X0 Geert Uytterhoeven
                     ` (6 subsequent siblings)
  19 siblings, 0 replies; 39+ messages in thread
From: Geert Uytterhoeven @ 2020-01-21 10:37 UTC (permalink / raw)
  To: Arnd Bergmann, Kevin Hilman, Olof Johansson
  Cc: linux-arm-kernel, linux-kernel, Geert Uytterhoeven, Jason Cooper,
	Andrew Lunn, Gregory Clement, Sebastian Hesselbarth

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.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Gregory Clement <gregory.clement@bootlin.com>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/20200121103413.1337-1-geert+renesas@glider.be

 arch/arm/mach-mvebu/Kconfig | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/arm/mach-mvebu/Kconfig b/arch/arm/mach-mvebu/Kconfig
index 7a5629b9bede4e3f..34dbeaab94b07e52 100644
--- a/arch/arm/mach-mvebu/Kconfig
+++ b/arch/arm/mach-mvebu/Kconfig
@@ -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
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 15/20] ARM: omap2plus: Drop unneeded select of MIGHT_HAVE_CACHE_L2X0
  2020-01-21 10:37 ` [PATCH 01/20] ARM: actions: Drop unneeded select of COMMON_CLK Geert Uytterhoeven
                     ` (12 preceding siblings ...)
  2020-01-21 10:37   ` [PATCH 14/20] ARM: mvebu: Drop unneeded select of HAVE_SMP Geert Uytterhoeven
@ 2020-01-21 10:37   ` Geert Uytterhoeven
  2020-01-23 16:09     ` Tony Lindgren
  2020-01-21 10:37   ` [PATCH 16/20] ARM: orion5x: Drop unneeded select of PCI_DOMAINS_GENERIC Geert Uytterhoeven
                     ` (5 subsequent siblings)
  19 siblings, 1 reply; 39+ messages in thread
From: Geert Uytterhoeven @ 2020-01-21 10:37 UTC (permalink / raw)
  To: Arnd Bergmann, Kevin Hilman, Olof Johansson
  Cc: linux-arm-kernel, linux-kernel, Geert Uytterhoeven,
	Tony Lindgren, linux-omap

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.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Tony Lindgren <tony@atomide.com>
Cc: linux-omap@vger.kernel.org
---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/20200121103413.1337-1-geert+renesas@glider.be

 arch/arm/mach-omap2/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
index dca7d06c0b938619..ea23205bf70f4df6 100644
--- a/arch/arm/mach-omap2/Kconfig
+++ b/arch/arm/mach-omap2/Kconfig
@@ -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
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 16/20] ARM: orion5x: Drop unneeded select of PCI_DOMAINS_GENERIC
  2020-01-21 10:37 ` [PATCH 01/20] ARM: actions: Drop unneeded select of COMMON_CLK Geert Uytterhoeven
                     ` (13 preceding siblings ...)
  2020-01-21 10:37   ` [PATCH 15/20] ARM: omap2plus: Drop unneeded select of MIGHT_HAVE_CACHE_L2X0 Geert Uytterhoeven
@ 2020-01-21 10:37   ` Geert Uytterhoeven
  2020-03-08 11:31     ` Gregory CLEMENT
  2020-01-21 10:37   ` [PATCH 17/20] ARM: prima2: Drop unneeded select of HAVE_SMP Geert Uytterhoeven
                     ` (4 subsequent siblings)
  19 siblings, 1 reply; 39+ messages in thread
From: Geert Uytterhoeven @ 2020-01-21 10:37 UTC (permalink / raw)
  To: Arnd Bergmann, Kevin Hilman, Olof Johansson
  Cc: linux-arm-kernel, linux-kernel, Geert Uytterhoeven, Jason Cooper,
	Andrew Lunn, Sebastian Hesselbarth, Gregory Clement

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.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Cc: Gregory Clement <gregory.clement@bootlin.com>
---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/20200121103413.1337-1-geert+renesas@glider.be

 arch/arm/mach-orion5x/Kconfig | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm/mach-orion5x/Kconfig b/arch/arm/mach-orion5x/Kconfig
index cf9cb3d2590ec19b..e94a61901ffd86b4 100644
--- a/arch/arm/mach-orion5x/Kconfig
+++ b/arch/arm/mach-orion5x/Kconfig
@@ -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
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 17/20] ARM: prima2: Drop unneeded select of HAVE_SMP
  2020-01-21 10:37 ` [PATCH 01/20] ARM: actions: Drop unneeded select of COMMON_CLK Geert Uytterhoeven
                     ` (14 preceding siblings ...)
  2020-01-21 10:37   ` [PATCH 16/20] ARM: orion5x: Drop unneeded select of PCI_DOMAINS_GENERIC Geert Uytterhoeven
@ 2020-01-21 10:37   ` Geert Uytterhoeven
  2020-01-21 10:37   ` [PATCH 18/20] ARM: realview: Drop unneeded select of multi-platform features Geert Uytterhoeven
                     ` (3 subsequent siblings)
  19 siblings, 0 replies; 39+ messages in thread
From: Geert Uytterhoeven @ 2020-01-21 10:37 UTC (permalink / raw)
  To: Arnd Bergmann, Kevin Hilman, Olof Johansson
  Cc: linux-arm-kernel, linux-kernel, Geert Uytterhoeven, Barry Song

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.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Barry Song <baohua@kernel.org>
---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/20200121103413.1337-1-geert+renesas@glider.be

 arch/arm/mach-prima2/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/mach-prima2/Kconfig b/arch/arm/mach-prima2/Kconfig
index 6f66785fab01bbc9..ea077f66372dd55a 100644
--- a/arch/arm/mach-prima2/Kconfig
+++ b/arch/arm/mach-prima2/Kconfig
@@ -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
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 18/20] ARM: realview: Drop unneeded select of multi-platform features
  2020-01-21 10:37 ` [PATCH 01/20] ARM: actions: Drop unneeded select of COMMON_CLK Geert Uytterhoeven
                     ` (15 preceding siblings ...)
  2020-01-21 10:37   ` [PATCH 17/20] ARM: prima2: Drop unneeded select of HAVE_SMP Geert Uytterhoeven
@ 2020-01-21 10:37   ` Geert Uytterhoeven
  2020-02-14 10:13     ` Linus Walleij
  2020-01-21 10:37   ` [PATCH 19/20] ARM: s3c64xx: Drop unneeded select of TIMER_OF Geert Uytterhoeven
                     ` (2 subsequent siblings)
  19 siblings, 1 reply; 39+ messages in thread
From: Geert Uytterhoeven @ 2020-01-21 10:37 UTC (permalink / raw)
  To: Arnd Bergmann, Kevin Hilman, Olof Johansson
  Cc: linux-arm-kernel, linux-kernel, Geert Uytterhoeven, Linus Walleij

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.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Linus Walleij <linus.walleij@linaro.org>
---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/20200121103413.1337-1-geert+renesas@glider.be

 arch/arm/mach-realview/Kconfig | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/arch/arm/mach-realview/Kconfig b/arch/arm/mach-realview/Kconfig
index 44ebbf9ec67364db..0f139a20e113d6c3 100644
--- a/arch/arm/mach-realview/Kconfig
+++ b/arch/arm/mach-realview/Kconfig
@@ -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
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 19/20] ARM: s3c64xx: Drop unneeded select of TIMER_OF
  2020-01-21 10:37 ` [PATCH 01/20] ARM: actions: Drop unneeded select of COMMON_CLK Geert Uytterhoeven
                     ` (16 preceding siblings ...)
  2020-01-21 10:37   ` [PATCH 18/20] ARM: realview: Drop unneeded select of multi-platform features Geert Uytterhoeven
@ 2020-01-21 10:37   ` Geert Uytterhoeven
  2020-01-21 19:59     ` Krzysztof Kozlowski
  2020-01-21 10:37   ` [PATCH 20/20] ARM: socfpga: Drop unneeded select of PCI_DOMAINS_GENERIC Geert Uytterhoeven
  2020-01-22 20:33   ` [PATCH 01/20] ARM: actions: Drop unneeded select of COMMON_CLK Andreas Färber
  19 siblings, 1 reply; 39+ messages in thread
From: Geert Uytterhoeven @ 2020-01-21 10:37 UTC (permalink / raw)
  To: Arnd Bergmann, Kevin Hilman, Olof Johansson
  Cc: linux-arm-kernel, linux-kernel, Geert Uytterhoeven, Kukjin Kim,
	Krzysztof Kozlowski, linux-samsung-soc

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.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Kukjin Kim <kgene@kernel.org>
Cc: Krzysztof Kozlowski <krzk@kernel.org>
Cc: linux-samsung-soc@vger.kernel.org
---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/20200121103413.1337-1-geert+renesas@glider.be

 arch/arm/mach-s3c64xx/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/mach-s3c64xx/Kconfig b/arch/arm/mach-s3c64xx/Kconfig
index 5700822e3c74b8e4..ac3e3563487fc6f9 100644
--- a/arch/arm/mach-s3c64xx/Kconfig
+++ b/arch/arm/mach-s3c64xx/Kconfig
@@ -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
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 39+ messages in thread

* [PATCH 20/20] ARM: socfpga: Drop unneeded select of PCI_DOMAINS_GENERIC
  2020-01-21 10:37 ` [PATCH 01/20] ARM: actions: Drop unneeded select of COMMON_CLK Geert Uytterhoeven
                     ` (17 preceding siblings ...)
  2020-01-21 10:37   ` [PATCH 19/20] ARM: s3c64xx: Drop unneeded select of TIMER_OF Geert Uytterhoeven
@ 2020-01-21 10:37   ` Geert Uytterhoeven
  2020-01-22 14:18     ` Dinh Nguyen
  2020-01-22 20:33   ` [PATCH 01/20] ARM: actions: Drop unneeded select of COMMON_CLK Andreas Färber
  19 siblings, 1 reply; 39+ messages in thread
From: Geert Uytterhoeven @ 2020-01-21 10:37 UTC (permalink / raw)
  To: Arnd Bergmann, Kevin Hilman, Olof Johansson
  Cc: linux-arm-kernel, linux-kernel, Geert Uytterhoeven, Dinh Nguyen

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.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Dinh Nguyen <dinguyen@kernel.org>
---
All patches in this series are independent of each other.
Cover letter at https://lore.kernel.org/r/20200121103413.1337-1-geert+renesas@glider.be

 arch/arm/mach-socfpga/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/mach-socfpga/Kconfig b/arch/arm/mach-socfpga/Kconfig
index 22af5e308db6cc81..c3bb68d57cea2e51 100644
--- a/arch/arm/mach-socfpga/Kconfig
+++ b/arch/arm/mach-socfpga/Kconfig
@@ -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
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 39+ messages in thread

* Re: [PATCH 00/20] ARM: Drop unneeded select of multi-platform selected options
  2020-01-21 10:34 [PATCH 00/20] ARM: Drop unneeded select of multi-platform selected options Geert Uytterhoeven
  2020-01-21 10:37 ` [PATCH 01/20] ARM: actions: Drop unneeded select of COMMON_CLK Geert Uytterhoeven
@ 2020-01-21 15:07 ` Arnd Bergmann
  1 sibling, 0 replies; 39+ messages in thread
From: Arnd Bergmann @ 2020-01-21 15:07 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: Kevin Hilman, Olof Johansson, Linux ARM, linux-kernel

On Tue, Jan 21, 2020 at 11:34 AM Geert Uytterhoeven
<geert+renesas@glider.be> wrote:
>
>         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.

Nice cleanup!

Acked-by: Arnd Bergmann <arnd@arndb.de>

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 13/20] ARM: mmp: Drop unneeded select of COMMON_CLK
  2020-01-21 10:37   ` [PATCH 13/20] ARM: mmp: " Geert Uytterhoeven
@ 2020-01-21 17:13     ` Lubomir Rintel
  0 siblings, 0 replies; 39+ messages in thread
From: Lubomir Rintel @ 2020-01-21 17:13 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Arnd Bergmann, Kevin Hilman, Olof Johansson, linux-arm-kernel,
	linux-kernel

On Tue, Jan 21, 2020 at 11:37:15AM +0100, Geert Uytterhoeven wrote:
> 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.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> Cc: Lubomir Rintel <lkundrak@v3.sk>

Acked-by: Lubomir Rintel <lkundrak@v3.sk>

Thank you
Lubo

> ---
> All patches in this series are independent of each other.
> Cover letter at https://lore.kernel.org/r/20200121103413.1337-1-geert+renesas@glider.be
> 
>  arch/arm/mach-mmp/Kconfig | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/arm/mach-mmp/Kconfig b/arch/arm/mach-mmp/Kconfig
> index b58a03b18bdef14c..6fe1550f43ec6aef 100644
> --- a/arch/arm/mach-mmp/Kconfig
> +++ b/arch/arm/mach-mmp/Kconfig
> @@ -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
> -- 
> 2.17.1
> 

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 19/20] ARM: s3c64xx: Drop unneeded select of TIMER_OF
  2020-01-21 10:37   ` [PATCH 19/20] ARM: s3c64xx: Drop unneeded select of TIMER_OF Geert Uytterhoeven
@ 2020-01-21 19:59     ` Krzysztof Kozlowski
  0 siblings, 0 replies; 39+ messages in thread
From: Krzysztof Kozlowski @ 2020-01-21 19:59 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Arnd Bergmann, Kevin Hilman, Olof Johansson, linux-arm-kernel,
	linux-kernel, Kukjin Kim, linux-samsung-soc

On Tue, Jan 21, 2020 at 11:37:21AM +0100, Geert Uytterhoeven wrote:
> 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.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> Cc: Kukjin Kim <kgene@kernel.org>
> Cc: Krzysztof Kozlowski <krzk@kernel.org>

Thanks, applied.

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 10/20] ARM: exynos: Drop unneeded select of MIGHT_HAVE_CACHE_L2X0
  2020-01-21 10:37   ` [PATCH 10/20] ARM: exynos: Drop unneeded select of MIGHT_HAVE_CACHE_L2X0 Geert Uytterhoeven
@ 2020-01-21 19:59     ` Krzysztof Kozlowski
  0 siblings, 0 replies; 39+ messages in thread
From: Krzysztof Kozlowski @ 2020-01-21 19:59 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Arnd Bergmann, Kevin Hilman, Olof Johansson, linux-arm-kernel,
	linux-kernel, Kukjin Kim, linux-samsung-soc

On Tue, Jan 21, 2020 at 11:37:12AM +0100, Geert Uytterhoeven wrote:
> 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.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> Cc: Kukjin Kim <kgene@kernel.org>
> Cc: Krzysztof Kozlowski <krzk@kernel.org>
> Cc: linux-samsung-soc@vger.kernel.org
> ---
> All patches in this series are independent of each other.
> Cover letter at https://lore.kernel.org/r/20200121103413.1337-1-geert+renesas@glider.be
> 
>  arch/arm/mach-exynos/Kconfig | 1 -

Thanks, applied.

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 12/20] ARM: meson: Drop unneeded select of COMMON_CLK
  2020-01-21 10:37   ` [PATCH 12/20] ARM: meson: Drop unneeded select of COMMON_CLK Geert Uytterhoeven
@ 2020-01-21 22:11     ` Martin Blumenstingl
  2020-01-22  7:33       ` Geert Uytterhoeven
  0 siblings, 1 reply; 39+ messages in thread
From: Martin Blumenstingl @ 2020-01-21 22:11 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Arnd Bergmann, Kevin Hilman, Olof Johansson, Kevin Hilman,
	linux-kernel, linux-arm-kernel, linux-amlogic

On Tue, Jan 21, 2020 at 12:47 PM Geert Uytterhoeven
<geert+renesas@glider.be> wrote:
>
> 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.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

> Cc: Kevin Hilman <khilman@baylibre.com>
> Cc: linux-amlogic@lists.infradead.org
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

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 12/20] ARM: meson: Drop unneeded select of COMMON_CLK
  2020-01-21 22:11     ` Martin Blumenstingl
@ 2020-01-22  7:33       ` Geert Uytterhoeven
  0 siblings, 0 replies; 39+ messages in thread
From: Geert Uytterhoeven @ 2020-01-22  7:33 UTC (permalink / raw)
  To: Martin Blumenstingl
  Cc: Geert Uytterhoeven, Arnd Bergmann, Kevin Hilman, Olof Johansson,
	Kevin Hilman, Linux Kernel Mailing List, Linux ARM,
	open list:ARM/Amlogic Meson...

Hi Martin,

On Tue, Jan 21, 2020 at 11:11 PM Martin Blumenstingl
<martin.blumenstingl@googlemail.com> wrote:
> On Tue, Jan 21, 2020 at 12:47 PM Geert Uytterhoeven
> <geert+renesas@glider.be> wrote:
> > 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.
> >
> > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

Thanks!

> > Cc: Kevin Hilman <khilman@baylibre.com>
> > Cc: linux-amlogic@lists.infradead.org
> 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

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

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

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 20/20] ARM: socfpga: Drop unneeded select of PCI_DOMAINS_GENERIC
  2020-01-21 10:37   ` [PATCH 20/20] ARM: socfpga: Drop unneeded select of PCI_DOMAINS_GENERIC Geert Uytterhoeven
@ 2020-01-22 14:18     ` Dinh Nguyen
  0 siblings, 0 replies; 39+ messages in thread
From: Dinh Nguyen @ 2020-01-22 14:18 UTC (permalink / raw)
  To: Geert Uytterhoeven, Arnd Bergmann, Kevin Hilman, Olof Johansson
  Cc: linux-arm-kernel, linux-kernel



On 1/21/20 4:37 AM, Geert Uytterhoeven wrote:
> 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.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> Cc: Dinh Nguyen <dinguyen@kernel.org>
> ---
> All patches in this series are independent of each other.
> Cover letter at https://lore.kernel.org/r/20200121103413.1337-1-geert+renesas@glider.be
> 
>  arch/arm/mach-socfpga/Kconfig | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/arm/mach-socfpga/Kconfig b/arch/arm/mach-socfpga/Kconfig
> index 22af5e308db6cc81..c3bb68d57cea2e51 100644
> --- a/arch/arm/mach-socfpga/Kconfig
> +++ b/arch/arm/mach-socfpga/Kconfig
> @@ -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
> 

Acked-by: Dinh Nguyen <dinguyen@kernel.org>

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 01/20] ARM: actions: Drop unneeded select of COMMON_CLK
  2020-01-21 10:37 ` [PATCH 01/20] ARM: actions: Drop unneeded select of COMMON_CLK Geert Uytterhoeven
                     ` (18 preceding siblings ...)
  2020-01-21 10:37   ` [PATCH 20/20] ARM: socfpga: Drop unneeded select of PCI_DOMAINS_GENERIC Geert Uytterhoeven
@ 2020-01-22 20:33   ` Andreas Färber
  19 siblings, 0 replies; 39+ messages in thread
From: Andreas Färber @ 2020-01-22 20:33 UTC (permalink / raw)
  To: Geert Uytterhoeven, Arnd Bergmann, Kevin Hilman, Olof Johansson,
	Manivannan Sadhasivam
  Cc: linux-arm-kernel, linux-kernel

Am 21.01.20 um 11:37 schrieb Geert Uytterhoeven:
> 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.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> Cc: Andreas Färber <afaerber@suse.de>

Reviewed-by: Andreas Färber <afaerber@suse.de>

> Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
> ---
> All patches in this series are independent of each other.
> Cover letter at https://lore.kernel.org/r/20200121103413.1337-1-geert+renesas@glider.be
> 
>   arch/arm/mach-actions/Kconfig | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/arch/arm/mach-actions/Kconfig b/arch/arm/mach-actions/Kconfig
> index b5e0ac965ec0dd10..00fb4babccdd991b 100644
> --- a/arch/arm/mach-actions/Kconfig
> +++ b/arch/arm/mach-actions/Kconfig
> @@ -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

-- 
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer
HRB 36809 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 15/20] ARM: omap2plus: Drop unneeded select of MIGHT_HAVE_CACHE_L2X0
  2020-01-21 10:37   ` [PATCH 15/20] ARM: omap2plus: Drop unneeded select of MIGHT_HAVE_CACHE_L2X0 Geert Uytterhoeven
@ 2020-01-23 16:09     ` Tony Lindgren
  0 siblings, 0 replies; 39+ messages in thread
From: Tony Lindgren @ 2020-01-23 16:09 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Arnd Bergmann, Kevin Hilman, Olof Johansson, linux-arm-kernel,
	linux-kernel, linux-omap

* Geert Uytterhoeven <geert+renesas@glider.be> [200121 10:38]:
> 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.

Acked-by: Tony Lindgren <tony@atomide.com>

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 09/20] ARM: davinci: Drop unneeded select of TIMER_OF
  2020-01-21 10:37   ` [PATCH 09/20] ARM: davinci: Drop unneeded select of TIMER_OF Geert Uytterhoeven
@ 2020-01-27  8:40     ` Sekhar Nori
  0 siblings, 0 replies; 39+ messages in thread
From: Sekhar Nori @ 2020-01-27  8:40 UTC (permalink / raw)
  To: Geert Uytterhoeven, Arnd Bergmann, Kevin Hilman, Olof Johansson
  Cc: linux-arm-kernel, linux-kernel, Bartosz Golaszewski

On 21/01/20 4:07 PM, Geert Uytterhoeven wrote:
> 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.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> Cc: Sekhar Nori <nsekhar@ti.com>
> Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com>

Acked-by: Sekhar Nori <nsekhar@ti.com>

Thanks,
Sekhar

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 04/20] ARM: aspeed: Drop unneeded select of HAVE_SMP
  2020-01-21 10:37   ` [PATCH 04/20] ARM: aspeed: Drop unneeded select of HAVE_SMP Geert Uytterhoeven
@ 2020-01-28  1:05     ` Andrew Jeffery
  2020-01-31  3:50       ` Joel Stanley
  0 siblings, 1 reply; 39+ messages in thread
From: Andrew Jeffery @ 2020-01-28  1:05 UTC (permalink / raw)
  To: Geert Uytterhoeven, Arnd Bergmann, Kevin Hilman, Olof Johansson
  Cc: linux-arm-kernel, linux-kernel, Joel Stanley



On Tue, 21 Jan 2020, at 21:07, Geert Uytterhoeven wrote:
> 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.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> Cc: Joel Stanley <joel@jms.id.au>
> Cc: Andrew Jeffery <andrew@aj.id.au>

Reviewed-by: Andrew Jeffery <andrew@aj.id.au>

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 06/20] ARM: bcm: Drop unneeded select of PCI_DOMAINS_GENERIC, HAVE_SMP, TIMER_OF
  2020-01-21 10:37   ` [PATCH 06/20] ARM: bcm: Drop unneeded select of PCI_DOMAINS_GENERIC, HAVE_SMP, TIMER_OF Geert Uytterhoeven
@ 2020-01-28 23:23     ` Florian Fainelli
  0 siblings, 0 replies; 39+ messages in thread
From: Florian Fainelli @ 2020-01-28 23:23 UTC (permalink / raw)
  To: bcm-kernel-feedback-list, Geert Uytterhoeven, Arnd Bergmann,
	Kevin Hilman, Olof Johansson
  Cc: linux-arm-kernel, linux-kernel, Ray Jui, Scott Branden

On Tue, 21 Jan 2020 11:37:08 +0100, Geert Uytterhoeven <geert+renesas@glider.be> wrote:
> 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.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> Cc: Florian Fainelli <f.fainelli@gmail.com>
> Cc: Ray Jui <rjui@broadcom.com>
> Cc: Scott Branden <sbranden@broadcom.com>
> Cc: bcm-kernel-feedback-list@broadcom.com
> ---

Applied to soc/next, thanks!
--
Florian

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 04/20] ARM: aspeed: Drop unneeded select of HAVE_SMP
  2020-01-28  1:05     ` Andrew Jeffery
@ 2020-01-31  3:50       ` Joel Stanley
  2020-01-31  8:13         ` Geert Uytterhoeven
  0 siblings, 1 reply; 39+ messages in thread
From: Joel Stanley @ 2020-01-31  3:50 UTC (permalink / raw)
  To: Andrew Jeffery
  Cc: Geert Uytterhoeven, Arnd Bergmann, Kevin Hilman, Olof Johansson,
	Linux ARM, Linux Kernel Mailing List

On Tue, 28 Jan 2020 at 01:05, Andrew Jeffery <andrew@aj.id.au> wrote:
>
>
>
> On Tue, 21 Jan 2020, at 21:07, Geert Uytterhoeven wrote:
> > 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.
> >
> > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> > Cc: Joel Stanley <joel@jms.id.au>
> > Cc: Andrew Jeffery <andrew@aj.id.au>
>
> Reviewed-by: Andrew Jeffery <andrew@aj.id.au>

Acked-by: Joel Stanley <joel@jms.id.au>

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

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 04/20] ARM: aspeed: Drop unneeded select of HAVE_SMP
  2020-01-31  3:50       ` Joel Stanley
@ 2020-01-31  8:13         ` Geert Uytterhoeven
  0 siblings, 0 replies; 39+ messages in thread
From: Geert Uytterhoeven @ 2020-01-31  8:13 UTC (permalink / raw)
  To: Joel Stanley
  Cc: Andrew Jeffery, Geert Uytterhoeven, Arnd Bergmann, Kevin Hilman,
	Olof Johansson, Linux ARM, Linux Kernel Mailing List

Hi Joel,

On Fri, Jan 31, 2020 at 4:50 AM Joel Stanley <joel@jms.id.au> wrote:
> On Tue, 28 Jan 2020 at 01:05, Andrew Jeffery <andrew@aj.id.au> wrote:
> > On Tue, 21 Jan 2020, at 21:07, Geert Uytterhoeven wrote:
> > > 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.
> > >
> > > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> > > Cc: Joel Stanley <joel@jms.id.au>
> > > Cc: Andrew Jeffery <andrew@aj.id.au>
> >
> > Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
>
> Acked-by: Joel Stanley <joel@jms.id.au>
>
> 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

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

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

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 05/20] ARM: at91: Drop unneeded select of COMMON_CLK
  2020-01-21 10:37   ` [PATCH 05/20] ARM: at91: Drop unneeded select of COMMON_CLK Geert Uytterhoeven
@ 2020-02-10 16:56     ` Alexandre Belloni
  0 siblings, 0 replies; 39+ messages in thread
From: Alexandre Belloni @ 2020-02-10 16:56 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Arnd Bergmann, Kevin Hilman, Olof Johansson, linux-arm-kernel,
	linux-kernel, Nicolas Ferre, Ludovic Desroches

On 21/01/2020 11:37:07+0100, Geert Uytterhoeven wrote:
> 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.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> Cc: Nicolas Ferre <nicolas.ferre@microchip.com>
> Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
> Cc: Ludovic Desroches <ludovic.desroches@microchip.com>
> ---
> All patches in this series are independent of each other.
> Cover letter at https://lore.kernel.org/r/20200121103413.1337-1-geert+renesas@glider.be
> 
Applied, thanks.

-- 
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 11/20] ARM: integrator: Drop unneeded select of SPARSE_IRQ
  2020-01-21 10:37   ` [PATCH 11/20] ARM: integrator: Drop unneeded select of SPARSE_IRQ Geert Uytterhoeven
@ 2020-02-14 10:11     ` Linus Walleij
  0 siblings, 0 replies; 39+ messages in thread
From: Linus Walleij @ 2020-02-14 10:11 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Arnd Bergmann, Kevin Hilman, Olof Johansson, Linux ARM, linux-kernel

On Tue, Jan 21, 2020 at 11:37 AM Geert Uytterhoeven
<geert+renesas@glider.be> wrote:

> 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.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> Cc: Linus Walleij <linus.walleij@linaro.org>

Patch applied!

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 18/20] ARM: realview: Drop unneeded select of multi-platform features
  2020-01-21 10:37   ` [PATCH 18/20] ARM: realview: Drop unneeded select of multi-platform features Geert Uytterhoeven
@ 2020-02-14 10:13     ` Linus Walleij
  0 siblings, 0 replies; 39+ messages in thread
From: Linus Walleij @ 2020-02-14 10:13 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Arnd Bergmann, Kevin Hilman, Olof Johansson, Linux ARM, linux-kernel

On Tue, Jan 21, 2020 at 11:37 AM Geert Uytterhoeven
<geert+renesas@glider.be> wrote:

> 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.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> Cc: Linus Walleij <linus.walleij@linaro.org>

Patch applied!

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 39+ messages in thread

* Re: [PATCH 16/20] ARM: orion5x: Drop unneeded select of PCI_DOMAINS_GENERIC
  2020-01-21 10:37   ` [PATCH 16/20] ARM: orion5x: Drop unneeded select of PCI_DOMAINS_GENERIC Geert Uytterhoeven
@ 2020-03-08 11:31     ` Gregory CLEMENT
  0 siblings, 0 replies; 39+ messages in thread
From: Gregory CLEMENT @ 2020-03-08 11:31 UTC (permalink / raw)
  To: Geert Uytterhoeven, Arnd Bergmann, Kevin Hilman, Olof Johansson
  Cc: linux-arm-kernel, linux-kernel, Geert Uytterhoeven, Jason Cooper,
	Andrew Lunn, Sebastian Hesselbarth

Hi Geert,

> 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.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> Cc: Jason Cooper <jason@lakedaemon.net>
> Cc: Andrew Lunn <andrew@lunn.ch>
> Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
> Cc: Gregory Clement <gregory.clement@bootlin.com>


Applied on mvebu/arm

Thanks,

Gregory

> ---
> All patches in this series are independent of each other.
> Cover letter at https://lore.kernel.org/r/20200121103413.1337-1-geert+renesas@glider.be
>
>  arch/arm/mach-orion5x/Kconfig | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/arch/arm/mach-orion5x/Kconfig b/arch/arm/mach-orion5x/Kconfig
> index cf9cb3d2590ec19b..e94a61901ffd86b4 100644
> --- a/arch/arm/mach-orion5x/Kconfig
> +++ b/arch/arm/mach-orion5x/Kconfig
> @@ -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
> -- 
> 2.17.1
>

-- 
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com

^ permalink raw reply	[flat|nested] 39+ messages in thread

end of thread, other threads:[~2020-03-08 11:33 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-21 10:34 [PATCH 00/20] ARM: Drop unneeded select of multi-platform selected options Geert Uytterhoeven
2020-01-21 10:37 ` [PATCH 01/20] ARM: actions: Drop unneeded select of COMMON_CLK Geert Uytterhoeven
2020-01-21 10:37   ` [PATCH 02/20] ARM: alpine: Drop unneeded select of HAVE_SMP Geert Uytterhoeven
2020-01-21 10:37   ` [PATCH 03/20] ARM: asm9260: Drop unneeded select of GENERIC_CLOCKEVENTS Geert Uytterhoeven
2020-01-21 10:37   ` [PATCH 04/20] ARM: aspeed: Drop unneeded select of HAVE_SMP Geert Uytterhoeven
2020-01-28  1:05     ` Andrew Jeffery
2020-01-31  3:50       ` Joel Stanley
2020-01-31  8:13         ` Geert Uytterhoeven
2020-01-21 10:37   ` [PATCH 05/20] ARM: at91: Drop unneeded select of COMMON_CLK Geert Uytterhoeven
2020-02-10 16:56     ` Alexandre Belloni
2020-01-21 10:37   ` [PATCH 06/20] ARM: bcm: Drop unneeded select of PCI_DOMAINS_GENERIC, HAVE_SMP, TIMER_OF Geert Uytterhoeven
2020-01-28 23:23     ` Florian Fainelli
2020-01-21 10:37   ` [PATCH 07/20] ARM: berlin: Drop unneeded select of HAVE_SMP Geert Uytterhoeven
2020-01-21 10:37   ` [PATCH 08/20] ARM: clps711x: Drop unneeded select of multi-platform selected options Geert Uytterhoeven
2020-01-21 10:37   ` [PATCH 09/20] ARM: davinci: Drop unneeded select of TIMER_OF Geert Uytterhoeven
2020-01-27  8:40     ` Sekhar Nori
2020-01-21 10:37   ` [PATCH 10/20] ARM: exynos: Drop unneeded select of MIGHT_HAVE_CACHE_L2X0 Geert Uytterhoeven
2020-01-21 19:59     ` Krzysztof Kozlowski
2020-01-21 10:37   ` [PATCH 11/20] ARM: integrator: Drop unneeded select of SPARSE_IRQ Geert Uytterhoeven
2020-02-14 10:11     ` Linus Walleij
2020-01-21 10:37   ` [PATCH 12/20] ARM: meson: Drop unneeded select of COMMON_CLK Geert Uytterhoeven
2020-01-21 22:11     ` Martin Blumenstingl
2020-01-22  7:33       ` Geert Uytterhoeven
2020-01-21 10:37   ` [PATCH 13/20] ARM: mmp: " Geert Uytterhoeven
2020-01-21 17:13     ` Lubomir Rintel
2020-01-21 10:37   ` [PATCH 14/20] ARM: mvebu: Drop unneeded select of HAVE_SMP Geert Uytterhoeven
2020-01-21 10:37   ` [PATCH 15/20] ARM: omap2plus: Drop unneeded select of MIGHT_HAVE_CACHE_L2X0 Geert Uytterhoeven
2020-01-23 16:09     ` Tony Lindgren
2020-01-21 10:37   ` [PATCH 16/20] ARM: orion5x: Drop unneeded select of PCI_DOMAINS_GENERIC Geert Uytterhoeven
2020-03-08 11:31     ` Gregory CLEMENT
2020-01-21 10:37   ` [PATCH 17/20] ARM: prima2: Drop unneeded select of HAVE_SMP Geert Uytterhoeven
2020-01-21 10:37   ` [PATCH 18/20] ARM: realview: Drop unneeded select of multi-platform features Geert Uytterhoeven
2020-02-14 10:13     ` Linus Walleij
2020-01-21 10:37   ` [PATCH 19/20] ARM: s3c64xx: Drop unneeded select of TIMER_OF Geert Uytterhoeven
2020-01-21 19:59     ` Krzysztof Kozlowski
2020-01-21 10:37   ` [PATCH 20/20] ARM: socfpga: Drop unneeded select of PCI_DOMAINS_GENERIC Geert Uytterhoeven
2020-01-22 14:18     ` Dinh Nguyen
2020-01-22 20:33   ` [PATCH 01/20] ARM: actions: Drop unneeded select of COMMON_CLK Andreas Färber
2020-01-21 15:07 ` [PATCH 00/20] ARM: Drop unneeded select of multi-platform selected options Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).