[PATCH 0/5] net: stmmac: improve WOL

Jisheng Zhang Jisheng.Zhang at synaptics.com
Mon Jul 27 07:01:07 EDT 2020


Currently, stmmac driver relies on the HW PMT to support WOL. We want
to support phy based WOL.

patch1 is a small improvement to disable WAKE_MAGIC for PMT case if
no pmt_magic_frame.
patch2 and patch3 are two prepation patches.
patch4 implement the phy based WOL
patch5 tries to save a bit energy if WOL is enabled.

Jisheng Zhang (5):
  net: stmmac: Remove WAKE_MAGIC if HW shows no pmt_magic_frame
  net: stmmac: Move device_can_wakeup() check earlier in set_wol
  net: stmmac: only call pmt() during suspend/resume if HW enables PMT
  net: stmmac: Support WOL with phy
  net: stmmac: speed down the PHY, if WoL used, to save energy

 .../ethernet/stmicro/stmmac/stmmac_ethtool.c  | 19 ++++++++++++++++---
 .../net/ethernet/stmicro/stmmac/stmmac_main.c | 18 +++++++++++++++---
 2 files changed, 31 insertions(+), 6 deletions(-)

-- 
2.28.0.rc0




More information about the linux-arm-kernel mailing list