[PATCH net] net: stmmac: dwmac-rk: keep the GMAC powered when the PHY wakes the system
Andrew Lunn
andrew at lunn.ch
Wed Sep 30 14:51:45 PDT 2026
On Wed, Sep 30, 2026 at 07:34:45PM +0000, Igor Velkov via B4 Relay wrote:
> From: Igor Velkov <iav at iav.lv>
>
> Since commit 6911308d7d11 ("net: stmmac: convert to phylink-managed
> Wake-on-Lan"), the MAC device gets its wakeup flag only when the MAC
> handles Wake-on-LAN itself. When the PHY handles it, device_may_wakeup()
> is false for the MAC, and rk_gmac_suspend() powers the GMAC down: its
> clocks stop and phy-supply is released.
>
> On Helios64 (RTL8211F, Wake-on-LAN in the PHY) the board then hangs on
> the first or second suspend with a magic-packet wake.
You have not answered the question why is hangs? Given the current
description, this just sounds like a workaround, not a fix.
Andrew
More information about the Linux-rockchip
mailing list