Skip to contentSkip to conversation

linux-next: manual merge of the drivers-x86 tree with the watchdog tree

DISCUSSION Stephen Rothwell 5 participants 10 messages May 2, 2017 – May 3, 2017 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

drivers/watchdog/iTCO_wdt.c

between commit:

38a700fa1df9 ("watchdog: iTCO_wdt: cleanup set/unset no_reboot_bit functions")
(which also appears in the drivers-x86 tree as commit f583a884afec)

from the watchdog tree and commit:

140c91b26ebc ("watchdog: iTCO_wdt: Add PMC specific noreboot update api")

from the drivers-x86 tree.

I fixed it up 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 · 2 lines
Cheers,
Stephen Rothwell
Acked-by Guenter Roeck
#1 lore raw
Quoted 11 lines · Stephen Rothwell

Hi all,

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

drivers/watchdog/iTCO_wdt.c

between commit:

38a700fa1df9 ("watchdog: iTCO_wdt: cleanup set/unset no_reboot_bit functions")
(which also appears in the drivers-x86 tree as commit f583a884afec)

Andy and Guenter, I presume the two of you discussed how this patch would get submitted as I see the following in the platform driver x86 for-next branch:

for both:

140c91b2 watchdog: iTCO_wdt: Add PMC specific noreboot update api f583a88 watchdog: iTCO_wdt: cleanup set/unset no_reboot_bit functions

This suggests these were deliberately added to our tree and not accidentally included through a rebase without --preserve-merges or something like that.

Guenter, if you prefer/need to submit this through your tree, can you provide us with an immutable branch to merge for the dependencies of our later patches? If you can drop these two patches without a dependency problem in your tree, that would be the cleanest solution as we could avoid an additional merge.

Thanks,

Darren

Quoted 16 lines

from the watchdog tree and commit:

140c91b26ebc ("watchdog: iTCO_wdt: Add PMC specific noreboot update api")

from the drivers-x86 tree.

I fixed it up 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 · 2 lines
Cheers,
Stephen Rothwell
Signature · 2 lines
Darren Hart
VMware Open Source Technology Center
#2 lore raw
Quoted 16 lines · Darren Hart
Quoted 11 lines · Stephen Rothwell

Hi all,

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

drivers/watchdog/iTCO_wdt.c

between commit:

38a700fa1df9 ("watchdog: iTCO_wdt: cleanup set/unset no_reboot_bit functions")
(which also appears in the drivers-x86 tree as commit f583a884afec)

Andy and Guenter, I presume the two of you discussed how this patch would get submitted as I see the following in the platform driver x86 for-next branch:

Quoted 8 lines

for both:

140c91b2 watchdog: iTCO_wdt: Add PMC specific noreboot update api f583a88 watchdog: iTCO_wdt: cleanup set/unset no_reboot_bit functions

I did not expect f583a88/38a700fa1df9 to show up in some other tree, sorry. I don't recall discussing how to handle it either, though my memory may defeat me. If so, my apologies.

Quoted 8 lines

This suggests these were deliberately added to our tree and not accidentally included through a rebase without --preserve-merges or something like that.

Guenter, if you prefer/need to submit this through your tree, can you provide us with an immutable branch to merge for the dependencies of our later patches? If you can drop these two patches without a dependency problem in your tree, that would be the cleanest solution as we could avoid an additional merge.

Please check with Wim.

Thanks,
Guenter

Quoted 26 lines

Thanks,

Darren

Quoted 16 lines

from the watchdog tree and commit:

140c91b26ebc ("watchdog: iTCO_wdt: Add PMC specific noreboot update api")

from the drivers-x86 tree.

I fixed it up 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 · 2 lines
Cheers,
Stephen Rothwell
Signature · 2 lines
Darren Hart
VMware Open Source Technology Center
#3 lore raw
Quoted 33 lines · Guenter Roeck
Quoted 16 lines · Darren Hart
Quoted 11 lines · Stephen Rothwell

Hi all,

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

drivers/watchdog/iTCO_wdt.c

between commit:

38a700fa1df9 ("watchdog: iTCO_wdt: cleanup set/unset no_reboot_bit functions")
(which also appears in the drivers-x86 tree as commit f583a884afec)

Andy and Guenter, I presume the two of you discussed how this patch would get submitted as I see the following in the platform driver x86 for-next branch:

Quoted 8 lines

for both:

140c91b2 watchdog: iTCO_wdt: Add PMC specific noreboot update api f583a88 watchdog: iTCO_wdt: cleanup set/unset no_reboot_bit functions

I did not expect f583a88/38a700fa1df9 to show up in some other tree, sorry. I don't recall discussing how to handle it either, though my memory may defeat me. If so, my apologies.

Quoted 3 lines

This suggests these were deliberately added to our tree and not accidentally included through a rebase without --preserve-merges or something like that.

Quoted 7 lines
Quoted 5 lines

Guenter, if you prefer/need to submit this through your tree, can you provide us with an immutable branch to merge for the dependencies of our later patches? If you can drop these two patches without a dependency problem in your tree, that would be the cleanest solution as we could avoid an additional merge.

Please check with Wim.

Thanks Guenter.

Wim, for context, this was a 6 patch series, with 4 patches to the platform driver x86 tree and 2patches to the watchdog tree. The series was reviewed by Guenter and Andy, and in v7 Andy replied that he had pushed the series to testing (the testing branch of the platform driver x86 tree).

https://lkml.org/lkml/2017/4/25/666

Quoted 1 line

From my perspective, the most direct solution would be to drop these two patches

from the watchdog tree and let them go through the platform driver x86 tree with Guenter's Acked-by. If you have additional patches which depend on these two, then if you will provide an immutable branch we can merge, we can do that too (but I try to keep the number of external merges to a minimum - which is becoming increasingly difficult lately for some reason).

Thanks,

Signature · 2 lines
Darren Hart
VMware Open Source Technology Center
#4 lore raw
Quoted 10 lines · Darren Hart
Quoted 2 lines · Guenter Roeck
Quoted 1 line · Darren Hart

On Tue, May 02, 2017 at 02:04:03PM +1000, Stephen Rothwell wrote:

From my perspective, the most direct solution would be to drop these two patches from the watchdog tree and let them go through the platform driver x86 tree with Guenter's Acked-by. If you have additional patches which depend on these two, then if you will provide an immutable branch we can merge, we can do that too (but I try to keep the number of external merges to a minimum - which is becoming increasingly difficult lately for some reason).

Sorry for not being in doubt, I just decided that Ack from Guenter means that default case is to go through PDx86 tree without any additional agreement.

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#5 lore raw
Quoted 12 lines · Andy Shevchenko
Quoted 10 lines · Darren Hart
Quoted 2 lines · Guenter Roeck
Quoted 1 line · Darren Hart

On Tue, May 02, 2017 at 02:04:03PM +1000, Stephen Rothwell wrote:

From my perspective, the most direct solution would be to drop these two patches from the watchdog tree and let them go through the platform driver x86 tree with Guenter's Acked-by. If you have additional patches which depend on these two, then if you will provide an immutable branch we can merge, we can do that too (but I try to keep the number of external merges to a minimum - which is becoming increasingly difficult lately for some reason).

Quoted 3 lines

Sorry for not being in doubt, I just decided that Ack from Guenter means that default case is to go through PDx86 tree without any additional agreement.

I assumed that was the case, yes. I read through the thread and would have thought the same. As Guenter is directing us to Wim, I think the MAINTAINERS file doesn't really capture the logistics of the watchdog maintainer model, as a Reviewed-by from a listed maintainer wouldn't be typical unless they expected someone else to merge it - in this case, I suppose Guenter meant Wim and not us :-)

Signature · 2 lines
Darren Hart
VMware Open Source Technology Center
#6 lore raw
Quoted 13 lines · Darren Hart
Quoted 12 lines · Andy Shevchenko
Quoted 10 lines · Darren Hart
Quoted 2 lines · Guenter Roeck
Quoted 1 line · Darren Hart

On Tue, May 02, 2017 at 02:04:03PM +1000, Stephen Rothwell wrote:

From my perspective, the most direct solution would be to drop these two patches from the watchdog tree and let them go through the platform driver x86 tree with Guenter's Acked-by. If you have additional patches which depend on these two, then if you will provide an immutable branch we can merge, we can do that too (but I try to keep the number of external merges to a minimum - which is becoming increasingly difficult lately for some reason).

Quoted 7 lines
Quoted 3 lines

Sorry for not being in doubt, I just decided that Ack from Guenter means that default case is to go through PDx86 tree without any additional agreement.

I assumed that was the case, yes. I read through the thread and would have thought the same. As Guenter is directing us to Wim, I think the MAINTAINERS file doesn't really capture the logistics of the watchdog maintainer model, as a

Now I am confused. Please apologize my lack of understanding.

I am listed as "Reviewer", not "Maintainer", for watchdog drivers. Please let me know how that does not capture the logistics of the watchdog (or any other) maintainer model, and how to better reflect that I review watchdog patches and Wim, as maintainer, sends them to Linus. I thought that is what "R:" and "M:" is for ?

The only possibly unusual detail is that I maintain a branch with all patches I have reviewed. This branch is picked up by Wim and either accepted as-is or, if he does not agree with some patch, modified accordingly. This branch is not in linux-next and thus not part of any official maintainer model, but exists for convenience and to enable additional testing through 0day and my own test farm.

Quoted 4 lines

Reviewed-by from a listed maintainer wouldn't be typical unless they expected someone else to merge it - in this case, I suppose Guenter meant Wim and not us :-)

You are correct, "Reviewed-by:" typically is intended for Wim, as I thought it would be expected for a designated reviewer. I tend to use "Acked-by:" if I assume or expect that a patch will be picked up by a different maintainer, though I typically add a note saying that this is the case (no idea if I did that here). Is there some different set of tags I should use ?

On a side note, it appears that I tagged "watchdog: iTCO_wdt: cleanup set/unset no_reboot_bit functions" with "Reviewed-by:", not with "Acked-by:".

Thanks,
Guenter

#7 lore raw
Quoted 18 lines · Guenter Roeck
Quoted 17 lines · Darren Hart
Quoted 15 lines · Andy Shevchenko
Quoted 10 lines · Darren Hart
Quoted 2 lines · Guenter Roeck
Quoted 1 line · Darren Hart

On Tue, May 02, 2017 at 02:04:03PM +1000, Stephen Rothwell wrote:

From my perspective, the most direct solution would be to drop these two patches from the watchdog tree and let them go through the platform driver x86 tree with Guenter's Acked-by. If you have additional patches which depend on these two, then if you will provide an immutable branch we can merge, we can do that too (but I try to keep the number of external merges to a minimum - which is becoming increasingly difficult lately for some reason).

Sorry for not being in doubt, I just decided that Ack from Guenter means that default case is to go through PDx86 tree without any additional agreement.

Quoted 7 lines
Quoted 3 lines

I assumed that was the case, yes. I read through the thread and would have thought the same. As Guenter is directing us to Wim, I think the MAINTAINERS file doesn't really capture the logistics of the watchdog maintainer model, as a

Now I am confused. Please apologize my lack of understanding.

I am listed as "Reviewer", not "Maintainer", for watchdog drivers.

:facepalm:

Yes you are, I misread the get_maintainer.pl output ... somehow.

Quoted 4 lines

Please let me know how that does not capture the logistics of the watchdog (or any other) maintainer model, and how to better reflect that I review watchdog patches and Wim, as maintainer, sends them to Linus. I thought that is what "R:" and "M:" is for ?

Nope, it's right, I messed up.

Quoted 13 lines

The only possibly unusual detail is that I maintain a branch with all patches I have reviewed. This branch is picked up by Wim and either accepted as-is or, if he does not agree with some patch, modified accordingly. This branch is not in linux-next and thus not part of any official maintainer model, but exists for convenience and to enable additional testing through 0day and my own test farm.

Quoted 4 lines

Reviewed-by from a listed maintainer wouldn't be typical unless they expected someone else to merge it - in this case, I suppose Guenter meant Wim and not us :-)

Quoted 5 lines

You are correct, "Reviewed-by:" typically is intended for Wim, as I thought it would be expected for a designated reviewer. I tend to use "Acked-by:" if I assume or expect that a patch will be picked up by a different maintainer, though I typically add a note saying that this is the case (no idea if I did that here). Is there some different set of tags I should use ?

Nope, we just should have confirmed with Wim.

Quoted 2 lines

On a side note, it appears that I tagged "watchdog: iTCO_wdt: cleanup set/unset no_reboot_bit functions" with "Reviewed-by:", not with "Acked-by:".

I noticed this as well. If Wim drops these, we'll correct that in our branch.

Signature · 2 lines
Darren Hart
VMware Open Source Technology Center
#9 lore raw
In reply to Wim Van Sebroeck
Quoted 9 lines · Wim Van Sebroeck
Quoted 7 lines · Guenter Roeck
Quoted 4 lines · Darren Hart

On a side note, it appears that I tagged "watchdog: iTCO_wdt: cleanup set/unset no_reboot_bit functions" with "Reviewed-by:", not with "Acked-by:".

I noticed this as well. If Wim drops these, we'll correct that in our branch.

It makes sence to keep the patches together. I will drop the patches from the watchdog tree.

Thanks, Wim.

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#8 lore raw
In reply to Darren Hart

Hi All,

Quoted 57 lines · Guenter Roeck
Quoted 18 lines · Darren Hart
Quoted 17 lines · Andy Shevchenko
Quoted 15 lines · Darren Hart
Quoted 10 lines · Guenter Roeck
Quoted 2 lines · Darren Hart
Quoted 1 line · Stephen Rothwell

From my perspective, the most direct solution would be to drop these two patches from the watchdog tree and let them go through the platform driver x86 tree with Guenter's Acked-by. If you have additional patches which depend on these two, then if you will provide an immutable branch we can merge, we can do that too (but I try to keep the number of external merges to a minimum - which is becoming increasingly difficult lately for some reason).

Sorry for not being in doubt, I just decided that Ack from Guenter means that default case is to go through PDx86 tree without any additional agreement.

Quoted 7 lines
Quoted 3 lines

I assumed that was the case, yes. I read through the thread and would have thought the same. As Guenter is directing us to Wim, I think the MAINTAINERS file doesn't really capture the logistics of the watchdog maintainer model, as a

Now I am confused. Please apologize my lack of understanding.

I am listed as "Reviewer", not "Maintainer", for watchdog drivers.

:facepalm:

Yes you are, I misread the get_maintainer.pl output ... somehow.

Quoted 4 lines

Please let me know how that does not capture the logistics of the watchdog (or any other) maintainer model, and how to better reflect that I review watchdog patches and Wim, as maintainer, sends them to Linus. I thought that is what "R:" and "M:" is for ?

Nope, it's right, I messed up.

Quoted 13 lines

The only possibly unusual detail is that I maintain a branch with all patches I have reviewed. This branch is picked up by Wim and either accepted as-is or, if he does not agree with some patch, modified accordingly. This branch is not in linux-next and thus not part of any official maintainer model, but exists for convenience and to enable additional testing through 0day and my own test farm.

Quoted 4 lines

Reviewed-by from a listed maintainer wouldn't be typical unless they expected someone else to merge it - in this case, I suppose Guenter meant Wim and not us :-)

Quoted 5 lines

You are correct, "Reviewed-by:" typically is intended for Wim, as I thought it would be expected for a designated reviewer. I tend to use "Acked-by:" if I assume or expect that a patch will be picked up by a different maintainer, though I typically add a note saying that this is the case (no idea if I did that here). Is there some different set of tags I should use ?

Quoted 6 lines

Nope, we just should have confirmed with Wim.

Quoted 2 lines

On a side note, it appears that I tagged "watchdog: iTCO_wdt: cleanup set/unset no_reboot_bit functions" with "Reviewed-by:", not with "Acked-by:".

I noticed this as well. If Wim drops these, we'll correct that in our branch.

It makes sence to keep the patches together. I will drop the patches from the watchdog tree.

Kind regards,
Wim.