]> 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)
commit51e3505a3ac51cf9e13151931dc4cfe92d539578
tree33375a899d95034d4089d4abf945bd39ee272b1b
parent5cb937d0a082bdf7629f0ddf96ccf080414c8320
parent1e1b2f4d402014f8499f2e6c9ff0c3032e39623f
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().
====================