Linux on ARM based TI OMAP SoCs
 help / color / mirror / Atom feed
From: "Arnd Bergmann" <arnd@arndb.de>
To: "Aaro Koskinen" <aaro.koskinen@iki.fi>
Cc: linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org,
	"Russell King" <linux@armlinux.org.uk>,
	"Linus Walleij" <linus.walleij@linaro.org>,
	"Richard Earnshaw" <richard.earnshaw@arm.com>,
	"Richard Sandiford" <richard.sandiford@arm.com>,
	"Ramana Radhakrishnan" <ramanara@nvidia.com>,
	"Nicolas Pitre" <nico@fluxnic.net>,
	"Krzysztof Kozlowski" <krzk@kernel.org>,
	"Mark Brown" <broonie@kernel.org>,
	"Kristoffer Ericson" <kristoffer.ericson@gmail.com>,
	"Robert Jarzmik" <robert.jarzmik@free.fr>,
	"Janusz Krzysztofik" <jmkrzyszt@gmail.com>,
	"Tony Lindgren" <tony@atomide.com>,
	Linux-OMAP <linux-omap@vger.kernel.org>,
	"Nikita Shubin" <nikita.shubin@maquefel.me>,
	linux-samsung-soc@vger.kernel.org, "Andrew Lunn" <andrew@lunn.ch>,
	"Sebastian Hesselbarth" <sebastian.hesselbarth@gmail.com>,
	"Gregory Clement" <gregory.clement@bootlin.com>,
	"Jeremy J. Peper" <jeremy@jeremypeper.com>,
	debian-arm@lists.debian.org,
	"Dmitry Torokhov" <dmitry.torokhov@gmail.com>,
	"Alexandre Torgue" <alexandre.torgue@foss.st.com>
Subject: Re: [RFC} arm architecture board/feature deprecation timeline
Date: Thu, 01 Aug 2024 10:59:38 +0200	[thread overview]
Message-ID: <ea475f27-af7c-4060-bff7-a78389174236@app.fastmail.com> (raw)
In-Reply-To: <20240731191332.GB47080@darkstar.musicnaut.iki.fi>

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.

The combination has always been a bit odd, and aside from the
problems with atomics and barriers, there was also the odd
ARM11MPcore cache handling that got removed in 2560cffd2134
("ARM: Delete ARM11MPCore (ARM11 ARMv6K SMP) support")

> These tablets are not very attractive for hobbyists anymore as the display
> support got broken and eventually deleted due to bitrot. There has been
> some out-of-tree patches/interest to regain display and other features,
> but no major progress really in 10 years or so. The last major mainline
> feature was adding Retu watchdog support that allowed the device to stay
> on longer than 30 seconds after the boot (the hardware watchdog cannot
> be disabled).
>
> I guess in OMAP-land N8x0 is one of the least used/active boards, so if
> it causes "a lot of pain" then maybe could be a candidate for deprecation.
> But with custom kernel config, the board has been pretty stable overall
> between the releases for limited use cases.

Yes, I think it would help a lot to deprecate it, at least this
would save me the work of moving ARMv6 into an ARMv5 compatible
option (I have done the patches, but they are entirely untested
on real hardware and probably incorrect).

Would the timing make any difference to you? I.e. does it help
to keep another year or two, or would dropping it in early 2025
be the same?

We'd also want to coordinate this with the i.MX31 maintainers,
since dropping both together is the only way to remove
ARM1136r0 support.

>> === OMAP1 ===
>> 
>> This is now the only ARMv4T/ARMv5 platform with no
>> DT support, making it a target for removal at some
>> point. Unlike PXA, there are still users, but it seems
>> there are no current plans for a DT conversion.
>> 
>> I would suggest going through the five boards
>> individually to see which ones we can remove in 2025
>> and keep the remaining ones for the moment.
>
> Here situation hasn't changed - all of the boards are equally
> important/useful, at least from a maintainer point of view. The routine
> I use to test/debug kernel releases relies on all of them.

Ok, noted. Since you are doing the testing, that at least means
we have a chance of cleaning up the code gradually towards using
DT. Dmitry has started a migration of platform_data towards
DT compatible device properties, which can be done gradually
for the 22 platform drivers you use. This unfortunately still
leaves the nonstandard dmaengine interface (for UDC), but we
can deal with that later.

     Arnd

  reply	other threads:[~2024-08-01  9:00 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-31 17:29 [RFC} arm architecture board/feature deprecation timeline Arnd Bergmann
2024-07-31 19:13 ` Aaro Koskinen
2024-08-01  8:59   ` Arnd Bergmann [this message]
2024-08-01 18:23     ` Aaro Koskinen
2024-08-02 12:53       ` Arnd Bergmann
2024-08-05  7:58     ` Arnd Bergmann
2024-08-05 12:30       ` Tony Lindgren
2024-08-05 13:37         ` Arnd Bergmann
2024-08-01  8:04 ` Krzysztof Kozlowski
2024-08-01 14:15 ` Richard Earnshaw
2024-08-02 15:12   ` Arnd Bergmann
2024-08-02 23:04     ` Linus Walleij
2024-08-20 14:58     ` Richard Earnshaw
2024-08-20 16:33       ` Arnd Bergmann
2024-08-01 19:53 ` Linus Walleij
2024-08-02 14:52   ` Arnd Bergmann
2024-08-15 18:24 ` Matt Turner
2024-08-19  7:37   ` Arnd Bergmann
2024-08-15 19:53 ` jeremy
2024-08-19  9:17   ` Arnd Bergmann
2024-08-19 14:12     ` Arnd Bergmann
2024-08-19 14:23       ` Andrew Lunn
2024-08-19 14:34         ` Arnd Bergmann
2024-08-19 17:08         ` jeremy
2024-08-21  6:15 ` Alexander Dahl
2024-08-21  7:51   ` 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=ea475f27-af7c-4060-bff7-a78389174236@app.fastmail.com \
    --to=arnd@arndb.de \
    --cc=aaro.koskinen@iki.fi \
    --cc=alexandre.torgue@foss.st.com \
    --cc=andrew@lunn.ch \
    --cc=broonie@kernel.org \
    --cc=debian-arm@lists.debian.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=gregory.clement@bootlin.com \
    --cc=jeremy@jeremypeper.com \
    --cc=jmkrzyszt@gmail.com \
    --cc=kristoffer.ericson@gmail.com \
    --cc=krzk@kernel.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=nico@fluxnic.net \
    --cc=nikita.shubin@maquefel.me \
    --cc=ramanara@nvidia.com \
    --cc=richard.earnshaw@arm.com \
    --cc=richard.sandiford@arm.com \
    --cc=robert.jarzmik@free.fr \
    --cc=sebastian.hesselbarth@gmail.com \
    --cc=tony@atomide.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox