Skip to content

Handle stuck TX queue bug in AT8030 PHY

Daniel Mack netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v13 patches 4 repliesSuperseded

Changes in v2 from the cover letter

* Rename phy device callback from adjust_state to link_change_notify

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: phylib: add link_change_notify callback to phy devicedrivers/net/phy/phy.c include/linux/phy.h+12 -00 replies
2/3net: phy: at803x: use #defines for supported PHY idsdrivers/net/phy/at803x.c+10 -60 replies
3/3net: phy: at803x: Add support for hardware resetdrivers/net/phy/at803x.c+144 -410 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] Handle stuck TX queue bug in AT8030 PHY

These three small patches circument a hardware bug in AT8030 PHYs that leads to stuck TX FIFO queues when the link goes away while there are pending patches in der outbound queue. This bug has been confirmed by the vendor, and their only proposed fix is to apply a hardware reset every time the link goes down.

Thanks,
Daniel

v1 -> v2:
* Rename phy device callback from adjust_state to link_change_notify

Daniel Mack (3):
net: phylib: add link_change_notify callback to phy device
net: phy: at803x: use #defines for supported PHY ids
net: phy: at803x: Add support for hardware reset

 drivers/net/phy/at803x.c | 195 ++++++++++++++++++++++++++++++++++++-----------
 drivers/net/phy/phy.c    |   3 +
 include/linux/phy.h      |   9 +++
 3 files changed, 163 insertions(+), 44 deletions(-)
Signature · 1 line
1.9.3