[PATCH net-next 0/4] net: phy: mscc-miim: reduce waiting time between MDIO transactions

From: Antoine Tenart
Date: Tue May 26 2020 - 12:23:39 EST


Hello,

This series aims at reducing the waiting time between MDIO transactions
when using the MSCC MIIM MDIO controller.

I'm not sure we need patch 4/4 and we could reasonably drop it from the
series. I'm including the patch as it could help to ensure the system
is functional with a non optimal configuration.

We needed to improve the driver's performances as when using a PHY
requiring lots of registers accesses (such as the VSC85xx family),
delays would add up and ended up to be quite large which would cause
issues such as: a slow initialization of the PHY, and issues when using
timestamping operations (this feature will be sent quite soon to the
mailing lists).

Thanks,
Antoine

Antoine Tenart (4):
net: phy: mscc-miim: use more reasonable delays
net: phy: mscc-miim: remove redundant timeout check
net: phy: mscc-miim: improve waiting logic
net: phy: mscc-miim: read poll when high resolution timers are
disabled

drivers/net/phy/Kconfig | 3 ++-
drivers/net/phy/mdio-mscc-miim.c | 33 +++++++++++++++++++++++++-------
2 files changed, 28 insertions(+), 8 deletions(-)

--
2.26.2