Skip to contentSkip to conversation

linux-next: manual merge of the pidfd tree with the risc-v tree

DISCUSSION Stephen Rothwell 2 participants 4 messages Jul 13, 2020 – Aug 5, 2020 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

arch/riscv/Kconfig

between commit:

95ce6c73da3b ("riscv: Enable context tracking")
929f6a183839 ("riscv: Add kmemleak support")

from the risc-v tree and commit:

140c8180eb7c ("arch: remove HAVE_COPY_THREAD_TLS")

from the pidfd tree.

I fixed it up (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.

Signature · 17 lines
Cheers,
Stephen Rothwell

diff --cc arch/riscv/Kconfig
index 76a0cfad3367,f6a3a2bea3d8..000000000000
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@@ -57,9 -52,6 +57,8 @@@ config RISC
  	select HAVE_ARCH_SECCOMP_FILTER
  	select HAVE_ARCH_TRACEHOOK
  	select HAVE_ASM_MODVERSIONS
 +	select HAVE_CONTEXT_TRACKING
- 	select HAVE_COPY_THREAD_TLS
 +	select HAVE_DEBUG_KMEMLEAK
  	select HAVE_DMA_CONTIGUOUS if MMU
  	select HAVE_EBPF_JIT if MMU
  	select HAVE_FUTEX_CMPXCHG if FUTEX
#1 lore raw

Hi all,

Quoted 28 lines · On Mon, 13 Jul 2020 16:58:46 +1000 Stephen Rothwell <[email protected]>…

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

arch/riscv/Kconfig

between commit:

95ce6c73da3b ("riscv: Enable context tracking")
929f6a183839 ("riscv: Add kmemleak support")

from the risc-v tree and commit:

140c8180eb7c ("arch: remove HAVE_COPY_THREAD_TLS")

from the pidfd tree.

I fixed it up (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.

arch/riscv/Kconfig +0 -0
diff --cc arch/riscv/Kconfig
index 76a0cfad3367,f6a3a2bea3d8..000000000000

arch/riscv/Kconfig

Quoted 9 lines
arch/riscv/Kconfig +0 -1
@@@ -57,9 -52,6 +57,8 @@@ config RISC
  	select HAVE_ARCH_SECCOMP_FILTER
  	select HAVE_ARCH_TRACEHOOK
  	select HAVE_ASM_MODVERSIONS
 +	select HAVE_CONTEXT_TRACKING
- 	select HAVE_COPY_THREAD_TLS
 +	select HAVE_DEBUG_KMEMLEAK
  	select HAVE_DMA_CONTIGUOUS if MMU
  	select HAVE_EBPF_JIT if MMU
  	select HAVE_FUTEX_CMPXCHG if FUTEX

This is now a conflict between the risc-v tree and Linus' tree.

Signature · 2 lines
Cheers,
Stephen Rothwell
#2 lore raw
Quoted 26 lines · Stephen Rothwell

Hi all,

Quoted 23 lines · On Mon, 13 Jul 2020 16:58:46 +1000 Stephen Rothwell <[email protected]>…

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

arch/riscv/Kconfig

between commit:

95ce6c73da3b ("riscv: Enable context tracking")
929f6a183839 ("riscv: Add kmemleak support")

from the risc-v tree and commit:

140c8180eb7c ("arch: remove HAVE_COPY_THREAD_TLS")

from the pidfd tree.

I fixed it up (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.

Quoted 16 lines
Quoted 5 lines
arch/riscv/Kconfig +0 -0
diff --cc arch/riscv/Kconfig
index 76a0cfad3367,f6a3a2bea3d8..000000000000

arch/riscv/Kconfig

Quoted 9 lines
arch/riscv/Kconfig +0 -1
@@@ -57,9 -52,6 +57,8 @@@ config RISC
  	select HAVE_ARCH_SECCOMP_FILTER
  	select HAVE_ARCH_TRACEHOOK
  	select HAVE_ASM_MODVERSIONS
 +	select HAVE_CONTEXT_TRACKING
- 	select HAVE_COPY_THREAD_TLS
 +	select HAVE_DEBUG_KMEMLEAK
  	select HAVE_DMA_CONTIGUOUS if MMU
  	select HAVE_EBPF_JIT if MMU
  	select HAVE_FUTEX_CMPXCHG if FUTEX

This is now a conflict between the risc-v tree and Linus' tree.

Thanks. I'd just pulled in some stuff and was intending on sending a PR to Linus tomorrow (we've got some autobuilders that run overnight that I like to give a crack at the actual commit before I send anything). For this one I think the best bet is to just mention it to Linus as a conflict to be fixed -- the only other thing I can think of would be to rebase my tree, which seems worse at this point.

LMK if anyone has a better idea, otherwise I'll send it out.

#3 lore raw

Hi Palmer,

Quoted 18 lines · On Tue, 04 Aug 2020 18:17:35 -0700 (PDT) Palmer Dabbelt <[email protected]>…
Quoted 17 lines
Quoted 6 lines
arch/riscv/Kconfig +0 -0
diff --cc arch/riscv/Kconfig
index 76a0cfad3367,f6a3a2bea3d8..000000000000

arch/riscv/Kconfig

Quoted 9 lines
arch/riscv/Kconfig +0 -1
@@@ -57,9 -52,6 +57,8 @@@ config RISC
  	select HAVE_ARCH_SECCOMP_FILTER
  	select HAVE_ARCH_TRACEHOOK
  	select HAVE_ASM_MODVERSIONS
 +	select HAVE_CONTEXT_TRACKING
- 	select HAVE_COPY_THREAD_TLS
 +	select HAVE_DEBUG_KMEMLEAK
  	select HAVE_DMA_CONTIGUOUS if MMU
  	select HAVE_EBPF_JIT if MMU
  	select HAVE_FUTEX_CMPXCHG if FUTEX  

This is now a conflict between the risc-v tree and Linus' tree.

Quoted 6 lines

Thanks. I'd just pulled in some stuff and was intending on sending a PR to Linus tomorrow (we've got some autobuilders that run overnight that I like to give a crack at the actual commit before I send anything). For this one I think the best bet is to just mention it to Linus as a conflict to be fixed -- the only other thing I can think of would be to rebase my tree, which seems worse at this point.

Its pretty trivial, just mention it.

Signature · 2 lines
Cheers,
Stephen Rothwell