All of lore.kernel.org
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert+renesas@glider.be>
To: soc@kernel.org
Cc: Arnd Bergmann <arnd@arndb.de>, Kevin Hilman <khilman@kernel.org>,
	Olof Johansson <olof@lixom.net>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Linus Walleij <linus.walleij@linaro.org>
Subject: [PATCH v2 14/15] ARM: realview: Drop unneeded select of multi-platform features
Date: Tue,  5 May 2020 17:07:21 +0200	[thread overview]
Message-ID: <20200505150722.1575-15-geert+renesas@glider.be> (raw)
In-Reply-To: <20200505150722.1575-1-geert+renesas@glider.be>

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>
Acked-by: Arnd Bergmann <arnd@arndb.de>
---
v2:
  - Add Acked-by.
---
 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


WARNING: multiple messages have this Message-ID (diff)
From: Geert Uytterhoeven <geert+renesas@glider.be>
To: soc@kernel.org
Cc: Arnd Bergmann <arnd@arndb.de>,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Kevin Hilman <khilman@kernel.org>,
	Linus Walleij <linus.walleij@linaro.org>,
	linux-kernel@vger.kernel.org, Olof Johansson <olof@lixom.net>,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 14/15] ARM: realview: Drop unneeded select of multi-platform features
Date: Tue,  5 May 2020 17:07:21 +0200	[thread overview]
Message-ID: <20200505150722.1575-15-geert+renesas@glider.be> (raw)
In-Reply-To: <20200505150722.1575-1-geert+renesas@glider.be>

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>
Acked-by: Arnd Bergmann <arnd@arndb.de>
---
v2:
  - Add Acked-by.
---
 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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2020-05-05 15:07 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-05 15:07 [PATCH v2 00/15] ARM: Drop unneeded select of multi-platform selected options Geert Uytterhoeven
2020-05-05 15:07 ` Geert Uytterhoeven
2020-05-05 15:07 ` [PATCH v2 01/15] ARM: arch timer: Drop unneeded select GENERIC_CLOCKEVENTS Geert Uytterhoeven
2020-05-05 15:07   ` Geert Uytterhoeven
2020-05-05 15:07 ` [PATCH v2 02/15] ARM: actions: Drop unneeded select of COMMON_CLK Geert Uytterhoeven
2020-05-05 15:07   ` Geert Uytterhoeven
2020-05-05 16:04   ` Andreas Färber
2020-05-05 16:04     ` Andreas Färber
2020-05-05 16:45     ` Geert Uytterhoeven
2020-05-05 16:45       ` Geert Uytterhoeven
2020-05-05 15:07 ` [PATCH v2 03/15] ARM: alpine: Drop unneeded select of HAVE_SMP Geert Uytterhoeven
2020-05-05 15:07   ` Geert Uytterhoeven
2020-05-05 15:07 ` [PATCH v2 04/15] ARM: asm9260: Drop unneeded select of GENERIC_CLOCKEVENTS Geert Uytterhoeven
2020-05-05 15:07   ` Geert Uytterhoeven
2020-05-05 15:07 ` [PATCH v2 05/15] ARM: aspeed: Drop unneeded select of HAVE_SMP Geert Uytterhoeven
2020-05-05 15:07   ` Geert Uytterhoeven
2020-05-05 15:07 ` [PATCH v2 06/15] ARM: berlin: " Geert Uytterhoeven
2020-05-05 15:07   ` Geert Uytterhoeven
2020-05-22 10:12   ` Jisheng Zhang
2020-05-22 10:12     ` Jisheng Zhang
2020-05-22 10:34     ` Arnd Bergmann
2020-05-22 10:34       ` Arnd Bergmann
2020-05-22 10:36       ` Jisheng Zhang
2020-05-22 10:36         ` Jisheng Zhang
2020-05-05 15:07 ` [PATCH v2 07/15] ARM: clps711x: Drop unneeded select of multi-platform selected options Geert Uytterhoeven
2020-05-05 15:07   ` Geert Uytterhoeven
2020-05-05 15:07 ` [PATCH v2 08/15] ARM: davinci: Drop unneeded select of TIMER_OF Geert Uytterhoeven
2020-05-05 15:07   ` Geert Uytterhoeven
2020-05-05 15:07 ` [PATCH v2 09/15] ARM: integrator: Drop unneeded select of SPARSE_IRQ Geert Uytterhoeven
2020-05-05 15:07   ` Geert Uytterhoeven
2020-05-05 15:07 ` [PATCH v2 10/15] ARM: mmp: Drop unneeded select of COMMON_CLK Geert Uytterhoeven
2020-05-05 15:07   ` Geert Uytterhoeven
2020-05-05 15:07 ` [PATCH v2 11/15] ARM: mvebu: Drop unneeded select of HAVE_SMP Geert Uytterhoeven
2020-05-05 15:07   ` Geert Uytterhoeven
2020-05-05 15:13   ` Andrew Lunn
2020-05-05 15:13     ` Andrew Lunn
2020-05-05 15:07 ` [PATCH v2 12/15] ARM: omap2plus: Drop unneeded select of MIGHT_HAVE_CACHE_L2X0 Geert Uytterhoeven
2020-05-05 15:07   ` Geert Uytterhoeven
2020-05-05 18:26   ` Tony Lindgren
2020-05-05 18:26     ` Tony Lindgren
2020-05-07 17:49     ` Tony Lindgren
2020-05-07 17:49       ` Tony Lindgren
2020-05-05 15:07 ` [PATCH v2 13/15] ARM: prima2: Drop unneeded select of HAVE_SMP Geert Uytterhoeven
2020-05-05 15:07   ` Geert Uytterhoeven
2020-05-05 15:07 ` Geert Uytterhoeven [this message]
2020-05-05 15:07   ` [PATCH v2 14/15] ARM: realview: Drop unneeded select of multi-platform features Geert Uytterhoeven
2020-05-05 15:07 ` [PATCH v2 15/15] ARM: socfpga: Drop unneeded select of PCI_DOMAINS_GENERIC Geert Uytterhoeven
2020-05-05 15:07   ` Geert Uytterhoeven

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200505150722.1575-15-geert+renesas@glider.be \
    --to=geert+renesas@glider.be \
    --cc=arnd@arndb.de \
    --cc=khilman@kernel.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=olof@lixom.net \
    --cc=soc@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.