linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: manual merge of the rcu tree with the risc-v tree
@ 2024-04-15  2:32 Stephen Rothwell
  2024-04-15  4:44 ` Paul E. McKenney
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Rothwell @ 2024-04-15  2:32 UTC (permalink / raw)
  To: Paul E. McKenney, Palmer Dabbelt, Paul Walmsley
  Cc: Leonardo Bras, Linux Kernel Mailing List,
	Linux Next Mailing List, Palmer Dabbelt, Yujie Liu

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

Hi all,

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

  arch/riscv/include/asm/cmpxchg.h

between commits:

  07a0a41cb77d ("riscv/cmpxchg: Deduplicate cmpxchg() asm and macros")
  54280ca64626 ("riscv/cmpxchg: Implement cmpxchg for variables of size 1 and 2")

from the risc-v tree and commit:

  b5e49f1af563 ("riscv: Emulate one-byte cmpxchg")

from the rcu tree.

I fixed it up (I just used the former as the latter seems to no longer be
needed - I also undid the change to arch/riscv/Kconfig from the latter)
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

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

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

* Re: linux-next: manual merge of the rcu tree with the risc-v tree
  2024-04-15  2:32 linux-next: manual merge of the rcu tree with the risc-v tree Stephen Rothwell
@ 2024-04-15  4:44 ` Paul E. McKenney
  2024-04-15 18:20   ` Palmer Dabbelt
  0 siblings, 1 reply; 4+ messages in thread
From: Paul E. McKenney @ 2024-04-15  4:44 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Palmer Dabbelt, Paul Walmsley, Leonardo Bras,
	Linux Kernel Mailing List, Linux Next Mailing List,
	Palmer Dabbelt, Yujie Liu

On Mon, Apr 15, 2024 at 12:32:47PM +1000, Stephen Rothwell wrote:
> Hi all,
> 
> Today's linux-next merge of the rcu tree got a conflict in:
> 
>   arch/riscv/include/asm/cmpxchg.h
> 
> between commits:
> 
>   07a0a41cb77d ("riscv/cmpxchg: Deduplicate cmpxchg() asm and macros")
>   54280ca64626 ("riscv/cmpxchg: Implement cmpxchg for variables of size 1 and 2")
> 
> from the risc-v tree and commit:
> 
>   b5e49f1af563 ("riscv: Emulate one-byte cmpxchg")
> 
> from the rcu tree.
> 
> I fixed it up (I just used the former as the latter seems to no longer be
> needed - I also undid the change to arch/riscv/Kconfig from the latter)
> 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.

Agreed, it looks to me like I should drop my RISC-V change in favor of
the native support.  Please let me know if I am mistaken.

If I do not hear otherwise, I will pull my commit out of -next in favor
of those two on my next rebase.

							Thanx, Paul

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

* Re: linux-next: manual merge of the rcu tree with the risc-v tree
  2024-04-15  4:44 ` Paul E. McKenney
@ 2024-04-15 18:20   ` Palmer Dabbelt
  2024-04-15 21:20     ` Paul E. McKenney
  0 siblings, 1 reply; 4+ messages in thread
From: Palmer Dabbelt @ 2024-04-15 18:20 UTC (permalink / raw)
  To: paulmck
  Cc: Stephen Rothwell, Paul Walmsley, leobras, linux-kernel,
	linux-next, yujie.liu

On Sun, 14 Apr 2024 21:44:10 PDT (-0700), paulmck@kernel.org wrote:
> On Mon, Apr 15, 2024 at 12:32:47PM +1000, Stephen Rothwell wrote:
>> Hi all,
>>
>> Today's linux-next merge of the rcu tree got a conflict in:
>>
>>   arch/riscv/include/asm/cmpxchg.h
>>
>> between commits:
>>
>>   07a0a41cb77d ("riscv/cmpxchg: Deduplicate cmpxchg() asm and macros")
>>   54280ca64626 ("riscv/cmpxchg: Implement cmpxchg for variables of size 1 and 2")
>>
>> from the risc-v tree and commit:
>>
>>   b5e49f1af563 ("riscv: Emulate one-byte cmpxchg")
>>
>> from the rcu tree.
>>
>> I fixed it up (I just used the former as the latter seems to no longer be
>> needed - I also undid the change to arch/riscv/Kconfig from the latter)
>> 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.
>
> Agreed, it looks to me like I should drop my RISC-V change in favor of
> the native support.  Please let me know if I am mistaken.
>
> If I do not hear otherwise, I will pull my commit out of -next in favor
> of those two on my next rebase.

Sorry I forgot to send the shared tag.  We can pre-merge if you want, 
I'm fine either way just let me know.

>
> 							Thanx, Paul

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

* Re: linux-next: manual merge of the rcu tree with the risc-v tree
  2024-04-15 18:20   ` Palmer Dabbelt
@ 2024-04-15 21:20     ` Paul E. McKenney
  0 siblings, 0 replies; 4+ messages in thread
From: Paul E. McKenney @ 2024-04-15 21:20 UTC (permalink / raw)
  To: Palmer Dabbelt
  Cc: Stephen Rothwell, Paul Walmsley, leobras, linux-kernel,
	linux-next, yujie.liu

On Mon, Apr 15, 2024 at 11:20:00AM -0700, Palmer Dabbelt wrote:
> On Sun, 14 Apr 2024 21:44:10 PDT (-0700), paulmck@kernel.org wrote:
> > On Mon, Apr 15, 2024 at 12:32:47PM +1000, Stephen Rothwell wrote:
> > > Hi all,
> > > 
> > > Today's linux-next merge of the rcu tree got a conflict in:
> > > 
> > >   arch/riscv/include/asm/cmpxchg.h
> > > 
> > > between commits:
> > > 
> > >   07a0a41cb77d ("riscv/cmpxchg: Deduplicate cmpxchg() asm and macros")
> > >   54280ca64626 ("riscv/cmpxchg: Implement cmpxchg for variables of size 1 and 2")
> > > 
> > > from the risc-v tree and commit:
> > > 
> > >   b5e49f1af563 ("riscv: Emulate one-byte cmpxchg")
> > > 
> > > from the rcu tree.
> > > 
> > > I fixed it up (I just used the former as the latter seems to no longer be
> > > needed - I also undid the change to arch/riscv/Kconfig from the latter)
> > > 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.
> > 
> > Agreed, it looks to me like I should drop my RISC-V change in favor of
> > the native support.  Please let me know if I am mistaken.
> > 
> > If I do not hear otherwise, I will pull my commit out of -next in favor
> > of those two on my next rebase.
> 
> Sorry I forgot to send the shared tag.  We can pre-merge if you want, I'm
> fine either way just let me know.

Not a problem!  I will just keep it in -rcu for my testing, but such
that it does not go to -next.

							Thanx, Paul

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

end of thread, other threads:[~2024-04-15 21:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-15  2:32 linux-next: manual merge of the rcu tree with the risc-v tree Stephen Rothwell
2024-04-15  4:44 ` Paul E. McKenney
2024-04-15 18:20   ` Palmer Dabbelt
2024-04-15 21:20     ` Paul E. McKenney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).