Skip to content

net: phy: mscc-miim: reduce waiting time between MDIO transactions

Antoine Tenart lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net: phy: mscc-miim: use more reasonable delaysdrivers/net/phy/mdio-mscc-miim.c+1 -12 replies
2/4net: phy: mscc-miim: remove redundant timeout checkdrivers/net/phy/mdio-mscc-miim.c+2 -62 replies
3/4net: phy: mscc-miim: improve waiting logicdrivers/net/phy/mdio-mscc-miim.c+13 -22 replies
4/4net: phy: mscc-miim: read poll when high resolution timers are disableddrivers/net/phy/Kconfig drivers/net/phy/mdio-mscc-miim.c+19 -63 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchAlexandre BelloniFlorian Fainelli
1/4R-b R-b
2/4R-b R-b
3/4R-b R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 1 line
2.26.2