Skip to content

net: Incorrect use of phy_read_status()

Florian Fainelli lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net: mv643xx_eth: Do not clobber PHY link outside of state machinedrivers/net/ethernet/marvell/mv643xx_eth.c+1 -31 reply
2/4net: pxa168_eth: Do not clobber PHY link outside of state machinedrivers/net/ethernet/marvell/pxa168_eth.c+1 -190 replies
3/4net: netcp: Do not clobber PHY link outside of state machinedrivers/net/ethernet/ti/netcp_ethss.c+0 -20 replies
4/4net: dsa: Do not clobber PHY link outside of state machinenet/dsa/slave.c+3 -73 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchAndrew Lunn
1/4R-b
2/4
3/4
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: Incorrect use of phy_read_status()

Hi all,

This patch series removes incorrect uses of phy_read_status() which can clobber the PHY device link while we are executing with the state machine running.

greth was potentially another candidate, but it does funky stuff with auto-negotation that I am still trying to understand.

Florian Fainelli (4):
net: mv643xx_eth: Do not clobber PHY link outside of state machine
net: pxa168_eth: Do not clobber PHY link outside of state machine
net: netcp: Do not clobber PHY link outside of state machine
net: dsa: Do not clobber PHY link outside of state machine

 drivers/net/ethernet/marvell/mv643xx_eth.c |  4 +---
 drivers/net/ethernet/marvell/pxa168_eth.c  | 20 +-------------------
 drivers/net/ethernet/ti/netcp_ethss.c      |  2 --
 net/dsa/slave.c                            | 10 +++-------
 4 files changed, 5 insertions(+), 31 deletions(-)
Signature · 1 line
2.9.3