Thread (6 messages) 6 messages, 3 authors, 8d ago

Re: [PATCH net] net: stmmac: dwmac-rk: keep the GMAC powered when the PHY wakes the system

flat view

From: Andrew Lunn <andrew@lunn.ch>
Date: 2026-09-30 21:52:06
Also in: linux-rockchip, lkml, netdev

On Wed, Sep 30, 2026 at 07:34:45PM +0000, Igor Velkov via B4 Relay wrote:
From: Igor Velkov <redacted>

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help