From: Nathan Chancellor <natechancellor@gmail.com>
To: Nick Desaulniers <ndesaulniers@google.com>
Cc: Arnd Bergmann <arnd@kernel.org>,
Fangrui Song <maskray@google.com>,
linux-kernel@vger.kernel.org,
Russell King <linux@armlinux.org.uk>,
Peter Smith <peter.smith@arm.com>,
clang-built-linux@googlegroups.com, Jian Cai <jiancai@google.com>,
Vincenzo Frascino <vincenzo.frascino@arm.com>,
Thomas Gleixner <tglx@linutronix.de>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] ARM: Kconfig: CPU_BIG_ENDIAN depends on !LD_IS_LLD
Date: Mon, 9 Nov 2020 18:34:19 -0700 [thread overview]
Message-ID: <20201110013419.GA2443932@ubuntu-m3-large-x86> (raw)
In-Reply-To: <20201109224713.16308-1-ndesaulniers@google.com>
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@google.com>
I tested allyesconfig, allmodconfig, and about ten to fifteen
randconfigs and never saw CONFIG_CPU_BIG_ENDIAN appear.
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Tested-by: Nathan Chancellor <natechancellor@gmail.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
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
prev parent reply other threads:[~2020-11-10 1:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-09 22:47 [PATCH] ARM: Kconfig: CPU_BIG_ENDIAN depends on !LD_IS_LLD Nick Desaulniers
2020-11-10 1:34 ` Nathan Chancellor [this message]
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=20201110013419.GA2443932@ubuntu-m3-large-x86 \
--to=natechancellor@gmail.com \
--cc=arnd@kernel.org \
--cc=clang-built-linux@googlegroups.com \
--cc=jiancai@google.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=maskray@google.com \
--cc=ndesaulniers@google.com \
--cc=peter.smith@arm.com \
--cc=tglx@linutronix.de \
--cc=vincenzo.frascino@arm.com \
/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