Re: [PATCH net-next v3 2/2] net: stmmac: dwmac-motorcomm: support Wake-on-LAN from S5
From: Magnus Leatti
Date: Tue Dec 01 2026 - 21:22:25 EST
On Tue, Dec 01, 2026 at 10:18:23AM +0000, netdev-bot+sashiko@xxxxxxxxxx wrote:
> [Severity: Medium]
> Can the value of wake go stale between rtnl_unlock() and the netdev
> teardown?
[...]
> [Severity: Medium]
> What happens here on boards whose eFuse holds no MAC address?
Both were asked on v2, and so was the Low one about the delay. No code
change since, so same answers [1].
> [Severity: Medium]
> Does the self-arm sequence started by motorcomm_reset() have time to
> finish before power is removed?
No, and it doesn't have to. I read the registers at the end of the hook
on a test build: the chip hasn't armed yet, PMT is still 0 and the MAC
filter is all-ones. "Power down" comes about 0.3 s later and the chip
finishes on standby power. It woke 9 of 9 here, one of them after 15
min off, and it woke on Giuseppe's laptop too.
[1] https://lore.kernel.org/netdev/20261124131805.3303833-1-magnusleatti@xxxxxxxxxxxxxx/
Magnus