Thread (22 messages) 22 messages, 5 authors, 18d ago

Re: [PATCH v3 12/13] arm64: Kbuild: Remove vestigial big-endian support

flat view

From: Will Deacon <will@kernel.org>
Date: 2026-09-22 15:10:37
Also in: lkml

On Mon, Sep 21, 2026 at 11:24:36AM +0100, Catalin Marinas wrote:
On Fri, Sep 18, 2026 at 03:52:14PM +0100, Will Deacon wrote:
quoted
-choice
-	prompt "Endianness"
-	default CPU_LITTLE_ENDIAN
-	help
-	  Select the endianness of data accesses performed by the CPU. Userspace
-	  applications will need to be compiled and linked for the endianness
-	  that is selected here.
-
-config CPU_BIG_ENDIAN
-	bool "Build big-endian kernel"
-	depends on BROKEN
-	help
-	  Say Y if you plan on running a kernel with a big-endian userspace.
-
-config CPU_LITTLE_ENDIAN
-	bool "Build little-endian kernel"
-	help
-	  Say Y if you plan on running a kernel with a little-endian userspace.
-	  This is usually the case for distributions targeting arm64.
Running the checks through an LLM found that CONFIG_GVE depends on
X86 || CPU_LITTLE_ENDIAN, so it won't be enabled anymore.

I think that's the only positive test of CPU_LITTLE_ENDIAN.
Would you like me to add a '|| arm64' in there? I was a bit wary of doing
so, given that I don't have a way to test it. Removing CPU_LITTLE_ENDIAN
forces the issue, somewhat.

Will
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help