Skip to content

Add option to enable PHY WOL with PMT enabled

Ling Pei Lee linux-arm-kernel lkml netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (refs/heads/master):

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesApplied 3/3
  2. v14 patches 10 repliesSuperseded

Change Log from the cover letter

V2: Drop Patch #3 net: stmmac: Reconfigure the PHY WOL settings in stmmac_resume().

Patches in v2 All 3 applied

#Subject and filesSizeRepliesApplied
1/3net: stmmac: option to enable PHY WOL with PMT enableddrivers/net/ethernet/stmicro/stmmac/stmmac_main.c include/linux/stmmac.h+3 -10 repliesApplied
2/3stmmac: intel: Enable PHY WOL option in EHLdrivers/net/ethernet/stmicro/stmmac/dwmac-intel.c+1 -00 repliesApplied
3/3stmmac: intel: set PCI_D3hot in suspenddrivers/net/ethernet/stmicro/stmmac/dwmac-intel.c+1 -00 repliesApplied

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH net-next V2 0/3] Add option to enable PHY WOL with PMT enabled

This patchset main objective is to provide an option to enable PHY WoL even the PMT is enabled by default in the HW features.

The current stmmac driver WOL implementation will enable MAC WOL if MAC HW PMT feature is on. Else, the driver will check for PHY WOL support.
Intel EHL mgbe are designed to wake up through PHY WOL although the HW PMT is enabled.Hence, introduced use_phy_wol platform data to provide this PHY WOL option. Set use_phy_wol will disable the plat->pmt which currently used to determine the system to wake up by MAC WOL or PHY WOL.

This WOL patchset includes of setting the device power state to D3hot.
This is because the EHL PSE will need to PSE mgbe to be in D3 state in order for the PSE to goes into suspend mode.

Change Log:
V2: Drop Patch #3 net: stmmac: Reconfigure the PHY WOL settings in stmmac_resume().

Ling Pei Lee (2):
net: stmmac: option to enable PHY WOL with PMT enabled
stmmac: intel: Enable PHY WOL option in EHL

Voon Weifeng (1):
stmmac: intel: set PCI_D3hot in suspend

 drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c | 2 ++
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 3 ++-
 include/linux/stmmac.h                            | 1 +
 3 files changed, 5 insertions(+), 1 deletion(-)
Signature · 1 line
2.25.1