linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: manual merge of the nvdimm tree with the powerpc tree
@ 2022-03-15  8:15 Stephen Rothwell
  2022-03-15 11:04 ` Michael Ellerman
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Stephen Rothwell @ 2022-03-15  8:15 UTC (permalink / raw)
  To: Dan Williams, Michael Ellerman, PowerPC
  Cc: Kajol Jain, Linux Kernel Mailing List, Linux Next Mailing List,
	Shivaprasad G Bhat, Vaibhav Jain

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

Hi all,

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

  arch/powerpc/platforms/pseries/papr_scm.c

between commit:

  bbbca72352bb ("powerpc/papr_scm: Implement initial support for injecting smart errors")

from the powerpc tree and commit:

  4c08d4bbc089 ("powerpc/papr_scm: Add perf interface support")

from the nvdimm 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.

-- 
Cheers,
Stephen Rothwell

diff --cc arch/powerpc/platforms/pseries/papr_scm.c
index 1238b94b3cc1,4dd513d7c029..000000000000
--- a/arch/powerpc/platforms/pseries/papr_scm.c
+++ b/arch/powerpc/platforms/pseries/papr_scm.c
@@@ -121,9 -124,8 +124,11 @@@ struct papr_scm_priv 
  	/* length of the stat buffer as expected by phyp */
  	size_t stat_buffer_len;
  
 +	/* The bits which needs to be overridden */
 +	u64 health_bitmap_inject_mask;
 +
+ 	 /* array to have event_code and stat_id mappings */
+ 	char **nvdimm_events_map;
  };
  
  static int papr_scm_pmem_flush(struct nd_region *nd_region,

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

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

* Re: linux-next: manual merge of the nvdimm tree with the powerpc tree
  2022-03-15  8:15 linux-next: manual merge of the nvdimm tree with the powerpc tree Stephen Rothwell
@ 2022-03-15 11:04 ` Michael Ellerman
  2022-03-15 14:55   ` Dan Williams
  2022-03-15 13:48 ` kajoljain
  2022-03-15 17:25 ` Vaibhav Jain
  2 siblings, 1 reply; 8+ messages in thread
From: Michael Ellerman @ 2022-03-15 11:04 UTC (permalink / raw)
  To: Stephen Rothwell, Dan Williams, PowerPC
  Cc: Kajol Jain, Linux Kernel Mailing List, Linux Next Mailing List,
	Shivaprasad G Bhat, Vaibhav Jain

Stephen Rothwell <sfr@canb.auug.org.au> writes:
> Hi all,
>
> Today's linux-next merge of the nvdimm tree got a conflict in:
>
>   arch/powerpc/platforms/pseries/papr_scm.c
>
> between commit:
>
>   bbbca72352bb ("powerpc/papr_scm: Implement initial support for injecting smart errors")
>
> from the powerpc tree and commit:
>
>   4c08d4bbc089 ("powerpc/papr_scm: Add perf interface support")
>
> from the nvdimm 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.

Thanks, resolution looks obviously correct.

Dan, this seems benign to me, I don't think any further action is
required other than mentioning it to Linus. But if you disagree let me
know.

cheers

> diff --cc arch/powerpc/platforms/pseries/papr_scm.c
> index 1238b94b3cc1,4dd513d7c029..000000000000
> --- a/arch/powerpc/platforms/pseries/papr_scm.c
> +++ b/arch/powerpc/platforms/pseries/papr_scm.c
> @@@ -121,9 -124,8 +124,11 @@@ struct papr_scm_priv 
>   	/* length of the stat buffer as expected by phyp */
>   	size_t stat_buffer_len;
>   
>  +	/* The bits which needs to be overridden */
>  +	u64 health_bitmap_inject_mask;
>  +
> + 	 /* array to have event_code and stat_id mappings */
> + 	char **nvdimm_events_map;
>   };
>   
>   static int papr_scm_pmem_flush(struct nd_region *nd_region,

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

* Re: linux-next: manual merge of the nvdimm tree with the powerpc tree
  2022-03-15  8:15 linux-next: manual merge of the nvdimm tree with the powerpc tree Stephen Rothwell
  2022-03-15 11:04 ` Michael Ellerman
@ 2022-03-15 13:48 ` kajoljain
  2022-03-15 17:25 ` Vaibhav Jain
  2 siblings, 0 replies; 8+ messages in thread
From: kajoljain @ 2022-03-15 13:48 UTC (permalink / raw)
  To: Stephen Rothwell, Dan Williams, Michael Ellerman, PowerPC
  Cc: Linux Kernel Mailing List, Linux Next Mailing List,
	Shivaprasad G Bhat, Vaibhav Jain



On 3/15/22 13:45, Stephen Rothwell wrote:
> Hi all,
> 
> Today's linux-next merge of the nvdimm tree got a conflict in:
> 
>   arch/powerpc/platforms/pseries/papr_scm.c
> 
> between commit:
> 
>   bbbca72352bb ("powerpc/papr_scm: Implement initial support for injecting smart errors")
> 
> from the powerpc tree and commit:
> 
>   4c08d4bbc089 ("powerpc/papr_scm: Add perf interface support")
> 
> from the nvdimm 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.
> 

Hi Stephan,
         The change for resolving merged trees issue looks good to me. I
also tested the latest linux-next tree - master branch with
next-20220315 changes and the papr_scm perf interface is working as
expected. Thanks for correcting it.

Thanks,
Kajol Jain

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

* Re: linux-next: manual merge of the nvdimm tree with the powerpc tree
  2022-03-15 11:04 ` Michael Ellerman
@ 2022-03-15 14:55   ` Dan Williams
  0 siblings, 0 replies; 8+ messages in thread
From: Dan Williams @ 2022-03-15 14:55 UTC (permalink / raw)
  To: Michael Ellerman
  Cc: Stephen Rothwell, PowerPC, Kajol Jain, Linux Kernel Mailing List,
	Linux Next Mailing List, Shivaprasad G Bhat, Vaibhav Jain

On Tue, Mar 15, 2022 at 4:21 AM Michael Ellerman <mpe@ellerman.id.au> wrote:
>
> Stephen Rothwell <sfr@canb.auug.org.au> writes:
> > Hi all,
> >
> > Today's linux-next merge of the nvdimm tree got a conflict in:
> >
> >   arch/powerpc/platforms/pseries/papr_scm.c
> >
> > between commit:
> >
> >   bbbca72352bb ("powerpc/papr_scm: Implement initial support for injecting smart errors")
> >
> > from the powerpc tree and commit:
> >
> >   4c08d4bbc089 ("powerpc/papr_scm: Add perf interface support")
> >
> > from the nvdimm 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.
>
> Thanks, resolution looks obviously correct.
>
> Dan, this seems benign to me, I don't think any further action is
> required other than mentioning it to Linus.

Yes, it looks ok to me.

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

* Re: linux-next: manual merge of the nvdimm tree with the powerpc tree
  2022-03-15  8:15 linux-next: manual merge of the nvdimm tree with the powerpc tree Stephen Rothwell
  2022-03-15 11:04 ` Michael Ellerman
  2022-03-15 13:48 ` kajoljain
@ 2022-03-15 17:25 ` Vaibhav Jain
  2 siblings, 0 replies; 8+ messages in thread
From: Vaibhav Jain @ 2022-03-15 17:25 UTC (permalink / raw)
  To: Stephen Rothwell, Dan Williams, Michael Ellerman, PowerPC
  Cc: Kajol Jain, Linux Next Mailing List, Linux Kernel Mailing List,
	Shivaprasad G Bhat

Stephen Rothwell <sfr@canb.auug.org.au> writes:

> Hi all,
>
> Today's linux-next merge of the nvdimm tree got a conflict in:
>
>   arch/powerpc/platforms/pseries/papr_scm.c
>
> between commit:
>
>   bbbca72352bb ("powerpc/papr_scm: Implement initial support for injecting smart errors")
>
> from the powerpc tree and commit:
>
>   4c08d4bbc089 ("powerpc/papr_scm: Add perf interface support")
>
> from the nvdimm 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.

Thanks for this correction Stephen and the change looks ok to me. I
verified the functionality introduced by kernel commit bbbca72352bb
("powerpc/papr_scm: Implement initial support for injecting smart
errors") on the 'next-20220315' and found it to be working fine.

<snip>

-- 
Cheers
~ Vaibhav

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

* Re: linux-next: manual merge of the nvdimm tree with the powerpc tree
  2018-01-29  6:04 Stephen Rothwell
@ 2018-01-29 22:49 ` Dan Williams
  0 siblings, 0 replies; 8+ messages in thread
From: Dan Williams @ 2018-01-29 22:49 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Michael Ellerman, Benjamin Herrenschmidt, PowerPC,
	Linux-Next Mailing List, Linux Kernel Mailing List

On Sun, Jan 28, 2018 at 10:04 PM, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> Hi Dan,
>
> Today's linux-next merge of the nvdimm tree got a conflict in:
>
>   arch/powerpc/sysdev/axonram.c
>
> between commit:
>
>   1d65b1c886be ("powerpc/cell: Remove axonram driver")
>
> from the powerpc tree and commit:
>
>   785a3fab4adb ("mm, dax: introduce pfn_t_special()")
>
> from the nvdimm tree.
>
> I fixed it up (I just removed the file) 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.

Thanks Stephen, resolution looks good to me.

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

* linux-next: manual merge of the nvdimm tree with the powerpc tree
@ 2018-01-29  6:04 Stephen Rothwell
  2018-01-29 22:49 ` Dan Williams
  0 siblings, 1 reply; 8+ messages in thread
From: Stephen Rothwell @ 2018-01-29  6:04 UTC (permalink / raw)
  To: Dan Williams, Michael Ellerman, Benjamin Herrenschmidt, PowerPC
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List

Hi Dan,

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

  arch/powerpc/sysdev/axonram.c

between commit:

  1d65b1c886be ("powerpc/cell: Remove axonram driver")

from the powerpc tree and commit:

  785a3fab4adb ("mm, dax: introduce pfn_t_special()")

from the nvdimm tree.

I fixed it up (I just removed the file) 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

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

* linux-next: manual merge of the nvdimm tree with the powerpc tree
@ 2018-01-29  6:01 Stephen Rothwell
  0 siblings, 0 replies; 8+ messages in thread
From: Stephen Rothwell @ 2018-01-29  6:01 UTC (permalink / raw)
  To: Dan Williams, Michael Ellerman, Benjamin Herrenschmidt, PowerPC
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List

Hi Dan,

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

  arch/powerpc/platforms/Kconfig

between commit:

  1d65b1c886be ("powerpc/cell: Remove axonram driver")

from the powerpc tree and commit:

  569d0365f571 ("dax: require 'struct page' by default for filesystem dax")

from the nvdimm tree.

I fixed it up (I just used the former version) 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

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

end of thread, other threads:[~2022-03-15 17:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-15  8:15 linux-next: manual merge of the nvdimm tree with the powerpc tree Stephen Rothwell
2022-03-15 11:04 ` Michael Ellerman
2022-03-15 14:55   ` Dan Williams
2022-03-15 13:48 ` kajoljain
2022-03-15 17:25 ` Vaibhav Jain
  -- strict thread matches above, loose matches on Subject: below --
2018-01-29  6:04 Stephen Rothwell
2018-01-29 22:49 ` Dan Williams
2018-01-29  6:01 Stephen Rothwell

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