Re: [PATCH net-next v2 0/2] net: stmmac: Fix PHY attach when custom PCS is in use
From: Jakub Kicinski
Date: Tue Jul 28 2026 - 22:12:28 EST
On Mon, 27 Jul 2026 08:49:11 +0200 Maxime Chevallier wrote:
> On 7/26/26 15:26, Zxyan Zhu wrote:
> > This series fixes the issue where stmmac platforms using a custom PCS
> > via the pcs_init callback fail to probe when no phy-handle is specified
> > in the device tree.
> >
> > Patch 1 is Russell King's phylink patch that relaxes phylink_expects_phy()
> > to allow PHYs to be attached in 802.3z inband mode.
> >
> > Patch 2 skips the PHY attach in stmmac when a custom PCS is already
> > configured via priv->hw->phylink_pcs, avoiding the "no phy found" error
> > for platforms that manage link state entirely through the PCS.
>
> I've tested this series on the board that saw the regression from Russell's
> first attempt, and now with the associated stmmac patch, it works :)
Both Sashikos see a risk of regression here, could you TAL and confirm
it's not real / unlikely?