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

Catalin Marinas catalin.marinas at arm.com
Mon Sep 21 03:24:36 PDT 2026


On Fri, Sep 18, 2026 at 03:52:14PM +0100, Will Deacon wrote:
> -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.

-- 
Catalin



More information about the linux-arm-kernel mailing list