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: Wed, 19 Jan 2022 14:30:09 +0000 From: patchwork-bot+netdevbpf@...nel.org To: Claudiu Beznea <claudiu.beznea@...rochip.com> Cc: andrew@...n.ch, hkallweit1@...il.com, linux@...linux.org.uk, davem@...emloft.net, kuba@...nel.org, ioana.ciornei@....com, netdev@...r.kernel.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH] net: phy: micrel: use kszphy_suspend()/kszphy_resume for irq aware devices Hello: This patch was applied to netdev/net.git (master) by David S. Miller <davem@...emloft.net>: On Tue, 18 Jan 2022 13:08:12 +0200 you wrote: > On a setup with KSZ9131 and MACB drivers it happens on suspend path, from > time to time, that the PHY interrupt arrives after PHY and MACB were > suspended (PHY via genphy_suspend(), MACB via macb_suspend()). In this > case the phy_read() at the beginning of kszphy_handle_interrupt() will > fail (as MACB driver is suspended at this time) leading to phy_error() > being called and a stack trace being displayed on console. To solve this > .suspend/.resume functions for all KSZ devices implementing > .handle_interrupt were replaced with kszphy_suspend()/kszphy_resume() > which disable/enable interrupt before/after calling > genphy_suspend()/genphy_resume(). > > [...] Here is the summary with links: - net: phy: micrel: use kszphy_suspend()/kszphy_resume for irq aware devices https://git.kernel.org/netdev/net/c/f1131b9c23fb You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists