Re: [PATCH v2 06/19] ARM: mark CPU_ENDIAN_BE8 as deprecated
From: Linus Walleij
Date: Fri Jul 03 2026 - 16:29:55 EST
Hi Arnd,
thanks for your patch!
On Wed, Jul 1, 2026 at 11:25 PM Arnd Bergmann <arnd@xxxxxxxxxx> wrote:
> config CPU_BIG_ENDIAN
> - bool "Build big-endian kernel"
> + bool "Build big-endian kernel (DEPRECATED)"
I'm not so sure about this patch because it will look like IXP4XX is
using a deprecated feature. The IXP4xx actually has many OpenWrt
users.
As mentioned on IRC I tried *very* hard to boot IXP4xx in LE mode,
by adding some code to the kernel to force-switch to LE but failed:
the bit in cp15 can be cleared for sure but after this the machine
nevertheless stays in BE mode.
If someone has done this successfully and can tell of magic tricks
I'm all ears...
> + depends on ARCH_MULTI_V5 || BROKEN
... but this is all fine.
Yours,
Linus Walleij