ARM: Drop unneeded select of multi-platform selected options
Subsystems (16)
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 TorvaldsPATCH 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.
---
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
@@ -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
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.
---
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
@@ -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
PATCH 3/20 ARM: asm9260: Drop unneeded select of GENERIC_CLOCKEVENTS
In reply to Geert UytterhoevenSupport 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
@@ -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
PATCH 4/20 ARM: aspeed: Drop unneeded select of HAVE_SMP
In reply to Geert UytterhoevenSupport 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.
---
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
@@ -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
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 selectsHAVE_SMP, there is no need forMACH_ASPEED_G6to selectHAVE_SMP.Signed-off-by Geert Uytterhoeven <[email protected]>Cc Joel Stanley <[email protected]>Cc Andrew Jeffery <[email protected]>
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 selectsHAVE_SMP, there is no need forMACH_ASPEED_G6to selectHAVE_SMP.
Quoted 5 lines
Quoted 3 lines
Signed-off-by Geert Uytterhoeven <[email protected]>Cc Joel Stanley <[email protected]>Cc Andrew Jeffery <[email protected]>Reviewed-by Andrew Jeffery <[email protected]>
Geert, did you intend for these to be picked up by Arnd and Olof?
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 selectsHAVE_SMP, there is no need forMACH_ASPEED_G6to selectHAVE_SMP.Signed-off-by Geert Uytterhoeven <[email protected]>Cc Joel Stanley <[email protected]>Cc Andrew Jeffery <[email protected]>
Quoted 5 lines
Quoted 1 line
Reviewed-by Andrew Jeffery <[email protected]>Acked-by Joel Stanley <[email protected]>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
PATCH 5/20 ARM: at91: Drop unneeded select of COMMON_CLK
In reply to Geert UytterhoevenSupport 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.
---
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
@@ -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
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_MULTIPLATFORMorARM_SINGLE_ARMV7M, which both selectCOMMON_CLK.
Hence there is no need forCOMMON_CLK_AT91to selectCOMMON_CLK.
Quoted 8 lines
Signed-off-by Geert Uytterhoeven <[email protected]>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
PATCH 6/20 ARM: bcm: Drop unneeded select of PCI_DOMAINS_GENERIC, HAVE_SMP, TIMER_OF
In reply to Geert UytterhoevenSupport 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
@@ -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
Florian Fainelli
AppliedRe: [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 onARCH_MULTIPLATFORM, which selectsPCI_DOMAINS_GENERICandTIMER_OF. Support for the various Broadcom IPROC architected SoCs depends onARCH_MULTI_V7, which selectsHAVE_SMP.
Hence there is no need for the Broadcom-specific symbols to select any of them.
Quoted 6 lines
Signed-off-by Geert Uytterhoeven <[email protected]>Cc Florian Fainelli <[email protected]>Cc Ray Jui <[email protected]>Cc Scott Branden <[email protected]>---
Applied to soc/next, thanks!
--
Florian
PATCH 7/20 ARM: berlin: Drop unneeded select of HAVE_SMP
In reply to Geert UytterhoevenSupport 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.
---
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
@@ -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
PATCH 8/20 ARM: clps711x: Drop unneeded select of multi-platform selected options
In reply to Geert UytterhoevenSupport 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
@@ -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
PATCH 9/20 ARM: davinci: Drop unneeded select of TIMER_OF
In reply to Geert UytterhoevenSupport 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.
---
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
@@ -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
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 onARCH_MULTIPLATFORM.
As the latter selectsTIMER_OF, there is no need forMACH_DA8XX_DTto selectTIMER_OF.Signed-off-by Geert Uytterhoeven <[email protected]>Cc Sekhar Nori <[email protected]>Cc Bartosz Golaszewski <[email protected]>
Thanks,
Sekhar
PATCH 10/20 ARM: exynos: Drop unneeded select of MIGHT_HAVE_CACHE_L2X0
In reply to Geert UytterhoevenSupport 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
@@ -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
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 selectsARCH_MULTI_V6_V7.
As the latter selectsMIGHT_HAVE_CACHE_L2X0, there is no need forARCH_EXYNOS4to selectMIGHT_HAVE_CACHE_L2X0.Signed-off-by Geert Uytterhoeven <[email protected]>Cc Kukjin Kim <[email protected]>Cc Krzysztof Kozlowski <[email protected]>
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
PATCH 11/20 ARM: integrator: Drop unneeded select of SPARSE_IRQ
In reply to Geert UytterhoevenSupport 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
@@ -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
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 selectsSPARSE_IRQ, there is no need forARCH_INTEGRATORto selectSPARSE_IRQ.Signed-off-by Geert Uytterhoeven <[email protected]>Cc Linus Walleij <[email protected]>
Patch applied!
Yours,
Linus Walleij
PATCH 12/20 ARM: meson: Drop unneeded select of COMMON_CLK
In reply to Geert UytterhoevenSupport 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
@@ -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
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 onARCH_MULTIPLATFORM.
As the latter selectsCOMMON_CLK, there is no need forARCH_MESONto selectCOMMON_CLK.Signed-off-by Geert Uytterhoeven <[email protected]>
Quoted 2 lines
Cc Kevin Hilman <[email protected]>
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
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 onARCH_MULTIPLATFORM.
As the latter selectsCOMMON_CLK, there is no need forARCH_MESONto selectCOMMON_CLK.Signed-off-by Geert Uytterhoeven <[email protected]>
Thanks!
Quoted 5 lines
Quoted 2 lines
Cc Kevin Hilman <[email protected]>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
PATCH 13/20 ARM: mmp: Drop unneeded select of COMMON_CLK
In reply to Geert UytterhoevenSupport 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
@@ -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
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 onARCH_MULTIPLATFORM.
As the latter selectsCOMMON_CLK, there is no need forMACH_MMP_DTto selectCOMMON_CLK.Signed-off-by Geert Uytterhoeven <[email protected]>Cc Lubomir Rintel <[email protected]>
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@@ -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 helpSignature · 1 line
2.17.1
PATCH 14/20 ARM: mvebu: Drop unneeded select of HAVE_SMP
In reply to Geert UytterhoevenSupport 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.
---
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
@@ -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
PATCH 15/20 ARM: omap2plus: Drop unneeded select of MIGHT_HAVE_CACHE_L2X0
In reply to Geert UytterhoevenSupport 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
@@ -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
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 selectsARCH_MULTI_V6_V7.
As the latter selectsMIGHT_HAVE_CACHE_L2X0, there is no need forSOC_AM43XXto selectMIGHT_HAVE_CACHE_L2X0.
PATCH 16/20 ARM: orion5x: Drop unneeded select of PCI_DOMAINS_GENERIC
In reply to Geert UytterhoevenSupport 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.
---
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
@@ -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
Gregory CLEMENT
maintainerRe: [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 onARCH_MULTIPLATFORM.
As the latter selectsGENERIC_CLOCKEVENTSandUSE_OF, there is no need forARCH_ORION5XandARCH_ORION5X_DTto select any of them.Signed-off-by Geert Uytterhoeven <[email protected]>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@@ -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_TIMERSignature · 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
PATCH 17/20 ARM: prima2: Drop unneeded select of HAVE_SMP
In reply to Geert UytterhoevenSupport 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
@@ -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
PATCH 18/20 ARM: realview: Drop unneeded select of multi-platform features
In reply to Geert UytterhoevenSupport 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
@@ -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
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 selectsUSE_OF.
Support for ARMv6 and ARMv7 variants depends onARCH_MULTI_V6orARCH_MULTI_V7, which both selectARCH_MULTI_V6_V7and thusMIGHT_HAVE_CACHE_L2X0.
Support for ARMv7 variants depends onARCH_MULTI_V7, which selectsHAVE_SMP.
Hence there is no need for the affected RealView-specific symbols to select any of them.
Quoted 2 lines
Signed-off-by Geert Uytterhoeven <[email protected]>Cc Linus Walleij <[email protected]>
Patch applied!
Yours,
Linus Walleij
PATCH 19/20 ARM: s3c64xx: Drop unneeded select of TIMER_OF
In reply to Geert UytterhoevenSupport 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
@@ -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
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 onARCH_MULTIPLATFORM.
As the latter selectsTIMER_OF, there is no need forMACH_S3C64XX_DTto selectTIMER_OF.Signed-off-by Geert Uytterhoeven <[email protected]>Cc Kukjin Kim <[email protected]>Cc Krzysztof Kozlowski <[email protected]>
Thanks, applied.
Best regards,
Krzysztof
PATCH 20/20 ARM: socfpga: Drop unneeded select of PCI_DOMAINS_GENERIC
In reply to Geert UytterhoevenSupport 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
@@ -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
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 onARCH_MULTIPLATFORM.
As the latter selectsPCI_DOMAINS_GENERIC, there is no need forARCH_SOCFPGAto selectPCI_DOMAINS_GENERIC.Signed-off-by Geert Uytterhoeven <[email protected]>Cc Dinh Nguyen <[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-socfpga/Kconfig | 1 - 1 file changed, 1 deletion(-)arch/arm/mach-socfpga/Kconfig +0
-0
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
Re: [PATCH 01/20] ARM: actions: Drop unneeded select of COMMON_CLK
In reply to Geert UytterhoevenAm 21.01.20 um 11:37 schrieb Geert Uytterhoeven:
Quoted 7 lines
Support for Actions Semi SoCs depends on
ARCH_MULTI_V7, and thus onARCH_MULTIPLATFORM.
As the latter selectsCOMMON_CLK, there is no need forARCH_ACTIONSto selectCOMMON_CLK.Signed-off-by Geert Uytterhoeven <[email protected]>Cc Andreas Färber <[email protected]>
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
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)
Quoted 11 lines · Geert Uytterhoeven
Hi all,
This patch series drops select statements from the various platform-specific
Kconfigfiles, for symbols that are already selected by the various multi-platform related config options (ARCH_MULTIPLATFORM, ARCH_MULTI_V*, andARM_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!