Thread (12 messages) flat view 12 messages, 5 authors, 2021-08-07

Re: [PATCH v1 3/3] net: mdio-mux: Handle -EPROBE_DEFER correctly

From: Andrew Lunn <andrew@lunn.ch>
Date: 2021-08-07 15:49:45
Also in: lkml

On Wed, Aug 04, 2021 at 02:43:32PM -0700, Saravana Kannan wrote:
When registering mdiobus children, if we get an -EPROBE_DEFER, we shouldn't
ignore it and continue registering the rest of the mdiobus children. This
would permanently prevent the deferring child mdiobus from working instead
of reattempting it in the future. So, if a child mdiobus needs to be
reattempted in the future, defer the entire mdio-mux initialization.

This fixes the issue where PHYs sitting under the mdio-mux aren't
initialized correctly if the PHY's interrupt controller is not yet ready
when the mdio-mux is being probed. Additional context in the link below.

Link: https://lore.kernel.org/lkml/CAGETcx95kHrv8wA-O+-JtfH7H9biJEGJtijuPVN0V5dUKUAB3A@mail.gmail.com/#t (local)
Signed-off-by: Saravana Kannan <redacted>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help