mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Arnd Bergmann" <arnd@arndb.de>
To: "Franz-Josef Haider" <fj.haider@outlook.com>,
	"Linus Walleij" <linus.walleij@linaro.org>
Cc: "Russell King" <linux@armlinux.org.uk>,
	"Ard Biesheuvel" <ardb@kernel.org>,
	"Russell King" <rmk+kernel@armlinux.org.uk>,
	"Eric Biggers" <ebiggers@kernel.org>,
	"Nathan Chancellor" <nathan@kernel.org>,
	"Steven Rostedt" <rostedt@goodmis.org>,
	"Kees Cook" <kees@kernel.org>,
	"Dave Vasilevsky" <dave@vasilevsky.ca>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, trivial@kernel.org
Subject: Re: [PATCH] ARM: Make sure CPU_ARM940T kernel can be built.
Date: Fri, 03 Oct 2025 01:02:58 +0200	[thread overview]
Message-ID: <7d0b68d4-6798-43a5-a6ca-99807bc183c5@app.fastmail.com> (raw)
In-Reply-To: <VI0P195MB273999EC8797270AE732D8BAEDE7A@VI0P195MB2739.EURP195.PROD.OUTLOOK.COM>

On Thu, Oct 2, 2025, at 17:34, Franz-Josef Haider wrote:
> On 10/1/25 23:52, Arnd Bergmann wrote:
>
> Ok if the support for ARMv4T NOMMU has been removed, then maybe we can 
> leave this as resolved.
>
> It's actually just for a hobby project, nothing important. I just 
> thought these two patches might be helpful to other people who 
> encounter a similar issue on similar cpus, but if the support for 
> ARMv4T NOMMU has been dropped then there is no point maybe.
>
> Here are the patches for 6.2 in any case but it's very much a hacky 
> WIP, and there is some stuff in there that's not needed anymore on top 
> of later commits. https://github.com/krnlyng/linux-ipod/commits/n2g-wip
> I also have a version on top of a recent (~29 SEPT 2025) commit locally 
> if that is interesting too.

Looking at your tree, I find that the ARMv4T NOMMU support is not
even that bad to put back, especially since commit 84fc86360623
("ARM: make ARCH_MULTIPLATFORM user-visible") made it possible to
add a 'depends on !ARCH_MULTIPLATFORM' in the platform specific
code.

I still think that this specific oneline patch is not helpful,
but the other one you sent is technically still a correct fix
and we should either merge that or drop the remnants of the
ARM740T/940T/946E code now that we know it's broken.

Similarly, the later ARM1176 based code that you based your
patches on does look worth cleaning up and merging if there are
still users.

For the specific s5l870x (arm940) SoC support, I see what you
mean with missing cleanups, but more importantly I think that
we will want to drop nommu support from arch/arm/ in a few years
as the remaining users all tend to fall into a similar class
as yours where the developers work on them for the fun of it
but without anyone else depending on it to run on the latest
kernels. Since there is a significant cost in continuing to
test and fix the special cases for nommu support overall, I
would prefer to draw the line at S5L8720 support and not merge
S5L8702 or earlier.

      Arnd

  reply	other threads:[~2025-10-02 23:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-25 21:33 Franz-Josef Haider
2025-09-30 12:09 ` Linus Walleij
2025-10-01 16:04   ` Franz-Josef Haider
2025-10-01 19:14     ` Linus Walleij
2025-10-01 20:52     ` Arnd Bergmann
2025-10-02 15:34       ` Franz-Josef Haider
2025-10-02 23:02         ` Arnd Bergmann [this message]
2025-10-24 13:51           ` Franz-Josef Haider

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=7d0b68d4-6798-43a5-a6ca-99807bc183c5@app.fastmail.com \
    --to=arnd@arndb.de \
    --cc=ardb@kernel.org \
    --cc=dave@vasilevsky.ca \
    --cc=ebiggers@kernel.org \
    --cc=fj.haider@outlook.com \
    --cc=kees@kernel.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=nathan@kernel.org \
    --cc=rmk+kernel@armlinux.org.uk \
    --cc=rostedt@goodmis.org \
    --cc=trivial@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®