All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: Kconfig: CPU_BIG_ENDIAN depends on !LD_IS_LLD
@ 2020-11-09 22:47 ` Nick Desaulniers
  0 siblings, 0 replies; 4+ messages in thread
From: Nick Desaulniers @ 2020-11-09 22:47 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: Fangrui Song, Jian Cai, Peter Smith, Nick Desaulniers,
	Russell King, Vincenzo Frascino, Thomas Gleixner,
	linux-arm-kernel, linux-kernel

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>
---
 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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] ARM: Kconfig: CPU_BIG_ENDIAN depends on !LD_IS_LLD
@ 2020-11-09 22:47 ` Nick Desaulniers
  0 siblings, 0 replies; 4+ messages in thread
From: Nick Desaulniers @ 2020-11-09 22:47 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: Fangrui Song, linux-kernel, Nick Desaulniers, Russell King,
	Peter Smith, Jian Cai, Vincenzo Frascino, Thomas Gleixner,
	linux-arm-kernel

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>
---
 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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARM: Kconfig: CPU_BIG_ENDIAN depends on !LD_IS_LLD
  2020-11-09 22:47 ` Nick Desaulniers
@ 2020-11-10  1:34   ` Nathan Chancellor
  -1 siblings, 0 replies; 4+ messages in thread
From: Nathan Chancellor @ 2020-11-10  1:34 UTC (permalink / raw)
  To: Nick Desaulniers
  Cc: Arnd Bergmann, Fangrui Song, Jian Cai, Peter Smith, Russell King,
	Vincenzo Frascino, Thomas Gleixner, linux-arm-kernel,
	linux-kernel, clang-built-linux

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
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARM: Kconfig: CPU_BIG_ENDIAN depends on !LD_IS_LLD
@ 2020-11-10  1:34   ` Nathan Chancellor
  0 siblings, 0 replies; 4+ messages in thread
From: Nathan Chancellor @ 2020-11-10  1:34 UTC (permalink / raw)
  To: Nick Desaulniers
  Cc: Arnd Bergmann, Fangrui Song, linux-kernel, Russell King,
	Peter Smith, clang-built-linux, Jian Cai, Vincenzo Frascino,
	Thomas Gleixner, linux-arm-kernel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-11-10  1:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-09 22:47 [PATCH] ARM: Kconfig: CPU_BIG_ENDIAN depends on !LD_IS_LLD Nick Desaulniers
2020-11-09 22:47 ` Nick Desaulniers
2020-11-10  1:34 ` Nathan Chancellor
2020-11-10  1:34   ` Nathan Chancellor

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.