public inbox for linux-next@vger.kernel.org
 help / color / mirror / Atom feed
* linux-next: manual merge of the kbuild tree with Lnus' tree
@ 2025-09-08  3:49 Stephen Rothwell
  2025-09-08 15:34 ` Nathan Chancellor
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2025-09-08  3:49 UTC (permalink / raw)
  To: Nathan Chancellor, Nicolas Schier, KBuild Mailing List
  Cc: Linux Kernel Mailing List, Linux Next Mailing List, Paul Walmsley

[-- Attachment #1: Type: text/plain, Size: 1544 bytes --]

Hi all,

Today's linux-next merge of the kbuild tree got a conflict in:

  arch/riscv/Kconfig

between commit:

  41f9049cff32 ("riscv: Only allow LTO with CMODEL_MEDANY")

from Lnus' tree and commit:

  6578a1ff6aa4 ("riscv: Remove version check for LTO_CLANG selects")

from the kbuild tree.

I fixed it up (I think - see below) and can carry the fix as necessary.
This is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging.  You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.

-- 
Cheers,
Stephen Rothwell

diff --cc arch/riscv/Kconfig
index 51dcd8eaa243,850ba4b4b534..000000000000
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@@ -64,9 -64,8 +64,8 @@@ config RISC
  	select ARCH_SUPPORTS_DEBUG_PAGEALLOC if MMU
  	select ARCH_SUPPORTS_HUGE_PFNMAP if TRANSPARENT_HUGEPAGE
  	select ARCH_SUPPORTS_HUGETLBFS if MMU
- 	# LLD >= 14: https://github.com/llvm/llvm-project/issues/50505
- 	select ARCH_SUPPORTS_LTO_CLANG if LLD_VERSION >= 140000 && CMODEL_MEDANY
- 	select ARCH_SUPPORTS_LTO_CLANG_THIN if LLD_VERSION >= 140000
 -	select ARCH_SUPPORTS_LTO_CLANG
++	select ARCH_SUPPORTS_LTO_CLANG if CMODEL_MEDANY
+ 	select ARCH_SUPPORTS_LTO_CLANG_THIN
  	select ARCH_SUPPORTS_MSEAL_SYSTEM_MAPPINGS if 64BIT && MMU
  	select ARCH_SUPPORTS_PAGE_TABLE_CHECK if MMU
  	select ARCH_SUPPORTS_PER_VMA_LOCK if MMU

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: linux-next: manual merge of the kbuild tree with Lnus' tree
  2025-09-08  3:49 linux-next: manual merge of the kbuild tree with Lnus' tree Stephen Rothwell
@ 2025-09-08 15:34 ` Nathan Chancellor
  0 siblings, 0 replies; 2+ messages in thread
From: Nathan Chancellor @ 2025-09-08 15:34 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Nicolas Schier, KBuild Mailing List, Linux Kernel Mailing List,
	Linux Next Mailing List, Paul Walmsley

Hi Stephen,

On Mon, Sep 08, 2025 at 01:49:13PM +1000, Stephen Rothwell wrote:
> Today's linux-next merge of the kbuild tree got a conflict in:
> 
>   arch/riscv/Kconfig
> 
> between commit:
> 
>   41f9049cff32 ("riscv: Only allow LTO with CMODEL_MEDANY")
> 
> from Lnus' tree and commit:
> 
>   6578a1ff6aa4 ("riscv: Remove version check for LTO_CLANG selects")
> 
> from the kbuild tree.
> 
> I fixed it up (I think - see below) and can carry the fix as necessary.

Yes, this looks correct to me, thanks! I will make sure to mention it to
Linus if I do not need to backmerge his tree before the 6.18 Kbuild pull
request.

> This is now fixed as far as linux-next is concerned, but any non trivial
> conflicts should be mentioned to your upstream maintainer when your tree
> is submitted for merging.  You may also want to consider cooperating
> with the maintainer of the conflicting tree to minimise any particularly
> complex conflicts.
> 
> -- 
> Cheers,
> Stephen Rothwell
> 
> diff --cc arch/riscv/Kconfig
> index 51dcd8eaa243,850ba4b4b534..000000000000
> --- a/arch/riscv/Kconfig
> +++ b/arch/riscv/Kconfig
> @@@ -64,9 -64,8 +64,8 @@@ config RISC
>   	select ARCH_SUPPORTS_DEBUG_PAGEALLOC if MMU
>   	select ARCH_SUPPORTS_HUGE_PFNMAP if TRANSPARENT_HUGEPAGE
>   	select ARCH_SUPPORTS_HUGETLBFS if MMU
> - 	# LLD >= 14: https://github.com/llvm/llvm-project/issues/50505
> - 	select ARCH_SUPPORTS_LTO_CLANG if LLD_VERSION >= 140000 && CMODEL_MEDANY
> - 	select ARCH_SUPPORTS_LTO_CLANG_THIN if LLD_VERSION >= 140000
>  -	select ARCH_SUPPORTS_LTO_CLANG
> ++	select ARCH_SUPPORTS_LTO_CLANG if CMODEL_MEDANY
> + 	select ARCH_SUPPORTS_LTO_CLANG_THIN
>   	select ARCH_SUPPORTS_MSEAL_SYSTEM_MAPPINGS if 64BIT && MMU
>   	select ARCH_SUPPORTS_PAGE_TABLE_CHECK if MMU
>   	select ARCH_SUPPORTS_PER_VMA_LOCK if MMU



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

end of thread, other threads:[~2025-09-08 15:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-08  3:49 linux-next: manual merge of the kbuild tree with Lnus' tree Stephen Rothwell
2025-09-08 15:34 ` Nathan Chancellor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox