]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'stmmac-phy-wol'
authorDavid S. Miller <davem@davemloft.net>
Tue, 29 Jun 2021 18:34:48 +0000 (11:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Jun 2021 18:34:48 +0000 (11:34 -0700)
commit4bc6a0e895e9a783106e195a56c96f7ee5ac6c95
tree33375a899d95034d4089d4abf945bd39ee272b1b
parenta925033e3db4aeb1275924cb0106987796180f7c
parentdfc0b7a6f0f297b3907b331382c900ac13bf5653
Merge branch 'stmmac-phy-wol'

Ling Pei Lee says:

====================
tmmac: 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().
====================