[BUG] net: phy: genphy_loopback: add link speed configuration

From: Ismail, Mohammad Athari
Date: Tue Dec 14 2021 - 02:02:45 EST


Hi Oleksij,

"net: phy: genphy_loopback: add link speed configuration" patch causes Marvell 88E1510 PHY not able to perform PHY loopback using ethtool command (ethtool -t eth0 offline). Below is the error message:

"Marvell 88E1510 stmmac-3:01: genphy_loopback failed: -110"

Tested on Intel Elkhart Lake platform (Synopsys Designware QoS MAC and Marvell88E1510 PHY). Kernel version is 5.15.x.

Reverting the patch able to fix the issue.

Thank you.

Regards,
Athari