Skip to contentSkip to conversation

linux-next: manual merge of the irqchip tree with the arm-soc tree

DISCUSSION Stephen Rothwell 5 participants 8 messages May 29, 2018 – May 30, 2018 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

arch/arm/boot/dts/stm32mp157c.dtsi

between commit:

3c00436fdb20 ("ARM: dts: stm32: add USBPHYC support to stm32mp157c")

from the arm-soc tree and commit:

5f0e9d2557d7 ("ARM: dts: stm32: Add exti support for stm32mp157c")

from the irqchip 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 · 48 lines
Cheers,
Stephen Rothwell

diff --cc arch/arm/boot/dts/stm32mp157c.dtsi
index b66f673b5038,4fa0df853c8a..000000000000
--- a/arch/arm/boot/dts/stm32mp157c.dtsi
+++ b/arch/arm/boot/dts/stm32mp157c.dtsi
@@@ -777,26 -183,13 +777,33 @@@
  			status = "disabled";
  		};
  
 +		usbphyc: usbphyc at 5a006000 {
 +			#address-cells = <1>;
 +			#size-cells = <0>;
 +			compatible = "st,stm32mp1-usbphyc";
 +			reg = <0x5a006000 0x1000>;
 +			clocks = <&rcc USBPHY_K>;
 +			resets = <&rcc USBPHY_R>;
 +			status = "disabled";
 +
 +			usbphyc_port0: usb-phy at 0 {
 +				#phy-cells = <0>;
 +				reg = <0>;
 +			};
 +
 +			usbphyc_port1: usb-phy at 1 {
 +				#phy-cells = <1>;
 +				reg = <1>;
 +			};
 +		};
 +
+ 		exti: interrupt-controller at 5000d000 {
+ 			compatible = "st,stm32mp1-exti", "syscon";
+ 			interrupt-controller;
+ 			#interrupt-cells = <2>;
+ 			reg = <0x5000d000 0x400>;
+ 		};
+ 
  		usart1: serial at 5c000000 {
  			compatible = "st,stm32h7-uart";
  			reg = <0x5c000000 0x400>;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180529/5a2ead38/attachment.sig>
#1 lore raw

Hi Stephen

Quoted 14 lines · Stephen Rothwell

Hi all,

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

   arch/arm/boot/dts/stm32mp157c.dtsi

between commit:

3c00436fdb20 ("ARM: dts: stm32: add USBPHYC support to stm32mp157c")

from the arm-soc tree and commit:

5f0e9d2557d7 ("ARM: dts: stm32: Add exti support for stm32mp157c")

Quoted 9 lines

from the irqchip 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 the fix (I will reorder nodes in a future patch). My opinion is that all STM32 DT patches should come through my STM32 tree. It is my role to fix this kind of conflicts. I thought it was a common rule (driver patches go to sub-system maintainer tree and DT to the Machine maintainer). For incoming next-series which contain DT+driver patches I will indicate clearly that I take DT patch. I'm right ?

Regards
Alex

#2 lore raw
Quoted 27 lines · Alexandre Torgue

Hi Stephen

Quoted 14 lines · Stephen Rothwell

Hi all,

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

   arch/arm/boot/dts/stm32mp157c.dtsi

between commit:

3c00436fdb20 ("ARM: dts: stm32: add USBPHYC support to stm32mp157c")

from the arm-soc tree and commit:

5f0e9d2557d7 ("ARM: dts: stm32: Add exti support for stm32mp157c")

Quoted 9 lines

from the irqchip 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 6 lines

Thanks for the fix (I will reorder nodes in a future patch). My opinion is that all STM32 DT patches should come through my STM32 tree. It is my role to fix this kind of conflicts. I thought it was a common rule (driver patches go to sub-system maintainer tree and DT to the Machine maintainer). For incoming next-series which contain DT+driver patches I will indicate clearly that I take DT patch. I'm right ?

Happy to oblige. Can you make sure you sync up with Ludovic and define what you want to do?

In the meantime, I'm dropping the series altogether.

Thanks,

	M.
Signature · 1 line
Jazz is not dead. It just smells funny...
#3 lore raw

Hi Marc

Quoted 28 lines · Marc Zyngier
Quoted 27 lines · Alexandre Torgue

Hi Stephen

Quoted 23 lines · Stephen Rothwell

Hi all,

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

    arch/arm/boot/dts/stm32mp157c.dtsi

between commit:

    3c00436fdb20 ("ARM: dts: stm32: add USBPHYC support to stm32mp157c")

from the arm-soc tree and commit:

    5f0e9d2557d7 ("ARM: dts: stm32: Add exti support for stm32mp157c")

from the irqchip 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 8 lines
Quoted 6 lines

Thanks for the fix (I will reorder nodes in a future patch). My opinion is that all STM32 DT patches should come through my STM32 tree. It is my role to fix this kind of conflicts. I thought it was a common rule (driver patches go to sub-system maintainer tree and DT to the Machine maintainer). For incoming next-series which contain DT+driver patches I will indicate clearly that I take DT patch. I'm right ?

Happy to oblige. Can you make sure you sync up with Ludovic and define what you want to do?

Sorry I don't understand your reply. I just say that for series containing DT patches + drivers patches, to my point of view it is more safe that driver patches are taken by sub-system maintainer (you in this case) and that I take DT patches in my tree.

Quoted 3 lines

In the meantime, I'm dropping the series altogether.

Why? We could keep it as Stephen fixed the merge issue.

Quoted 4 lines

Thanks,

	M.
#4 lore raw
Quoted 37 lines · Alexandre Torgue

Hi Marc

Quoted 34 lines · Marc Zyngier
Quoted 33 lines · Alexandre Torgue

Hi Stephen

Quoted 14 lines · Stephen Rothwell

Hi all,

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

    arch/arm/boot/dts/stm32mp157c.dtsi

between commit:

    3c00436fdb20 ("ARM: dts: stm32: add USBPHYC support to stm32mp157c")

from the arm-soc tree and commit:

    5f0e9d2557d7 ("ARM: dts: stm32: Add exti support for stm32mp157c")
Quoted 9 lines

from the irqchip 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 the fix (I will reorder nodes in a future patch). My opinion is that all STM32 DT patches should come through my STM32 tree. It is my role to fix this kind of conflicts. I thought it was a common rule (driver patches go to sub-system maintainer tree and DT to the Machine maintainer). For incoming next-series which contain DT+driver patches I will indicate clearly that I take DT patch. I'm right ?

Quoted 7 lines
Quoted 2 lines

Happy to oblige. Can you make sure you sync up with Ludovic and define what you want to do?

Sorry I don't understand your reply. I just say that for series containing DT patches + drivers patches, to my point of view it is more safe that driver patches are taken by sub-system maintainer (you in this case) and that I take DT patches in my tree.

And I'm happy to let you deal with these patches. I'm just asking you sync with Ludovic to split the series on whichever boundary you wish to enforce.

Quoted 3 lines
Quoted 2 lines

In the meantime, I'm dropping the series altogether.

Why? We could keep it as Stephen fixed the merge issue.

Well, you seem to have a strong opinion about who deals with what. I'll let Ludovic repost what you and him decide should go via the irqchip tree.

Thanks,

	M.
Signature · 1 line
Jazz is not dead. It just smells funny...
#5 lore raw
Quoted 41 lines · Marc Zyngier
Quoted 40 lines · Alexandre Torgue

Hi Marc

Quoted 36 lines · Marc Zyngier
Quoted 27 lines · Alexandre Torgue

Hi Stephen

Quoted 14 lines · Stephen Rothwell

Hi all,

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

     arch/arm/boot/dts/stm32mp157c.dtsi

between commit:

     3c00436fdb20 ("ARM: dts: stm32: add USBPHYC support to stm32mp157c")

from the arm-soc tree and commit:

     5f0e9d2557d7 ("ARM: dts: stm32: Add exti support for stm32mp157c")
Quoted 9 lines

from the irqchip 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 6 lines

Thanks for the fix (I will reorder nodes in a future patch). My opinion is that all STM32 DT patches should come through my STM32 tree. It is my role to fix this kind of conflicts. I thought it was a common rule (driver patches go to sub-system maintainer tree and DT to the Machine maintainer). For incoming next-series which contain DT+driver patches I will indicate clearly that I take DT patch. I'm right ?

Happy to oblige. Can you make sure you sync up with Ludovic and define what you want to do?

Quoted 7 lines
Quoted 4 lines

Sorry I don't understand your reply. I just say that for series containing DT patches + drivers patches, to my point of view it is more safe that driver patches are taken by sub-system maintainer (you in this case) and that I take DT patches in my tree.

And I'm happy to let you deal with these patches. I'm just asking you sync with Ludovic to split the series on whichever boundary you wish to enforce.

ok

Quoted 6 lines
Quoted 4 lines
Quoted 3 lines

In the meantime, I'm dropping the series altogether.

Why? We could keep it as Stephen fixed the merge issue.

Well, you seem to have a strong opinion about who deals with what. I'll let Ludovic repost what you and him decide should go via the irqchip tree.

It's not a "strong" opinion just my point of view and maybe not the good one. I thought that's the way of working was like I explained. If you prefer 2 series (one for driver patches and another one for DT patches) I will be happy with that.

Ludovic, what is your opinion ?

Regards
Alexandre

Quoted 5 lines

Thanks,

	M.
#6 lore raw
Quoted 68 lines · Alexandre Torgue
Quoted 48 lines · Marc Zyngier
Quoted 47 lines · Alexandre Torgue

Hi Marc

Quoted 43 lines · Marc Zyngier
Quoted 31 lines · Alexandre Torgue

Hi Stephen

Quoted 18 lines · Stephen Rothwell

Hi all,

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

???? arch/arm/boot/dts/stm32mp157c.dtsi

between commit:

???? 3c00436fdb20 ("ARM: dts: stm32: add USBPHYC support to stm32mp157c")

from the arm-soc tree and commit:

???? 5f0e9d2557d7 ("ARM: dts: stm32: Add exti support for stm32mp157c")

from the irqchip tree.

Quoted 9 lines

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 9 lines

Thanks for the fix (I will reorder nodes in a future patch). My opinion
is that all STM32 DT patches should come through my STM32 tree. It is my
role to fix this kind of conflicts. I thought it was a common rule (driver patches go to sub-system maintainer tree and DT to the Machine maintainer). For incoming next-series which contain DT+driver patches I
will indicate clearly that I take DT patch. I'm right ?

Happy to oblige. Can you make sure you sync up with Ludovic and define what you want to do?

Quoted 7 lines
Quoted 4 lines

Sorry I don't understand your reply. I just say that for series containing DT patches + drivers patches, to my point of view it is more safe that driver patches are taken by sub-system maintainer (you in this case) and that I take DT patches in my tree.

And I'm happy to let you deal with these patches. I'm just asking you sync with Ludovic to split the series on whichever boundary you wish to enforce.

ok

Quoted 7 lines
Quoted 4 lines
Quoted 3 lines

In the meantime, I'm dropping the series altogether.

Why? We could keep it as Stephen fixed the merge issue.

Well, you seem to have a strong opinion about who deals with what. I'll let Ludovic repost what you and him decide should go via the irqchip tree.

Quoted 6 lines

It's not a "strong" opinion just my point of view and maybe not the good one. I thought that's the way of working was like I explained. If you prefer 2 series (one for driver patches and another one for DT patches) I will be happy with that.

Ludovic, what is your opinion ?

Hi everybody

For this serie, I think we could keep like that with Stephen fix. New stm32 irqchip will be integrated (thanks Marc) with no conflict with usb (thanks Stephen).

For next series, we may split driver and DT to avoid misunderstanding.

BR
Ludo

Quoted 9 lines

Regards
Alexandre

Quoted 5 lines

Thanks,

????M.

#7 lore raw

Hi,

Quoted 91 lines · Ludovic BARRE
Quoted 80 lines · Alexandre Torgue
Quoted 55 lines · Marc Zyngier
Quoted 53 lines · Alexandre Torgue

Hi Marc

Quoted 47 lines · Marc Zyngier
Quoted 33 lines · Alexandre Torgue

Hi Stephen

Quoted 19 lines · Stephen Rothwell

Hi all,

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

     arch/arm/boot/dts/stm32mp157c.dtsi

between commit:

     3c00436fdb20 ("ARM: dts: stm32: add USBPHYC support to

stm32mp157c")

from the arm-soc tree and commit:

     5f0e9d2557d7 ("ARM: dts: stm32: Add exti support for

stm32mp157c")

from the irqchip tree.

Quoted 9 lines

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 9 lines

Thanks for the fix (I will reorder nodes in a future patch). My opinion
is that all STM32 DT patches should come through my STM32 tree. It is my
role to fix this kind of conflicts. I thought it was a common rule (driver patches go to sub-system maintainer tree and DT to the Machine maintainer). For incoming next-series which contain DT+driver patches I
will indicate clearly that I take DT patch. I'm right ?

Happy to oblige. Can you make sure you sync up with Ludovic and define what you want to do?

Quoted 8 lines
Quoted 4 lines

Sorry I don't understand your reply. I just say that for series containing DT patches + drivers patches, to my point of view it is more safe that driver patches are taken by sub-system maintainer (you in this case) and that I take DT patches in my tree.

And I'm happy to let you deal with these patches. I'm just asking you sync with Ludovic to split the series on whichever boundary you wish to enforce.

ok

Quoted 8 lines
Quoted 4 lines
Quoted 3 lines

In the meantime, I'm dropping the series altogether.

Why? We could keep it as Stephen fixed the merge issue.

Well, you seem to have a strong opinion about who deals with what. I'll let Ludovic repost what you and him decide should go via the irqchip tree.

Quoted 6 lines

It's not a "strong" opinion just my point of view and maybe not the good one. I thought that's the way of working was like I explained. If you prefer 2 series (one for driver patches and another one for DT patches) I will be happy with that.

Ludovic, what is your opinion ?

Quoted 7 lines

Hi everybody

For this serie, I think we could keep like that with Stephen fix. New stm32 irqchip will be integrated (thanks Marc) with no conflict with usb (thanks Stephen).

For next series, we may split driver and DT to avoid misunderstanding.

The general rule that we try to use is to always merge DT through the arm-soc tree, even if the driver gets merged through the subsystem tree. There should be no harm in doing this for new drivers (i.e. a new driver won't regress if the DT update is missing, it just won't probe/configure). And that way we can keep the conflicts internal to our tree (ideally to the SoC maintainer tree) and not cause overhead for other maintainers and Stephen.

So yes, for the future please do not submit the DT updates with the drivers, or at the very least be very clear when you post them that you don't want the driver maintainer to apply them.

-Olof