[PATCH net-next] net: stmmac: dwmac-sun8i: Defer probe when the EPHY clock is not ready
Arun Iyengar
aiyengar1990 at gmail.com
Tue Nov 17 19:19:55 PST 2026
Hi Maxime,
You and the bot are right: get_ephy_nodes() runs after stmmac_pltfr_probe()
has registered the netdev, so the deferral comes too late.
Yes, the internal and the external PHY are both behind the mux. stmmac
attaches the PHY at open, so today the mux is registered only after the
netdev is visible.
It was build-tested only, as the notes said; I have no H3, H5 or V3s board
with the internal PHY.
I will drop this patch and move the mux registration into the MDIO setup,
together with the probe and remove ordering that Chen-Yu raised on the mux
use-after-free patch.
More information about the linux-arm-kernel
mailing list