Re: [PATCH net-next 2/2] net: stmmac: dwmac-motorcomm: support Wake-on-LAN from S5
From: Magnus Leatti
Date: Thu Nov 19 2026 - 13:00:00 EST
Hi Yao and Andrew,
On Tue, Nov 17, 2026 at 10:26:52AM +0000, Yao Zi wrote:
> I think it's likely not BIOS setting this up, since the chip's behavior
> is the same when a reset is manually triggered, according to Magnus'
> test.
Fair: BIOS ran before my dump, but if I trigger SYS_RESET from Linux
with no driver, the chip behaves the same: OOB_WOL_CTRL_DIS clear,
GMAC_PMT = 3 (power_down | magic_pkt_en), eFuse MAC in filter 0,
WOL_CTRL_PKT_EN clear. No BIOS involvement, and v2 counts on that
Yao, on power failure: yup... it fails to wake. I tested it today with
the v2 module and "wol g", BIOS set to stay off when the power comes
back:
power-off wake on the eFuse address
power-off, cable out, in stays off, no wake in 4 min of magic packets
So if power drops, it just won't wake until it's been shut down cleanly
through the driver again.
FWIW the vendor driver does the same: wakes after a normal power-off,
sleeps through everything after a power loss. So its the hardware and
not something a driver can fix.
Thank you both for your time! I will be sending V2 in the upcoming days.
Magnus