[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201110013419.GA2443932@ubuntu-m3-large-x86>
Date: Mon, 9 Nov 2020 18:34:19 -0700
From: Nathan Chancellor <natechancellor@...il.com>
To: Nick Desaulniers <ndesaulniers@...gle.com>
Cc: Arnd Bergmann <arnd@...nel.org>, Fangrui Song <maskray@...gle.com>,
Jian Cai <jiancai@...gle.com>,
Peter Smith <peter.smith@....com>,
Russell King <linux@...linux.org.uk>,
Vincenzo Frascino <vincenzo.frascino@....com>,
Thomas Gleixner <tglx@...utronix.de>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
clang-built-linux@...glegroups.com
Subject: Re: [PATCH] ARM: Kconfig: CPU_BIG_ENDIAN depends on !LD_IS_LLD
On Mon, Nov 09, 2020 at 02:47:12PM -0800, Nick Desaulniers wrote:
> LLD does not yet support any big endian architectures. Make this config
> non-selectable when using LLD until LLD is fixed.
>
> Link: https://github.com/ClangBuiltLinux/linux/issues/965
> Signed-off-by: Nick Desaulniers <ndesaulniers@...gle.com>
I tested allyesconfig, allmodconfig, and about ten to fifteen
randconfigs and never saw CONFIG_CPU_BIG_ENDIAN appear.
Reviewed-by: Nathan Chancellor <natechancellor@...il.com>
Tested-by: Nathan Chancellor <natechancellor@...il.com>
> ---
> arch/arm/mm/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig
> index 65e4482e3849..02692fbe2db5 100644
> --- a/arch/arm/mm/Kconfig
> +++ b/arch/arm/mm/Kconfig
> @@ -743,6 +743,7 @@ config SWP_EMULATE
> config CPU_BIG_ENDIAN
> bool "Build big-endian kernel"
> depends on ARCH_SUPPORTS_BIG_ENDIAN
> + depends on !LD_IS_LLD
> help
> Say Y if you plan on running a kernel in big-endian mode.
> Note that your board must be properly built and your board
> --
> 2.29.2.222.g5d2a92d10f8-goog
>
Powered by blists - more mailing lists