All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Arnd Bergmann" <arnd@kernel.org>
To: sashiko-reviews@lists.linux.dev
Cc: dri-devel@lists.freedesktop.org, "Frank Li" <Frank.Li@kernel.org>,
	"Conor Dooley" <conor+dt@kernel.org>,
	devicetree@vger.kernel.org, imx@lists.linux.dev,
	"Rob Herring" <robh@kernel.org>
Subject: Re: [PATCH 02/13] ARM: remove footbridge
Date: Tue, 08 Sep 2026 19:57:27 +0200	[thread overview]
Message-ID: <a859cd07-8f52-4ae1-b28c-7bc052694a5a@app.fastmail.com> (raw)
In-Reply-To: <20260908155546.5DB8B1F00A3A@smtp.kernel.org>

On Tue, Sep 8, 2026, at 17:55, sashiko-bot@kernel.org wrote:
>>  __tagtable(ATAG_MEM, parse_tag_mem32);
>>  
>> -#if defined(CONFIG_ARCH_FOOTBRIDGE) && defined(CONFIG_VGA_CONSOLE)
>> -static int __init parse_tag_videotext(const struct tag *tag)
>> -{
> [ ... ]
>> -__tagtable(ATAG_VIDEOTEXT, parse_tag_videotext);
>> -#endif
>> -
>
> [Severity: Medium]
> Since this patch removes the footbridge architecture, should similar
> arch-specific dead code be removed from arch/arm/kernel/atags_compat.c as
> well?

I have a separate patch to remove that file entirely and chose
not to remove the lines here to avoid a merge conflict.

>> deleted file mode 100644
>> index 96a74d447028d..0000000000000
>> --- a/arch/arm/mach-footbridge/Kconfig
>> +++ /dev/null
>> @@ -1,57 +0,0 @@
> [ ... ]
>> -config ARCH_NETWINDER
>> -	bool "NetWinder"
> [ ... ]
>> -config FOOTBRIDGE
>> -	def_bool y
>
> [Severity: Medium]
> By removing the FOOTBRIDGE and ARCH_NETWINDER configs here, what happens to
> the drivers in other subsystems that still depend on them? 
>
> For example, drivers/watchdog/Kconfig still contains dependencies like:
>     config 21285_WATCHDOG
>         depends on FOOTBRIDGE

See the longer series with the patches to remove this.

> And drivers/char/Kconfig has symbols like DS1620, NWBUTTON, and NWFLASH
> that depend on ARCH_NETWINDER. Will these be left permanently unbuildable
> since their configurations are orphaned?
>
> Additionally, 977_WATCHDOG depends on:
>     (FOOTBRIDGE && ARCH_NETWINDER) || (ARM && COMPILE_TEST)
>
> If someone builds with COMPILE_TEST, won't this driver try to build but
> fail due to missing headers?

I don't see any headers causing problems in 977_WATCHDOG, but
I'll do some more build testing on the current series before
I post the next version.

I did randconfig tests on a slightly older version of the longer
series, but not on intermediate parts, so it's possible that
I missed something there.

>> diff --git a/arch/arm/include/asm/hardware/dec21285.h b/arch/arm/include/asm/hardware/dec21285.h
>> deleted file mode 100644
>> index 894f2a635cbbd..0000000000000
>> --- a/arch/arm/include/asm/hardware/dec21285.h
>> +++ /dev/null
>
> [Severity: Medium]
> Will the removal of this header cause fatal build errors for the orphaned
> drivers mentioned above?
>
> For example, if compilation is attempted (such as with COMPILE_TEST),
> nwflash_init() in drivers/char/nwflash.c and serial21285_init() in 
> drivers/tty/serial/21285.c both still include <asm/hardware/dec21285.h>.
>
> Does this patch need to remove those orphaned drivers as well to prevent
> build breakages?

The nwflash/nwbutton and dc21285_serial drivers have a hard
dependency on ARCH_NETWINDER, so those should be fine.

       Arnd

  reply	other threads:[~2026-09-08 17:57 UTC|newest]

Thread overview: 124+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-08 15:27 [PATCH 00/13] ARM: deprecated platform removal Arnd Bergmann
2026-09-08 15:27 ` [PATCH 01/13] ARM: remove sa1100 platform Arnd Bergmann
2026-09-08 16:26   ` Guenter Roeck
2026-09-08 17:23   ` Linus Walleij
2026-09-08 19:39   ` Karl Mehltretter
2026-09-08 20:09     ` Arnd Bergmann
2026-09-08 20:36   ` Nicolas Pitre
2026-09-08 21:26     ` David Laight
2026-09-08 21:32     ` Arnd Bergmann
2026-09-09 12:38   ` Alexandre Belloni
2026-09-08 15:27 ` [PATCH 02/13] ARM: remove footbridge Arnd Bergmann
2026-09-08 15:55   ` sashiko-bot
2026-09-08 17:57     ` Arnd Bergmann [this message]
2026-09-08 17:27   ` Linus Walleij
2026-09-09 15:09     ` Ralph Siemsen
2026-09-08 15:27 ` [PATCH 03/13] ARM: remove riscpc Arnd Bergmann
2026-09-08 15:52   ` sashiko-bot
2026-09-08 16:10     ` Arnd Bergmann
2026-09-09  8:04   ` Thomas Zimmermann
2026-09-09 16:42   ` Bart Van Assche
2026-09-09 20:09     ` Arnd Bergmann
2026-09-11  3:44   ` Ethan Nelson-Moore
2026-09-11  9:07     ` Linus Walleij
2026-09-11 13:25       ` Bart Van Assche
2026-09-11 13:37         ` Linus Walleij
2026-09-13  9:43           ` Arnd Bergmann
2026-09-11 14:38       ` Daniel Palmer
2026-09-11 18:14         ` Linus Walleij
2026-09-12  1:29           ` Daniel Palmer
2026-09-13 18:13             ` Linus Walleij
2026-09-11 18:42     ` Karl Mehltretter
2026-09-12  2:08       ` Ethan Nelson-Moore
2026-09-12  3:59         ` Ethan Nelson-Moore
2026-09-08 15:27 ` [PATCH 04/13] ARM: remove legacy pxa board files Arnd Bergmann
2026-09-08 16:01   ` sashiko-bot
2026-09-08 18:06     ` Arnd Bergmann
2026-09-08 17:30   ` Linus Walleij
2026-09-08 18:32   ` Daniel Mack
2026-09-08 15:27 ` [PATCH 05/13] ARM: orion/dove/mv78xx0: remove all " Arnd Bergmann
2026-09-08 15:27   ` Arnd Bergmann
2026-09-08 15:34   ` Mark Brown
2026-09-08 15:34     ` Mark Brown
2026-09-08 16:11   ` sashiko-bot
2026-09-08 16:11     ` sashiko-bot
2026-09-08 18:21     ` Arnd Bergmann
2026-09-08 18:21       ` Arnd Bergmann
2026-09-09 12:42       ` [PATCH 05.2/13] ARM: orion5x: fold plat-orion/pcie.c and hw_pci into pci.c Arnd Bergmann
2026-09-09 12:42         ` Arnd Bergmann
2026-09-08 16:12   ` [PATCH 05/13] ARM: orion/dove/mv78xx0: remove all board files Ulf Hansson
2026-09-08 16:12     ` Ulf Hansson
2026-09-08 16:18   ` Andrew Lunn
2026-09-08 16:18     ` Andrew Lunn
2026-09-08 16:28   ` Guenter Roeck
2026-09-08 16:28     ` Guenter Roeck
2026-09-08 17:33   ` Linus Walleij
2026-09-08 17:33     ` Linus Walleij
2026-09-08 20:14   ` Niklas Cassel
2026-09-08 20:14     ` Niklas Cassel
2026-09-09 12:54   ` Gregory CLEMENT
2026-09-09 12:54     ` Gregory CLEMENT
2026-09-11 10:22   ` Daniel Lezcano
2026-09-11 10:22     ` Daniel Lezcano
2026-09-08 15:27 ` [PATCH 06/13] ARM: omap2: remove omap24xx support Arnd Bergmann
2026-09-08 15:27   ` Arnd Bergmann
2026-09-08 17:18   ` Aaro Koskinen
2026-09-08 17:18     ` Aaro Koskinen
2026-09-08 17:35   ` Linus Walleij
2026-09-08 17:35     ` Linus Walleij
2026-09-08 19:21   ` Karl Mehltretter
2026-09-08 19:21     ` Karl Mehltretter
2026-09-08 19:42     ` Arnd Bergmann
2026-09-08 19:42       ` Arnd Bergmann
2026-09-09  8:06   ` Thomas Zimmermann
2026-09-09  8:06     ` Thomas Zimmermann
2026-09-08 15:27 ` [PATCH 07/13] ARM: imx: remove i.MX31 SoC support Arnd Bergmann
2026-09-08 16:05   ` sashiko-bot
2026-09-08 18:01     ` Arnd Bergmann
2026-09-09  8:24   ` Vladimir Zapolskiy
2026-09-09  8:26   ` Daniel Baluta
2026-09-10 15:11   ` Frank Li
2026-09-08 15:27 ` [PATCH 08/13] ARM: imx: remove nommu support Arnd Bergmann
2026-09-08 15:43   ` sashiko-bot
2026-09-09 20:17   ` Fabio Estevam
2026-09-09 20:21   ` Fabio Estevam
2026-09-10 13:08     ` Jesse T
2026-09-10 16:08     ` Giulio Benetti
2026-09-10 15:14   ` Frank Li
2026-09-08 15:27 ` [PATCH 09/13] ARM: lpc18xx: remove entire platform Arnd Bergmann
2026-09-08 15:41   ` sashiko-bot
2026-09-08 15:43     ` Arnd Bergmann
2026-09-08 17:36   ` Linus Walleij
2026-09-09  8:28   ` Vladimir Zapolskiy
2026-09-08 15:28 ` [PATCH 10/13] ARM: stm32: remove stm32f4/f7/h7 MCU support Arnd Bergmann
2026-09-08 15:43   ` sashiko-bot
2026-09-08 15:54     ` Arnd Bergmann
2026-09-08 17:36   ` Linus Walleij
2026-09-11 15:46   ` Alexandre TORGUE
2026-09-08 15:28 ` [PATCH 11/13] ARM: versatile: remove mps2 support Arnd Bergmann
2026-09-08 15:41   ` Vladimir Murzin
2026-09-08 15:51   ` sashiko-bot
2026-09-08 17:37   ` Linus Walleij
2026-09-08 19:49   ` Sudeep Holla
2026-09-08 19:51     ` Arnd Bergmann
2026-09-08 19:58       ` Sudeep Holla
2026-09-08 19:54     ` Sudeep Holla
2026-09-08 15:28 ` [PATCH 12/13] ARM: at91: remove samv7 support Arnd Bergmann
2026-09-08 15:55   ` sashiko-bot
2026-09-08 16:40     ` Arnd Bergmann
2026-09-08 17:39   ` Linus Walleij
2026-09-08 19:58   ` Sverdlin, Alexander
2026-09-08 21:09   ` Rob Herring
2026-09-08 21:30     ` Arnd Bergmann
2026-09-10 12:25       ` Nicolas Ferre
2026-09-09 12:41   ` Alexandre Belloni
2026-09-10 12:23   ` Nicolas Ferre
2026-09-08 15:28 ` [PATCH 13/13] ARM: axxia: remove entire platform Arnd Bergmann
2026-09-08 15:55   ` sashiko-bot
2026-09-08 17:40   ` Linus Walleij
2026-09-08 18:23   ` Krzysztof Kozlowski
2026-09-08 20:02   ` Sverdlin, Alexander
2026-09-08 16:53 ` [PATCH 00/13] ARM: deprecated platform removal Randy Dunlap
2026-09-08 16:56   ` Randy Dunlap
2026-09-08 18:33   ` Arnd Bergmann
2026-09-08 18:39     ` Randy Dunlap

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=a859cd07-8f52-4ae1-b28c-7bc052694a5a@app.fastmail.com \
    --to=arnd@kernel.org \
    --cc=Frank.Li@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=imx@lists.linux.dev \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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.