All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@kernel.org>
To: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org, Arnd Bergmann <arnd@arndb.de>,
	Russell King <linux@armlinux.org.uk>,
	Linus Walleij <linus.walleij@linaro.org>,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
	Ard Biesheuvel <ardb@kernel.org>, Sekhar Nori <nsekhar@ti.com>,
	Bartosz Golaszewski <brgl@bgdev.pl>,
	Shawn Guo <shawnguo@kernel.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Andrew Lunn <andrew@lunn.ch>,
	Gregory Clement <gregory.clement@bootlin.com>,
	Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Subject: [PATCH 0/5] ARM: clean up after multiplatform changes
Date: Thu, 18 Aug 2022 16:56:11 +0200	[thread overview]
Message-ID: <20220818145616.3156379-1-arnd@kernel.org> (raw)

From: Arnd Bergmann <arnd@arndb.de>

Now that everything except StrongARM is unified under
CONFIG_ARCH_MULTIPLATFORM, the option is rather meaningless
in its current form.

Rework the Kconfig logic to make this useful again, similar
to the way that RISC-V has CONFIG_NONPORTABLE (with the
opposite polarity), this now controls the visibility of
options that get in the way of building generic kernels,
while allowing custom kernels.

One side-effect is that 'randconfig' builds now rarely hit
strongarm machines, rather than testing them three quarters
of the time.

Arnd Bergmann (5):
  ARM: remove obsolete Makefile.boot infrastructure
  ARM: simplify machdirs/platdirs handling
  ARM: Kconfig: clean up platform selection
  ARM: fix CPU_V6 dependencies
  ARM: make ARCH_MULTIPLATFORM user-visible

 arch/arm/Kconfig                       | 123 ++++++-------------------
 arch/arm/Kconfig.debug                 |   8 +-
 arch/arm/Makefile                      |  40 +++-----
 arch/arm/boot/Makefile                 |  27 ++----
 arch/arm/boot/bootp/Makefile           |  35 ++++++-
 arch/arm/configs/assabet_defconfig     |   2 +
 arch/arm/configs/badge4_defconfig      |   2 +
 arch/arm/configs/cerfcube_defconfig    |   2 +
 arch/arm/configs/collie_defconfig      |   2 +
 arch/arm/configs/footbridge_defconfig  |   2 +
 arch/arm/configs/h3600_defconfig       |   2 +
 arch/arm/configs/hackkit_defconfig     |   2 +
 arch/arm/configs/jornada720_defconfig  |   2 +
 arch/arm/configs/lart_defconfig        |   2 +
 arch/arm/configs/neponset_defconfig    |   2 +
 arch/arm/configs/netwinder_defconfig   |   2 +
 arch/arm/configs/pleb_defconfig        |   2 +
 arch/arm/configs/rpc_defconfig         |   2 +
 arch/arm/configs/shannon_defconfig     |   2 +
 arch/arm/configs/simpad_defconfig      |   2 +
 arch/arm/kernel/devtree.c              |   2 -
 arch/arm/mach-at91/Makefile.boot       |   4 -
 arch/arm/mach-davinci/Makefile.boot    |   8 --
 arch/arm/mach-dove/Makefile            |   2 +-
 arch/arm/mach-dove/Makefile.boot       |   4 -
 arch/arm/mach-ep93xx/Makefile.boot     |   2 -
 arch/arm/mach-footbridge/Kconfig       |  19 +++-
 arch/arm/mach-footbridge/Makefile.boot |   5 -
 arch/arm/mach-imx/Kconfig              |   3 +-
 arch/arm/mach-imx/Makefile.boot        |   0
 arch/arm/mach-iop32x/Makefile.boot     |   4 -
 arch/arm/mach-lpc18xx/Makefile.boot    |   4 -
 arch/arm/mach-lpc32xx/Makefile.boot    |   4 -
 arch/arm/mach-mv78xx0/Makefile         |   2 +-
 arch/arm/mach-mvebu/Makefile           |   2 +-
 arch/arm/mach-nspire/Kconfig           |   2 +-
 arch/arm/mach-omap1/Makefile.boot      |   4 -
 arch/arm/mach-omap2/Kconfig            |   1 +
 arch/arm/mach-orion5x/Makefile         |   2 +-
 arch/arm/mach-rpc/Kconfig              |  21 +++++
 arch/arm/mach-rpc/Makefile.boot        |   5 -
 arch/arm/mach-s3c/Makefile.boot        |   9 --
 arch/arm/mach-sa1100/Kconfig           |  25 ++++-
 arch/arm/mach-sa1100/Makefile.boot     |   9 --
 arch/arm/mach-stm32/Makefile.boot      |   4 -
 arch/arm/mach-versatile/Kconfig        |   2 +
 arch/arm/mach-versatile/Makefile.boot  |   4 -
 arch/arm/mach-vt8500/Makefile.boot     |   4 -
 48 files changed, 181 insertions(+), 239 deletions(-)
 delete mode 100644 arch/arm/mach-at91/Makefile.boot
 delete mode 100644 arch/arm/mach-davinci/Makefile.boot
 delete mode 100644 arch/arm/mach-dove/Makefile.boot
 delete mode 100644 arch/arm/mach-ep93xx/Makefile.boot
 delete mode 100644 arch/arm/mach-footbridge/Makefile.boot
 delete mode 100644 arch/arm/mach-imx/Makefile.boot
 delete mode 100644 arch/arm/mach-iop32x/Makefile.boot
 delete mode 100644 arch/arm/mach-lpc18xx/Makefile.boot
 delete mode 100644 arch/arm/mach-lpc32xx/Makefile.boot
 delete mode 100644 arch/arm/mach-omap1/Makefile.boot
 create mode 100644 arch/arm/mach-rpc/Kconfig
 delete mode 100644 arch/arm/mach-rpc/Makefile.boot
 delete mode 100644 arch/arm/mach-s3c/Makefile.boot
 delete mode 100644 arch/arm/mach-sa1100/Makefile.boot
 delete mode 100644 arch/arm/mach-stm32/Makefile.boot
 delete mode 100644 arch/arm/mach-versatile/Makefile.boot
 delete mode 100644 arch/arm/mach-vt8500/Makefile.boot

-- 
2.29.2

Cc: Russell King <linux@armlinux.org.uk>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: Sekhar Nori <nsekhar@ti.com>
Cc: Bartosz Golaszewski <brgl@bgdev.pl>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Pengutronix Kernel Team <kernel@pengutronix.de>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Gregory Clement <gregory.clement@bootlin.com>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>

WARNING: multiple messages have this Message-ID (diff)
From: Arnd Bergmann <arnd@kernel.org>
To: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org, Arnd Bergmann <arnd@arndb.de>,
	Russell King <linux@armlinux.org.uk>,
	Linus Walleij <linus.walleij@linaro.org>,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
	Ard Biesheuvel <ardb@kernel.org>, Sekhar Nori <nsekhar@ti.com>,
	Bartosz Golaszewski <brgl@bgdev.pl>,
	Shawn Guo <shawnguo@kernel.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Andrew Lunn <andrew@lunn.ch>,
	Gregory Clement <gregory.clement@bootlin.com>,
	Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Subject: [PATCH 0/5] ARM: clean up after multiplatform changes
Date: Thu, 18 Aug 2022 16:56:11 +0200	[thread overview]
Message-ID: <20220818145616.3156379-1-arnd@kernel.org> (raw)

From: Arnd Bergmann <arnd@arndb.de>

Now that everything except StrongARM is unified under
CONFIG_ARCH_MULTIPLATFORM, the option is rather meaningless
in its current form.

Rework the Kconfig logic to make this useful again, similar
to the way that RISC-V has CONFIG_NONPORTABLE (with the
opposite polarity), this now controls the visibility of
options that get in the way of building generic kernels,
while allowing custom kernels.

One side-effect is that 'randconfig' builds now rarely hit
strongarm machines, rather than testing them three quarters
of the time.

Arnd Bergmann (5):
  ARM: remove obsolete Makefile.boot infrastructure
  ARM: simplify machdirs/platdirs handling
  ARM: Kconfig: clean up platform selection
  ARM: fix CPU_V6 dependencies
  ARM: make ARCH_MULTIPLATFORM user-visible

 arch/arm/Kconfig                       | 123 ++++++-------------------
 arch/arm/Kconfig.debug                 |   8 +-
 arch/arm/Makefile                      |  40 +++-----
 arch/arm/boot/Makefile                 |  27 ++----
 arch/arm/boot/bootp/Makefile           |  35 ++++++-
 arch/arm/configs/assabet_defconfig     |   2 +
 arch/arm/configs/badge4_defconfig      |   2 +
 arch/arm/configs/cerfcube_defconfig    |   2 +
 arch/arm/configs/collie_defconfig      |   2 +
 arch/arm/configs/footbridge_defconfig  |   2 +
 arch/arm/configs/h3600_defconfig       |   2 +
 arch/arm/configs/hackkit_defconfig     |   2 +
 arch/arm/configs/jornada720_defconfig  |   2 +
 arch/arm/configs/lart_defconfig        |   2 +
 arch/arm/configs/neponset_defconfig    |   2 +
 arch/arm/configs/netwinder_defconfig   |   2 +
 arch/arm/configs/pleb_defconfig        |   2 +
 arch/arm/configs/rpc_defconfig         |   2 +
 arch/arm/configs/shannon_defconfig     |   2 +
 arch/arm/configs/simpad_defconfig      |   2 +
 arch/arm/kernel/devtree.c              |   2 -
 arch/arm/mach-at91/Makefile.boot       |   4 -
 arch/arm/mach-davinci/Makefile.boot    |   8 --
 arch/arm/mach-dove/Makefile            |   2 +-
 arch/arm/mach-dove/Makefile.boot       |   4 -
 arch/arm/mach-ep93xx/Makefile.boot     |   2 -
 arch/arm/mach-footbridge/Kconfig       |  19 +++-
 arch/arm/mach-footbridge/Makefile.boot |   5 -
 arch/arm/mach-imx/Kconfig              |   3 +-
 arch/arm/mach-imx/Makefile.boot        |   0
 arch/arm/mach-iop32x/Makefile.boot     |   4 -
 arch/arm/mach-lpc18xx/Makefile.boot    |   4 -
 arch/arm/mach-lpc32xx/Makefile.boot    |   4 -
 arch/arm/mach-mv78xx0/Makefile         |   2 +-
 arch/arm/mach-mvebu/Makefile           |   2 +-
 arch/arm/mach-nspire/Kconfig           |   2 +-
 arch/arm/mach-omap1/Makefile.boot      |   4 -
 arch/arm/mach-omap2/Kconfig            |   1 +
 arch/arm/mach-orion5x/Makefile         |   2 +-
 arch/arm/mach-rpc/Kconfig              |  21 +++++
 arch/arm/mach-rpc/Makefile.boot        |   5 -
 arch/arm/mach-s3c/Makefile.boot        |   9 --
 arch/arm/mach-sa1100/Kconfig           |  25 ++++-
 arch/arm/mach-sa1100/Makefile.boot     |   9 --
 arch/arm/mach-stm32/Makefile.boot      |   4 -
 arch/arm/mach-versatile/Kconfig        |   2 +
 arch/arm/mach-versatile/Makefile.boot  |   4 -
 arch/arm/mach-vt8500/Makefile.boot     |   4 -
 48 files changed, 181 insertions(+), 239 deletions(-)
 delete mode 100644 arch/arm/mach-at91/Makefile.boot
 delete mode 100644 arch/arm/mach-davinci/Makefile.boot
 delete mode 100644 arch/arm/mach-dove/Makefile.boot
 delete mode 100644 arch/arm/mach-ep93xx/Makefile.boot
 delete mode 100644 arch/arm/mach-footbridge/Makefile.boot
 delete mode 100644 arch/arm/mach-imx/Makefile.boot
 delete mode 100644 arch/arm/mach-iop32x/Makefile.boot
 delete mode 100644 arch/arm/mach-lpc18xx/Makefile.boot
 delete mode 100644 arch/arm/mach-lpc32xx/Makefile.boot
 delete mode 100644 arch/arm/mach-omap1/Makefile.boot
 create mode 100644 arch/arm/mach-rpc/Kconfig
 delete mode 100644 arch/arm/mach-rpc/Makefile.boot
 delete mode 100644 arch/arm/mach-s3c/Makefile.boot
 delete mode 100644 arch/arm/mach-sa1100/Makefile.boot
 delete mode 100644 arch/arm/mach-stm32/Makefile.boot
 delete mode 100644 arch/arm/mach-versatile/Makefile.boot
 delete mode 100644 arch/arm/mach-vt8500/Makefile.boot

-- 
2.29.2

Cc: Russell King <linux@armlinux.org.uk>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: Sekhar Nori <nsekhar@ti.com>
Cc: Bartosz Golaszewski <brgl@bgdev.pl>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Pengutronix Kernel Team <kernel@pengutronix.de>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Gregory Clement <gregory.clement@bootlin.com>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>

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

             reply	other threads:[~2022-08-18 14:57 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-18 14:56 Arnd Bergmann [this message]
2022-08-18 14:56 ` [PATCH 0/5] ARM: clean up after multiplatform changes Arnd Bergmann
2022-08-18 14:56 ` [PATCH 1/5] ARM: remove obsolete Makefile.boot infrastructure Arnd Bergmann
2022-08-18 14:56   ` Arnd Bergmann
2022-08-19  7:45   ` Krzysztof Kozlowski
2022-08-19  7:45     ` Krzysztof Kozlowski
2022-08-18 14:56 ` [PATCH 2/5] ARM: simplify machdirs/platdirs handling Arnd Bergmann
2022-08-18 14:56   ` Arnd Bergmann
2022-08-18 14:56 ` [PATCH 3/5] ARM: Kconfig: clean up platform selection Arnd Bergmann
2022-08-18 14:56   ` Arnd Bergmann
2022-08-18 14:56 ` [PATCH 4/5] ARM: fix CPU_V6 dependencies Arnd Bergmann
2022-08-18 14:56   ` Arnd Bergmann
2022-08-25 13:43   ` Linus Walleij
2022-08-25 13:43     ` Linus Walleij
2022-08-29  9:33     ` Arnd Bergmann
2022-08-29  9:33       ` Arnd Bergmann
2022-08-30  7:20       ` [PATCH] ARM: fix XIP_KERNEL dependencies Arnd Bergmann
2022-08-30  7:20         ` Arnd Bergmann
2022-08-30  7:41         ` Geert Uytterhoeven
2022-08-30  7:41           ` Geert Uytterhoeven
2022-08-30  9:18           ` Arnd Bergmann
2022-08-30  9:18             ` Arnd Bergmann
2022-08-31 13:35         ` Linus Walleij
2022-08-31 13:35           ` Linus Walleij
2022-08-18 14:56 ` [PATCH 5/5] ARM: make ARCH_MULTIPLATFORM user-visible Arnd Bergmann
2022-08-18 14:56   ` Arnd Bergmann
2022-09-27 12:31   ` Geert Uytterhoeven
2022-09-27 12:31     ` Geert Uytterhoeven
2022-09-27 13:29     ` Geert Uytterhoeven
2022-09-27 13:29       ` Geert Uytterhoeven
2022-09-27 13:31   ` Geert Uytterhoeven
2022-09-27 13:31     ` Geert Uytterhoeven
2022-09-27 20:10     ` Arnd Bergmann
2022-09-27 20:10       ` Arnd Bergmann
2022-09-28  6:48       ` Geert Uytterhoeven
2022-09-28  6:48         ` Geert Uytterhoeven
2022-09-28  8:13         ` Arnd Bergmann
2022-09-28  8:13           ` Arnd Bergmann

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=20220818145616.3156379-1-arnd@kernel.org \
    --to=arnd@kernel.org \
    --cc=andrew@lunn.ch \
    --cc=ardb@kernel.org \
    --cc=arnd@arndb.de \
    --cc=brgl@bgdev.pl \
    --cc=geert+renesas@glider.be \
    --cc=gregory.clement@bootlin.com \
    --cc=kernel@pengutronix.de \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=nsekhar@ti.com \
    --cc=s.hauer@pengutronix.de \
    --cc=sebastian.hesselbarth@gmail.com \
    --cc=shawnguo@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.