[PATCH] sbc8641: drop bogus PHY IRQ entries from DTS file

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE3898d

10 messages, 4 authors, 2015-12-14 · open the first message on its own page

[PATCH] sbc8641: drop bogus PHY IRQ entries from DTS file

From: Paul Gortmaker <hidden>
Date: 2015-12-09 00:42:12

This file was originally cloned off of the MPC8641D-HPCN reference
platform, which actually had a PHY IRQ line connected.  However
this board does not.  The bogus entry was largely inert and went
undetected until commit 321beec5047af83db90c88114b7e664b156f49fe
("net: phy: Use interrupts when available in NOLINK state") was
added to the tree.

With the above commit, the board fails to NFS boot since it sits
waiting for a PHY IRQ event that of course never arrives.  Removing
the bogus entries from the DTS file fixes the issue.

Cc: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Paul Gortmaker <redacted>
---
 arch/powerpc/boot/dts/sbc8641d.dts | 8 --------
 1 file changed, 8 deletions(-)
diff --git a/arch/powerpc/boot/dts/sbc8641d.dts b/arch/powerpc/boot/dts/sbc8641d.dts
index 631ede72e226..68f0ed7626bd 100644
--- a/arch/powerpc/boot/dts/sbc8641d.dts
+++ b/arch/powerpc/boot/dts/sbc8641d.dts
@@ -227,23 +227,15 @@
 				reg = <0x520 0x20>;
 
 				phy0: ethernet-phy@1f {
-					interrupt-parent = <&mpic>;
-					interrupts = <10 1>;
 					reg = <0x1f>;
 				};
 				phy1: ethernet-phy@0 {
-					interrupt-parent = <&mpic>;
-					interrupts = <10 1>;
 					reg = <0>;
 				};
 				phy2: ethernet-phy@1 {
-					interrupt-parent = <&mpic>;
-					interrupts = <10 1>;
 					reg = <1>;
 				};
 				phy3: ethernet-phy@2 {
-					interrupt-parent = <&mpic>;
-					interrupts = <10 1>;
 					reg = <2>;
 				};
 				tbi0: tbi-phy@11 {
-- 
2.6.1

Re: [PATCH] sbc8641: drop bogus PHY IRQ entries from DTS file

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2015-12-09 01:10:21

On Tue, 2015-12-08 at 17:44 -0500, Paul Gortmaker wrote:
This file was originally cloned off of the MPC8641D-HPCN reference
platform, which actually had a PHY IRQ line connected.  However
this board does not.  The bogus entry was largely inert and went
undetected until commit 321beec5047af83db90c88114b7e664b156f49fe
("net: phy: Use interrupts when available in NOLINK state") was
added to the tree.

With the above commit, the board fails to NFS boot since it sits
waiting for a PHY IRQ event that of course never arrives.  Removing
the bogus entries from the DTS file fixes the issue.
Commit 321beec5047a ("net: phy: Use interrupts when available in NOLINK state")
went into 4.4-rc2, so this is a fix for 4.4 right?

cheers

Re: [PATCH] sbc8641: drop bogus PHY IRQ entries from DTS file

From: Paul Gortmaker <hidden>
Date: 2015-12-09 02:26:18

[Re: [PATCH] sbc8641: drop bogus PHY IRQ entries from DTS file] On 09/12/2015 (Wed 12:10) Michael Ellerman wrote:
On Tue, 2015-12-08 at 17:44 -0500, Paul Gortmaker wrote:
quoted
This file was originally cloned off of the MPC8641D-HPCN reference
platform, which actually had a PHY IRQ line connected.  However
this board does not.  The bogus entry was largely inert and went
undetected until commit 321beec5047af83db90c88114b7e664b156f49fe
("net: phy: Use interrupts when available in NOLINK state") was
added to the tree.

With the above commit, the board fails to NFS boot since it sits
waiting for a PHY IRQ event that of course never arrives.  Removing
the bogus entries from the DTS file fixes the issue.
Commit 321beec5047a ("net: phy: Use interrupts when available in NOLINK state")
went into 4.4-rc2, so this is a fix for 4.4 right?
Correct, but I'm guessing there are not thousands of users of this board
out there, so it probably doesn't matter a whole lot if it goes in the
same release where the regression happened or one release later...

P.
--
cheers

Re: [PATCH] sbc8641: drop bogus PHY IRQ entries from DTS file

From: David Miller <davem@davemloft.net>
Date: 2015-12-09 02:40:59

 From: Paul Gortmaker [off-list ref]
Date: Tue, 8 Dec 2015 17:44:02 -0500
This file was originally cloned off of the MPC8641D-HPCN reference
platform, which actually had a PHY IRQ line connected.  However
this board does not.  The bogus entry was largely inert and went
undetected until commit 321beec5047af83db90c88114b7e664b156f49fe
("net: phy: Use interrupts when available in NOLINK state") was
added to the tree.

With the above commit, the board fails to NFS boot since it sits
waiting for a PHY IRQ event that of course never arrives.  Removing
the bogus entries from the DTS file fixes the issue.

Cc: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Paul Gortmaker <redacted>
I'm assuming this will go via the powerpc tree, not mine.

Re: [PATCH] sbc8641: drop bogus PHY IRQ entries from DTS file

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2015-12-09 03:00:03

On Tue, 2015-12-08 at 21:40 -0500, David Miller wrote:
 From: Paul Gortmaker [off-list ref]
Date: Tue, 8 Dec 2015 17:44:02 -0500
quoted
This file was originally cloned off of the MPC8641D-HPCN reference
platform, which actually had a PHY IRQ line connected.  However
this board does not.  The bogus entry was largely inert and went
undetected until commit 321beec5047af83db90c88114b7e664b156f49fe
("net: phy: Use interrupts when available in NOLINK state") was
added to the tree.

With the above commit, the board fails to NFS boot since it sits
waiting for a PHY IRQ event that of course never arrives.  Removing
the bogus entries from the DTS file fixes the issue.

Cc: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Paul Gortmaker <redacted>
I'm assuming this will go via the powerpc tree, not mine.
Yep I'll take it.

cheers

Re: [PATCH] sbc8641: drop bogus PHY IRQ entries from DTS file

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2015-12-09 03:04:20

On Tue, 2015-12-08 at 21:04 -0500, Paul Gortmaker wrote:
[Re: [PATCH] sbc8641: drop bogus PHY IRQ entries from DTS file] On 09/12/2015 (Wed 12:10) Michael Ellerman wrote:
quoted
On Tue, 2015-12-08 at 17:44 -0500, Paul Gortmaker wrote:
quoted
This file was originally cloned off of the MPC8641D-HPCN reference
platform, which actually had a PHY IRQ line connected.  However
this board does not.  The bogus entry was largely inert and went
undetected until commit 321beec5047af83db90c88114b7e664b156f49fe
("net: phy: Use interrupts when available in NOLINK state") was
added to the tree.

With the above commit, the board fails to NFS boot since it sits
waiting for a PHY IRQ event that of course never arrives.  Removing
the bogus entries from the DTS file fixes the issue.
Commit 321beec5047a ("net: phy: Use interrupts when available in NOLINK state")
went into 4.4-rc2, so this is a fix for 4.4 right?
Correct, but I'm guessing there are not thousands of users of this board
out there, so it probably doesn't matter a whole lot if it goes in the
same release where the regression happened or one release later...
OK sure. As it happens I'm just prepping a fixes branch, so I'll drop it in.

cheers

Re: [PATCH] sbc8641: drop bogus PHY IRQ entries from DTS file

From: Andrew Lunn <andrew@lunn.ch>
Date: 2015-12-09 03:25:42

On Tue, Dec 08, 2015 at 05:44:02PM -0500, Paul Gortmaker wrote:
This file was originally cloned off of the MPC8641D-HPCN reference
platform, which actually had a PHY IRQ line connected.  However
this board does not.  The bogus entry was largely inert and went
undetected until commit 321beec5047af83db90c88114b7e664b156f49fe
("net: phy: Use interrupts when available in NOLINK state") was
added to the tree.

With the above commit, the board fails to NFS boot since it sits
waiting for a PHY IRQ event that of course never arrives.  Removing
the bogus entries from the DTS file fixes the issue.
Hi Paul

Originally the interrupt is used for detecting the link has gone
down. That would of also been bogus before. Have you tried this?  If
that is also broken, maybe you need to add a fixes: tag so that it
gets back ported?

     Andrew

Re: [PATCH] sbc8641: drop bogus PHY IRQ entries from DTS file

From: Paul Gortmaker <hidden>
Date: 2015-12-09 14:40:04

[Re: [PATCH] sbc8641: drop bogus PHY IRQ entries from DTS file] On 09/12/2015 (Wed 04:07) Andrew Lunn wrote:
On Tue, Dec 08, 2015 at 05:44:02PM -0500, Paul Gortmaker wrote:
quoted
This file was originally cloned off of the MPC8641D-HPCN reference
platform, which actually had a PHY IRQ line connected.  However
this board does not.  The bogus entry was largely inert and went
undetected until commit 321beec5047af83db90c88114b7e664b156f49fe
("net: phy: Use interrupts when available in NOLINK state") was
added to the tree.

With the above commit, the board fails to NFS boot since it sits
waiting for a PHY IRQ event that of course never arrives.  Removing
the bogus entries from the DTS file fixes the issue.
Hi Paul

Originally the interrupt is used for detecting the link has gone
down. That would of also been bogus before. Have you tried this?  If
Haven't tried it, but chances are you are right.
that is also broken, maybe you need to add a fixes: tag so that it
gets back ported?
Nobody noticed in the past ~7 years or so, but I guess I can point Greg
at it once it is present in mainline.  The main reason I'd Cc'd netdev
is just to possibly save anyone else the investigation if they ran into
the same issue on a different board -which seems highly probable IMHO.

Paul.
--
     Andrew

Re: [PATCH] sbc8641: drop bogus PHY IRQ entries from DTS file

From: Andrew Lunn <andrew@lunn.ch>
Date: 2015-12-09 15:29:41

quoted
Originally the interrupt is used for detecting the link has gone
down. That would of also been bogus before. Have you tried this?  If
Haven't tried it, but chances are you are right.
quoted
that is also broken, maybe you need to add a fixes: tag so that it
gets back ported?
Nobody noticed in the past ~7 years or so, but I guess I can point Greg
at it once it is present in mainline.  The main reason I'd Cc'd netdev
is just to possibly save anyone else the investigation if they ran into
the same issue on a different board -which seems highly probable IMHO.
Yes, you are probably right about other boards. So this change might
be considered as causing a regression. But if they are already broken,
because link down does not work, there might be less demand to get the
change reverted....

       Andrew

Re: sbc8641: drop bogus PHY IRQ entries from DTS file

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2015-12-14 09:46:38

On Tue, 2015-08-12 at 22:44:02 UTC, Paul Gortmaker wrote:
This file was originally cloned off of the MPC8641D-HPCN reference
platform, which actually had a PHY IRQ line connected.  However
this board does not.  The bogus entry was largely inert and went
undetected until commit 321beec5047af83db90c88114b7e664b156f49fe
("net: phy: Use interrupts when available in NOLINK state") was
added to the tree.

With the above commit, the board fails to NFS boot since it sits
waiting for a PHY IRQ event that of course never arrives.  Removing
the bogus entries from the DTS file fixes the issue.

Cc: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Paul Gortmaker <redacted>
Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/5b01310cfc8d2302dcca1d8d

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help