[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <eb91d092-259c-4896-a06d-363c1a62712c@app.fastmail.com>
Date: Mon, 05 Aug 2024 09:58:10 +0200
From: "Arnd Bergmann" <arnd@...db.de>
To: "Aaro Koskinen" <aaro.koskinen@....fi>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
"Russell King" <linux@...linux.org.uk>,
"Linus Walleij" <linus.walleij@...aro.org>,
"Richard Earnshaw" <richard.earnshaw@....com>,
"Richard Sandiford" <richard.sandiford@....com>,
"Ramana Radhakrishnan" <ramanara@...dia.com>,
"Nicolas Pitre" <nico@...xnic.net>,
"Krzysztof Kozlowski" <krzk@...nel.org>,
"Mark Brown" <broonie@...nel.org>,
"Kristoffer Ericson" <kristoffer.ericson@...il.com>,
"Robert Jarzmik" <robert.jarzmik@...e.fr>,
"Janusz Krzysztofik" <jmkrzyszt@...il.com>,
"Tony Lindgren" <tony@...mide.com>,
Linux-OMAP <linux-omap@...r.kernel.org>,
"Nikita Shubin" <nikita.shubin@...uefel.me>,
linux-samsung-soc@...r.kernel.org, "Andrew Lunn" <andrew@...n.ch>,
"Sebastian Hesselbarth" <sebastian.hesselbarth@...il.com>,
"Gregory Clement" <gregory.clement@...tlin.com>,
"Jeremy J. Peper" <jeremy@...emypeper.com>, debian-arm@...ts.debian.org,
"Dmitry Torokhov" <dmitry.torokhov@...il.com>,
"Alexandre Torgue" <alexandre.torgue@...s.st.com>,
"Ard Biesheuvel" <ardb@...nel.org>, "Shawn Guo" <shawnguo@...nel.org>
Subject: Re: [RFC} arm architecture board/feature deprecation timeline
On Thu, Aug 1, 2024, at 10:59, Arnd Bergmann wrote:
> On Wed, Jul 31, 2024, at 21:13, Aaro Koskinen wrote:
>> On Wed, Jul 31, 2024 at 07:29:29PM +0200, Arnd Bergmann wrote:
>>> === early ARMv6 ===
>>>
>>> This is the ARM1136r0p in NXP i.MX31 and OMAP24xx, which in
>>> practice means just the Nokia N8xx tablet.
>>> It causes a lot of pain to support in the kernel since it
>>> requires special hacks to support in SMP-enabled kernels.
>>
>> FWIW, I have been never able to boot N8x0 unless CONFIG_SMP was disabled
>> (but haven't tested recently if the situation has changed). And probably
>> nobody else is anymore even booting these with modern kernels. Common
>> distro kernel support for N8x0 would be unlikely anyway due to bootloader
>> and memory limitations.
>
> Thanks for your quick reply!
>
> I don't think there were ever any distro kernels with support for
> N8x0 and other hardware in the same binary, but I do recall Tony
> testing the omap2plus_defconfig across omap2 through omap5
> successfully in the past, which is the main reason we kept this
> as a Kconfig option.
Thinking about this some more, I wonder if we should just
change the Kconfig dependencies now (for 6.12, possibly backported)
and forbid ARM1136r0, i.e. OMAP2 and i.MX31, from being enabled
in combination with SMP.
This would immediately prevent the bug you are seeing and
allow the cleanups we've been wanting to do for a while,
and it would avoid the larger-scale rework that I had
planned (moving armv6 into an armv5 kernel).
The main reason we didn't do this in the past was that it broke
Tony's workflow of testing omap2plus_defconfig across all
platforms, but I assume this all changed with the new group
maintainership anyway.
The effect here would be that imx_v6_v7_defconfig would
only inlucde imx35 but not imx31, and that omap2plus_defconfig
would turn into effectively omap3plus.
I would still tentatively schedule both for removal in early
2026, but if we add the !SMP dependency it's not a big deal to
keep them around after that either. We can make that decision
next year.
Arnd
Powered by blists - more mailing lists