Re: [PATCH net-next v2 2/7] net: bcmgenet: Fix WoL with password after deep sleep
From: Florian Fainelli
Date: Wed Apr 29 2020 - 17:22:25 EST
On 4/29/20 1:02 PM, Doug Berger wrote:
> Broadcom STB chips support a deep sleep mode where all register contents
> are lost. Because we were stashing the MagicPacket password into some of
> these registers a suspend into that deep sleep then a resumption would
> not lead to being able to wake-up from MagicPacket with password again.
>
> Fix this by keeping a software copy of the password and program it
> during suspend.
>
> Fixes: c51de7f3976b ("net: bcmgenet: add Wake-on-LAN support code")
> Suggested-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
> Signed-off-by: Doug Berger <opendmb@xxxxxxxxx>
Acked-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian