diff options
author | Jakub Kicinski <kuba@kernel.org> | 2021-04-09 16:37:08 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-04-09 16:37:09 -0700 |
commit | 6597b5c21c1b53df702d1de369a21aaa31dbbe2c (patch) | |
tree | 11de227d4635e2aea55f610232933eccc265b44a /drivers/net/ethernet/chelsio | |
parent | a7150e382267d5d2bb3e1a2a07776e97646b0952 (diff) | |
parent | 5c2280fc2ee4c6f0ee1f0d0adf6b76f1023b5e99 (diff) |
Merge branch 'net-make-phy-pm-ops-a-no-op-if-mac-driver-manages-phy-pm'
Heiner Kallweit says:
====================
net: make PHY PM ops a no-op if MAC driver manages PHY PM
Resume callback of the PHY driver is called after the one for the MAC
driver. The PHY driver resume callback calls phy_init_hw(), and this is
potentially problematic if the MAC driver calls phy_start() in its resume
callback. One issue was reported with the fec driver and a KSZ8081 PHY
which seems to become unstable if a soft reset is triggered during aneg.
The new flag allows MAC drivers to indicate that they take care of
suspending/resuming the PHY. Then the MAC PM callbacks can handle
any dependency between MAC and PHY PM.
====================
Link: https://lore.kernel.org/r/9e695411-ab1d-34fe-8b90-3e8192ab84f6@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/chelsio')
0 files changed, 0 insertions, 0 deletions