Skip to contentSkip to conversation

ARM: dts: aspeed: yosemite4: Add i2c-mux for CPLD IOE on Spider Board

PATCH In review Delphine CC Chiu 3 participants 10 messages Sep 26, 2024 – Sep 30, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: aspeed: yosemite4: Add i2c-mux for CPLD IOE on Spider Board

From: Ricky CX Wu <[email protected]>

Add I2C mux for CPLD IOE on Spider Board.

---
 .../aspeed/aspeed-bmc-facebook-yosemite4.dts  | 67 +++++++++++++++++++
 1 file changed, 67 insertions(+)
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +67 -0
index 98477792aa00..ea1a9c765483 100644
@@ -17,6 +17,9 @@ aliases {
 		serial6 = &uart7;
 		serial7 = &uart8;
 		serial8 = &uart9;
+
+		i2c28 = &imux28;
+		i2c29 = &imux29;
 	};
 
 	chosen {
@@ -277,8 +280,72 @@ i2c-mux at 71 {
 };
 
 &i2c10 {
+	#address-cells = <1>;
+	#size-cells = <0>;
 	status = "okay";
 	bus-frequency = <400000>;
+	i2c-mux at 74 {
+		compatible = "nxp,pca9544";
+		reg = <0x74>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+		i2c-mux-idle-disconnect;
+
+		imux28: i2c at 0 {
+			reg = <0>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			gpio at 20 {
+				compatible = "nxp,pca9506";
+				reg = <0x20>;
+				gpio-controller;
+				#gpio-cells = <2>;
+			};
+
+			gpio at 21 {
+				compatible = "nxp,pca9506";
+				reg = <0x21>;
+				gpio-controller;
+				#gpio-cells = <2>;
+			};
+
+			gpio at 22 {
+				compatible = "nxp,pca9506";
+				reg = <0x22>;
+				gpio-controller;
+				#gpio-cells = <2>;
+			};
+
+			gpio at 23 {
+				compatible = "nxp,pca9506";
+				reg = <0x23>;
+				gpio-controller;
+				#gpio-cells = <2>;
+			};
+
+			gpio at 24 {
+				compatible = "nxp,pca9506";
+				reg = <0x24>;
+				gpio-controller;
+				#gpio-cells = <2>;
+				gpio-line-names = "","","","",
+						  "NIC0_MAIN_PWR_EN",
+						  "NIC1_MAIN_PWR_EN",
+						  "NIC2_MAIN_PWR_EN",
+						  "NIC3_MAIN_PWR_EN",
+						  "","","","","","","","",
+						  "","","","","","","","",
+						  "","","","","","","","";
+			};
+		};
+
+		imux29: i2c at 1 {
+			reg = <1>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+		};
+	};
 };
 
 &i2c11 {
Signature · 1 line
2.25.1
maintainer
#1 lore raw
Quoted 15 lines · Delphine CC Chiu

From: Ricky CX Wu <[email protected]>

Add I2C mux for CPLD IOE on Spider Board.

---
 .../aspeed/aspeed-bmc-facebook-yosemite4.dts  | 67 +++++++++++++++++++
 1 file changed, 67 insertions(+)
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +0 -0
index 98477792aa00..ea1a9c765483 100644

arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts aliases { · line 24

Quoted 8 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +3 -0
@@ -17,6 +17,9 @@ aliases {
 		serial6 = &uart7;
 		serial7 = &uart8;
 		serial8 = &uart9;
+
+		i2c28 = &imux28;
+		i2c29 = &imux29;
 	};
 

Have you tried to apply all of your individual yosemite4 patches together in one branch? I have, and unfortunately I can't apply them all, because they generate conflicts with each other.

If your patches have context dependencies you need to send them as a single series and not separate patches that cannot be properly combined.

Please assess the remaining yosemite4 devicetree patches (those you haven't received a thank-you email for) and send an appropriately constructed series so they can all be applied together, based on the tree here:

https://github.com/amboar/linux/tree/for/bmc/dt

Please also indicate in the cover letter (with links to lore) which remaining patches are truly independent that still need to be applied.

Thanks,

Andrew

#2 lore raw
Quoted 62 lines

-----Original Message-----
From: Andrew Jeffery <[email protected]>
Sent: Friday, September 27, 2024 1:57 PM
To: Delphine_CC_Chiu/WYHQ/Wiwynn <[email protected]>; patrick at stwcx.xyz; Rob Herring <[email protected]>; Krzysztof Kozlowski <[email protected]>; Conor Dooley <[email protected]>; Joel Stanley <[email protected]>
Cc: Ricky CX Wu <[email protected]>;
devicetree at vger.kernel.org; linux-arm-kernel at lists.infradead.org; linux-aspeed at lists.ozlabs.org; linux-kernel at vger.kernel.org
Subject: Re: [PATCH v1] ARM: dts: aspeed: yosemite4: Add i2c-mux for CPLD IOE on Spider Board

[External Sender]

[External Sender]

Quoted 18 lines · Delphine CC Chiu

From: Ricky CX Wu <[email protected]>

Add I2C mux for CPLD IOE on Spider Board.

---
 .../aspeed/aspeed-bmc-facebook-yosemite4.dts  | 67
+++++++++++++++++++
 1 file changed, 67 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts index 98477792aa00..ea1a9c765483 100644

arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts aliases { · line 24

Quoted 8 lines
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-yosemite4.dts +3 -0
@@ -17,6 +17,9 @@ aliases {
              serial6 = &uart7;
              serial7 = &uart8;
              serial8 = &uart9;
+
+             i2c28 = &imux28;
+             i2c29 = &imux29;
      };
 

Have you tried to apply all of your individual yosemite4 patches together in one branch? I have, and unfortunately I can't apply them all, because they generate conflicts with each other.

If your patches have context dependencies you need to send them as a single series and not separate patches that cannot be properly combined.

Please assess the remaining yosemite4 devicetree patches (those you haven't received a thank-you email for) and send an appropriately constructed series so they can all be applied together, based on the tree here:

https://urldefense.com/v3/__https://github.com/amboar/linux/tree/for/bmc/d
t__;!!J63qqgXj!KnZT-wO8ksK53BvGiFMdhhNgCnQ98FQLMdHeyYOSGsPw2KG1 MNeJjvsZz4zuX7YegeuLfSsa9q9ZEBriDYsTTu8LjuM$

Quoted 6 lines

Please also indicate in the cover letter (with links to lore) which remaining patches are truly independent that still need to be applied.

Thanks,

Andrew

Hi Andrew

Would like to ask should I base on the openbmc/linux repo to create the remaining patches that have context dependencies and add the lore link of the those patches that I've sent in the cover letter?

Ricky

#3 lore raw
Quoted 3 lines · Delphine_CC_Chiu/WYHQ/Wiwynn

Would like to ask should I base on the openbmc/linux repo to create the remaining patches that have context dependencies and add the lore link of the those patches that I've sent in the cover letter?

I believe you're trying to get the patches applied onto the upstream tree, so no you should not base on the openbmc/linux repo. That repo is a 6.6 branch. You need to base the commits on torvalds/linux.

Signature · 8 lines
Patrick Williams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linux-aspeed/attachments/20240927/d8aab60a/attachment.sig>
maintainer
#4 lore raw

Hi Ricky, Patrick,

Quoted 10 lines · Patrick Williams
Quoted 3 lines · Delphine_CC_Chiu/WYHQ/Wiwynn

Would like to ask should I base on the openbmc/linux repo to create the remaining patches that have context dependencies and add the lore link of the those patches that I've sent in the cover letter?

I believe you're trying to get the patches applied onto the upstream tree, so no you should not base on the openbmc/linux repo. That repo is a 6.6 branch. You need to base the commits on torvalds/linux.

In my previous email[1] I requested:

Quoted 6 lines

Please assess the remaining yosemite4 devicetree patches (those you haven't received a thank-you email for) and send an appropriately constructed series so they can all be applied together, based on the tree here:

https://github.com/amboar/linux/tree/for/bmc/dt

So I'm not sure why there's confusion and speculation as to which tree should be used :( Note that the for/bmc/dt branch above is currently based on v6.12-rc1.

[1]: https://lore.kernel.org/all/fbdc9efe87a1bed9fea7d0abaf955aa1a3dc24ac.camel at codeconstruct.com.au/

Anyway, I asked that because I have already applied one of the Yosemite4 patches there, and developing the remaining patches against any other tree will again cause conflicts (due to the lack of that patch).

More broadly though, Patrick is right: If you're sending your patches upstream, it is required that you develop and test your patches against an appropriate upstream tree. Usually this is the most recent -rc1 tag, unless there are reasons otherwise (such as conflicts). The OpenBMC kernel fork is not an appropriate tree on which to base work you intend to send upstream.

Thanks,

Andrew

#5 lore raw
Quoted 67 lines

-----Original Message-----
From: Andrew Jeffery <[email protected]>
Sent: Monday, September 30, 2024 7:44 AM
To: Patrick Williams <[email protected]>; Delphine_CC_Chiu/WYHQ/Wiwynn <[email protected]>
Cc: Rob Herring <[email protected]>; Krzysztof Kozlowski <[email protected]>; Conor Dooley <[email protected]>; Joel Stanley <[email protected]>; Ricky CX Wu <[email protected]>; devicetree at vger.kernel.org; linux-arm-kernel at lists.infradead.org; linux-aspeed at lists.ozlabs.org; linux-kernel at vger.kernel.org
Subject: Re: [PATCH v1] ARM: dts: aspeed: yosemite4: Add i2c-mux for CPLD IOE on Spider Board

[External Sender]

[External Sender]

Hi Ricky, Patrick,

Quoted 1 line · Patrick Williams

On Fri, Sep 27, 2024 at 09:24:11AM +0000,

Quoted 9 lines · Delphine_CC_Chiu/WYHQ/Wiwynn
Quoted 4 lines

Would like to ask should I base on the openbmc/linux repo to create the remaining patches that have context dependencies and add the lore link of the those patches that I've sent in the cover letter?

I believe you're trying to get the patches applied onto the upstream tree, so no you should not base on the openbmc/linux repo. That repo is a 6.6 branch. You need to base the commits on torvalds/linux.

In my previous email[1] I requested:

Quoted 7 lines

Please assess the remaining yosemite4 devicetree patches (those you haven't received a thank-you email for) and send an appropriately constructed series so they can all be applied together, based on the tree here:

https://urldefense.com/v3/__https://github.com/amboar/linux/tree/for/b

mc/dt__;!!J63qqgXj!N56Dq0KcUR0NerePsoY0JUBCDvFG_F3KyRF0D4qNdu_Ozc SGVPC

Quoted 1 line

SBOJk6u28AWPfgDRWsLE1B__-_ZNVKYv-zhc_6PY$

So I'm not sure why there's confusion and speculation as to which tree should be used :( Note that the for/bmc/dt branch above is currently based on v6.12-rc1.

[1]:
https://urldefense.com/v3/__https://lore.kernel.org/all/fbdc9efe87a1bed9fea7
d0abaf955aa1a3dc24ac.camel at codeconstruct.com.au/__;!!J63qqgXj!N56Dq0 KcUR0NerePsoY0JUBCDvFG_F3KyRF0D4qNdu_OzcSGVPCSBOJk6u28AWPfgDRW sLE1B__-_ZNVKYv-uNCc7qE$

Anyway, I asked that because I have already applied one of the Yosemite4 patches there, and developing the remaining patches against any other tree will again cause conflicts (due to the lack of that patch).

More broadly though, Patrick is right: If you're sending your patches upstream, it is required that you develop and test your patches against an appropriate upstream tree. Usually this is the most recent -rc1 tag, unless there are reasons otherwise (such as conflicts). The OpenBMC kernel fork is not an appropriate tree on which to base work you intend to send upstream.

Quoted 3 lines

Thanks,

Andrew

Hi Andrew,

Sorry for my misunderstanding.
So I should combine the remaining yosemite4 device tree patches as a single serial based on torvalds/linux and test on openbmc/linux then send the serial patches to torvalds/linux. And you will help to fix the conflicts when you apply the serial patches to openbmc/linux.
Do I understand it correctly?

maintainer
#6 lore raw
Quoted 66 lines · Delphine_CC_Chiu/WYHQ/Wiwynn
Quoted 66 lines

-----Original Message-----
From: Andrew Jeffery <[email protected]>
Sent: Monday, September 30, 2024 7:44 AM
To: Patrick Williams <[email protected]>; Delphine_CC_Chiu/WYHQ/Wiwynn <[email protected]>
Cc: Rob Herring <[email protected]>; Krzysztof Kozlowski <[email protected]>; Conor Dooley <[email protected]>; Joel Stanley <[email protected]>; Ricky CX Wu <[email protected]>; devicetree at vger.kernel.org; linux-arm-kernel at lists.infradead.org; linux-aspeed at lists.ozlabs.org; linux-kernel at vger.kernel.org
Subject: Re: [PATCH v1] ARM: dts: aspeed: yosemite4: Add i2c-mux for CPLD IOE on Spider Board

[External Sender]

[External Sender]

Hi Ricky, Patrick,

Quoted 1 line · Patrick Williams

On Fri, Sep 27, 2024 at 09:24:11AM +0000,

Quoted 9 lines · Delphine_CC_Chiu/WYHQ/Wiwynn
Quoted 4 lines

Would like to ask should I base on the openbmc/linux repo to create the remaining patches that have context dependencies and add the lore link of the those patches that I've sent in the cover letter?

I believe you're trying to get the patches applied onto the upstream tree, so no you should not base on the openbmc/linux repo. That repo is a 6.6 branch. You need to base the commits on torvalds/linux.

In my previous email[1] I requested:

Quoted 7 lines

Please assess the remaining yosemite4 devicetree patches (those you haven't received a thank-you email for) and send an appropriately constructed series so they can all be applied together, based on the tree here:

https://urldefense.com/v3/__https://github.com/amboar/linux/tree/for/b

mc/dt__;!!J63qqgXj!N56Dq0KcUR0NerePsoY0JUBCDvFG_F3KyRF0D4qNdu_Ozc SGVPC

Quoted 1 line

SBOJk6u28AWPfgDRWsLE1B__-_ZNVKYv-zhc_6PY$

So I'm not sure why there's confusion and speculation as to which tree should be used :( Note that the for/bmc/dt branch above is currently based on v6.12-rc1.

[1]:
https://urldefense.com/v3/__https://lore.kernel.org/all/fbdc9efe87a1bed9fea7
d0abaf955aa1a3dc24ac.camel at codeconstruct.com.au/__;!!J63qqgXj!N56Dq0 KcUR0NerePsoY0JUBCDvFG_F3KyRF0D4qNdu_OzcSGVPCSBOJk6u28AWPfgDRW sLE1B__-_ZNVKYv-uNCc7qE$

Anyway, I asked that because I have already applied one of the Yosemite4 patches there, and developing the remaining patches against any other tree will again cause conflicts (due to the lack of that patch).

More broadly though, Patrick is right: If you're sending your patches upstream, it is required that you develop and test your patches against an appropriate upstream tree. Usually this is the most recent -rc1 tag, unless there are reasons otherwise (such as conflicts). The OpenBMC kernel fork is not an appropriate tree on which to base work you intend to send upstream.

Quoted 7 lines
Quoted 3 lines

Thanks,

Andrew

Hi Andrew,

Sorry for my misunderstanding.

No worries, hopefully we can get it sorted out. I realise the sentiment of my responses below is quite direct, but I'm trying to cut through the confusion. Please bear with me.

Quoted 2 lines

So I should combine the remaining yosemite4 device tree patches as a single serial

Specifically, any patches that have dependencies on each other. In this case, patches that share diff context need to be in a single series so they don't generate conflicts when I try to apply them.

Quoted 2 lines

based on torvalds/linux

No. In _this specific instance_, please base the series on

https://github.com/amboar/linux/tree/for/bmc/dt

If you look, you will find this is itself already based on v6.12-rc1, and contains ASPEED devicetree patches both yourself and others have sent that are intended to appear in v6.13.

I need you to do this because I've _already_ applied one yosemite4 patch there which is generating conflicts with your other yosemite4 patches.

_However_, in almost all other cases, you should base your series on the latest -rc1.

Quoted 2 lines

and test on openbmc/linux

No. If you're sending the patches upstream you must test them as applied to the relevant upstream tree. In _this_ case, it's the for/bmc/dt branch I've linked above.

Quoted 1 line

then send the serial patches to torvalds/linux.

You send them to the lists as you have done here, yes.

Quoted 2 lines

And you will help to fix the conflicts

No. I'm asking you to fix the conflicts that your patches are generating. I don't want to be in the business of resolving other people's conflicts and risking incorrect results. The conflict resolutions should be tested to the usual expectations.

Quoted 1 line

when you apply the serial patches to openbmc/linux.

I'm doing two separate-but-related roles:

1. Upstream patch collector for BMC-related devicetrees
2. OpenBMC kernel janitor

The first role is how I'm interacting with you in this thread. At the moment I'm helping Joel out: recently he's been taking the patches I've collected in the for/bmc/dt branch I linked above and has sent a PR to Arnd for integration into torvalds/linux via the SoC tree.

However, in the process of collecting your patches in role 1 I also happen to switch to role 2, where I backport your upstream patches to OpenBMC's v6.6-based (LTS) tree _if_ applying the patch/series directly to that tree does not cause conflicts. If there are conflicts, then I expect you to also send a backport patch that accounts for the conflicts to _only_ the openbmc list (and not the upstream lists and maintainers also on Cc here).

So in neither case should you expect me to be resolving conflicts for you. The resolution still needs testing as noted above, and I'm rarely in a position to do that myself.

I hope that helps.

Andrew

#7 lore raw
Quoted 100 lines

-----Original Message-----
From: Andrew Jeffery <[email protected]>
Sent: Monday, September 30, 2024 10:37 AM
To: Delphine_CC_Chiu/WYHQ/Wiwynn <[email protected]>; Patrick Williams <[email protected]>
Cc: Rob Herring <[email protected]>; Krzysztof Kozlowski <[email protected]>; Conor Dooley <[email protected]>; Joel Stanley <[email protected]>; Ricky CX Wu <[email protected]>; devicetree at vger.kernel.org; linux-arm-kernel at lists.infradead.org; linux-aspeed at lists.ozlabs.org; linux-kernel at vger.kernel.org
Subject: Re: [PATCH v1] ARM: dts: aspeed: yosemite4: Add i2c-mux for CPLD IOE on Spider Board

[External Sender]

[External Sender]

Quoted 25 lines · Delphine_CC_Chiu/WYHQ/Wiwynn
Quoted 25 lines

-----Original Message-----
From: Andrew Jeffery <[email protected]>
Sent: Monday, September 30, 2024 7:44 AM
To: Patrick Williams <[email protected]>; Delphine_CC_Chiu/WYHQ/Wiwynn <[email protected]>
Cc: Rob Herring <[email protected]>; Krzysztof Kozlowski <[email protected]>; Conor Dooley <[email protected]>; Joel Stanley <[email protected]>; Ricky CX Wu <[email protected]>; devicetree at vger.kernel.org; linux-arm-kernel at lists.infradead.org; linux-aspeed at lists.ozlabs.org; linux-kernel at vger.kernel.org
Subject: Re: [PATCH v1] ARM: dts: aspeed: yosemite4: Add i2c-mux for CPLD IOE on Spider Board

[External Sender]

[External Sender]

Hi Ricky, Patrick,

Quoted 1 line · Patrick Williams

On Fri, Sep 27, 2024 at 09:24:11AM +0000,

Quoted 1 line · Delphine_CC_Chiu/WYHQ/Wiwynn
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 3 lines

Would like to ask should I base on the openbmc/linux repo to create the remaining patches that have context dependencies and add the lore link of the those patches that I've sent in the cover letter?

I believe you're trying to get the patches applied onto the upstream tree, so no you should not base on the openbmc/linux repo. That repo is a 6.6 branch. You need to base the commits on

torvalds/linux.

Quoted 9 lines
Quoted 9 lines
Quoted 1 line

In my previous email[1] I requested:

Quoted 5 lines

Please assess the remaining yosemite4 devicetree patches (those you haven't received a thank-you email for) and send an appropriately constructed series so they can all be applied together, based on the tree here:

Quoted 4 lines
Quoted 4 lines
Quoted 3 lines

https://urldefense.com/v3/__https://github.com/amboar/linux/tree/f
or/b

mc/dt__;!!J63qqgXj!N56Dq0KcUR0NerePsoY0JUBCDvFG_F3KyRF0D4qNdu_Ozc

Quoted 11 lines
Quoted 11 lines

SGVPC

Quoted 1 line

SBOJk6u28AWPfgDRWsLE1B__-_ZNVKYv-zhc_6PY$

So I'm not sure why there's confusion and speculation as to which tree should be used :( Note that the for/bmc/dt branch above is currently based on v6.12-rc1.

[1]:
https://urldefense.com/v3/__https://lore.kernel.org/all/fbdc9efe87a1
bed9fea7

d0abaf955aa1a3dc24ac.camel at codeconstruct.com.au/__;!!J63qqgXj!N56Dq0

Quoted 1 line
Quoted 1 line

KcUR0NerePsoY0JUBCDvFG_F3KyRF0D4qNdu_OzcSGVPCSBOJk6u28AWPfgDRW

Quoted 5 lines
Quoted 5 lines

sLE1B__-_ZNVKYv-uNCc7qE$

Anyway, I asked that because I have already applied one of the Yosemite4 patches there, and developing the remaining patches against any other tree will again cause conflicts (due to the lack of that

patch).

Quoted 6 lines
Quoted 6 lines

More broadly though, Patrick is right: If you're sending your patches upstream, it is required that you develop and test your patches against an appropriate upstream tree. Usually this is the most recent -rc1 tag, unless there are reasons otherwise (such as conflicts). The OpenBMC kernel fork is not an appropriate tree on which to

base work you intend to send upstream.

Quoted 5 lines
Quoted 4 lines

Thanks,

Andrew

Quoted 8 lines
Quoted 3 lines

Hi Andrew,

Sorry for my misunderstanding.

No worries, hopefully we can get it sorted out. I realise the sentiment of my responses below is quite direct, but I'm trying to cut through the confusion. Please bear with me.

Sure. Thank you for all your help!

Quoted 8 lines
Quoted 3 lines

So I should combine the remaining yosemite4 device tree patches as a single serial

Specifically, any patches that have dependencies on each other. In this case, patches that share diff context need to be in a single series so they don't generate conflicts when I try to apply them.

Understood.

Quoted 13 lines
Quoted 2 lines

based on torvalds/linux

No. In _this specific instance_, please base the series on

https://urldefense.com/v3/__https://github.com/amboar/linux/tree/for/bmc/d
t__;!!J63qqgXj!O6de7qi9vrhod1xS-7osXngZvytCR3QfbV1zDPM2oUFbQxqCxG1y BlrbsSwJkNvPFcovNQzmHtHtCo41H529xCRTe7w$

If you look, you will find this is itself already based on v6.12-rc1, and contains ASPEED devicetree patches both yourself and others have sent that are intended to appear in v6.13.

Quoted 6 lines

I need you to do this because I've _already_ applied one yosemite4 patch there which is generating conflicts with your other yosemite4 patches.

_However_, in almost all other cases, you should base your series on the latest -rc1.

Understood, I'll provide the serial of patches to torvalds/linux base on the repo you provided.

Quoted 7 lines
Quoted 2 lines

and test on openbmc/linux

No. If you're sending the patches upstream you must test them as applied to the relevant upstream tree. In _this_ case, it's the for/bmc/dt branch I've linked above.

Understood.

Quoted 31 lines
Quoted 1 line

then send the serial patches to torvalds/linux.

You send them to the lists as you have done here, yes.

Quoted 2 lines

And you will help to fix the conflicts

No. I'm asking you to fix the conflicts that your patches are generating. I don't want to be in the business of resolving other people's conflicts and risking incorrect results. The conflict resolutions should be tested to the usual expectations.

Quoted 1 line

when you apply the serial patches to openbmc/linux.

I'm doing two separate-but-related roles:

1. Upstream patch collector for BMC-related devicetrees 2. OpenBMC kernel janitor

The first role is how I'm interacting with you in this thread. At the moment I'm helping Joel out: recently he's been taking the patches I've collected in the for/bmc/dt branch I linked above and has sent a PR to Arnd for integration into torvalds/linux via the SoC tree.

However, in the process of collecting your patches in role 1 I also happen to switch to role 2, where I backport your upstream patches to OpenBMC's v6.6-based (LTS) tree _if_ applying the patch/series directly to that tree does not cause conflicts. If there are conflicts, then I expect you to also send a backport patch that accounts for the conflicts to _only_ the openbmc list (and not the upstream lists and maintainers also on Cc here).

Quoted 7 lines

So in neither case should you expect me to be resolving conflicts for you. The resolution still needs testing as noted above, and I'm rarely in a position to do that myself.

I hope that helps.

Andrew

Thanks for your information.
I really appreciate for your help!
I wasn't sure which linux repo should I base to send the patches before so that I had some questions about the conflicts fixing.

I understand the rule now after reading the information you provided, and I will provide the serial patches later.

I have one more question that if I need to add the DTS based on the patches that have been applied but haven't been merged in torvalds/linux.
Should I also based on the branch "for/bmc/dt" from amboar/linux to create the patch?

Regards,
Ricky

maintainer
#8 lore raw
Quoted 6 lines · Delphine_CC_Chiu/WYHQ/Wiwynn

I have one more question that if I need to add the DTS based on the patches that have been applied but haven't been merged in torvalds/linux.
Should I also based on the branch "for/bmc/dt" from amboar/linux to create the patch?

You can do that, yes. We can at least then be sure your work won't generate conflicts when I try to apply it (unless you've inappropriately split your series).

Cheers,

Andrew

#9 lore raw
Quoted 28 lines

-----Original Message-----
From: Andrew Jeffery <[email protected]>
Sent: Monday, September 30, 2024 2:02 PM
To: Delphine_CC_Chiu/WYHQ/Wiwynn <[email protected]>; Patrick Williams <[email protected]>
Cc: Rob Herring <[email protected]>; Krzysztof Kozlowski <[email protected]>; Conor Dooley <[email protected]>; Joel Stanley <[email protected]>; Ricky CX Wu <[email protected]>; devicetree at vger.kernel.org; linux-arm-kernel at lists.infradead.org; linux-aspeed at lists.ozlabs.org; linux-kernel at vger.kernel.org
Subject: Re: [PATCH v1] ARM: dts: aspeed: yosemite4: Add i2c-mux for CPLD IOE on Spider Board

[External Sender]

[External Sender]

Quoted 6 lines · Delphine_CC_Chiu/WYHQ/Wiwynn

I have one more question that if I need to add the DTS based on the patches that have been applied but haven't been merged in torvalds/linux. Should I also based on the branch "for/bmc/dt" from amboar/linux to create the patch?

Quoted 6 lines

You can do that, yes. We can at least then be sure your work won't generate conflicts when I try to apply it (unless you've inappropriately split your series).

Cheers,

Andrew

Got it!
Thanks for your help.

Regards,
Ricky