lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Fri, 27 Apr 2018 09:22:34 +0530 From: Bhadram Varka <vbhadram@...dia.com> To: Andrew Lunn <andrew@...n.ch>, Jisheng Zhang <Jisheng.Zhang@...aptics.com> CC: Florian Fainelli <f.fainelli@...il.com>, "David S. Miller" <davem@...emloft.net>, <netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>, Jingju Hou <Jingju.Hou@...aptics.com> Subject: Re: [PATCH] net: phy: marvell: clear wol event before setting it Hi Andrew/Jisheng, On 4/26/2018 6:10 PM, Andrew Lunn wrote: >> hmm, so you want a "stick" WOL feature, I dunno whether Linux kernel >> requires WOL should be "stick". > I see two different cases: > > Suspend/resume: The WoL state in the kernel is probably kept across > such a cycle. If so, you would expect another suspend/resume to also > work, without needs to reconfigure it. Trying this scenario (suspend/resume) from my side. In this case WoL should be enabled in the HW. For Marvell PHY to generate WoL interrupt we need to clear WoL status. Above mentioned change required to make this happen. Please share your thoughts on this. > > Boot from powered off: If the interrupt just enables the power supply, > it is possible to wake up after a shutdown. There is no state kept, so > WoL will be disabled in the kernel. So WoL should also be disabled in > the hardware. > > Andrew
Powered by blists - more mailing lists