Re: [PATCH 1/3] net: mdio: treat PSE EPROBE_DEFER as non-fatal during PHY registration
From: Kory Maincent <kory.maincent@bootlin.com>
Date: 2026-03-30 11:16:57
Also in:
lkml
From: Kory Maincent <kory.maincent@bootlin.com>
Date: 2026-03-30 11:16:57
Also in:
lkml
On Sun, 29 Mar 2026 18:10:12 +0200 Carlo Szelinsky [off-list ref] wrote:
When a PSE controller driver is built as a module, it may not be probed yet when PHYs are registered on the MDIO bus. This causes fwnode_find_pse_control() -> of_pse_control_get() to return -EPROBE_DEFER, which currently propagates up and destroys the PHY device. Treat -EPROBE_DEFER as non-fatal, allowing the PHY to register successfully with psec=NULL. The PSE control can be resolved lazily when first needed.
I think you should move this patch last on the series because it changes the probe behavior, and needs the other patches to work properly on the lazy resolve case. Acked-by: Kory Maincent <kory.maincent@bootlin.com> Thank you! -- Köry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com