Thread (44 messages) 44 messages, 5 authors, 2024-07-04

Re: [PATCH RFC net-next v2 3/8] net: stmmac: dwmac1000: convert sgmii/rgmii "pcs" to phylink

From: "Russell King (Oracle)" <linux@armlinux.org.uk>
Date: 2024-06-10 09:24:49
Also in: netdev

On Wed, Jun 05, 2024 at 04:59:14PM -0500, Andrew Halaney wrote:
On Wed, Jun 05, 2024 at 03:05:43PM GMT, Andrew Halaney wrote:
quoted
This seems to me that you're doing the TODO here? Maybe I'm
misunderstanding... maybe not :)
quoted
+		phylink_pcs_change(&hw->mac_pcs, false);
Continuing to read through this all, sorry for the double reply and
possibly dumb question. Should we be passing in false unconditionally
here?
It depends whether there is a way to get the current status of the link
without side effects (e.g. where a read clears a latched-low link
status.) If that's not possible, then passing "false" is safe provided
there aren't any spurious interrupts, since we'll always assume that
the link has dropped. If there are spurious interrupts, then the link
will go down/up each time there's a spurious interrupt. Even so, that's
better than missing a change in the link status which may result in
loss of link without manual intervention.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help