Re: [PATCH net-next v2 3/3] net: mdio: treat PSE EPROBE_DEFER as non-fatal during PHY registration
From: Russell King (Oracle)
Date: Thu Apr 09 2026 - 12:09:22 EST
On Thu, Apr 09, 2026 at 05:34:56PM +0200, Andrew Lunn wrote:
> I still think we should be deferring probe until we have all the parts
> available. The question is, how do we actually do that?
Indeed...
> We could insist that MACs being used with PSE need to call
> phylink_connect() in probe, so we can return EPROBE_DEFER. We might
> actually need a new API method, phylink_connect_probe(). That can call
> down into phylib, maybe again new API methods, which will not bind
> genphy, but return EPROBE_DEFER.
How would MACs know whether they should call phylink_connect_probe()
or phylink_connect_phy() ?
What do we do about MAC drivers that are a single driver and device,
but are made up of several network devices (like Marvell PP2) ?
We also have network drivers that provide a MDIO bus for a different
network device, which makes connecting the PHY harder in the probe
path.
Lastly, what do we do where a PHY driver hasn't been configured or
doesn't exist for the PHY?
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!