[PATCH net-next v2 4/6] net: mdio: scan bus based on bus capabilities for C22 and C45
Andrew Lunn
andrew at lunn.ch
Fri Mar 10 15:49:03 PST 2023
> Yes, that helps. Primarily, because mdiobus_scan_bus_c45 now is called only once,
> and at least some things are done in parallel.
Great. Could you cook up a proper patch and submit it?
> (Still, ~2s waiting for the C45 scan to complete).
The number of times it polled for the bit is somewhat high. The silly
thing here is, you are doing MDIO over MDIO. The inner MDIO bus should
be just as fast as the outer MDIO bus, both around 2.5MHz. So i don't
see why it should need to loop more than once waiting for the inner
MDIO to complete..
Andrew
More information about the linux-arm-kernel
mailing list