Re: [PATCH v2 net] net: phy: mxl-gpy: add MDINT workaround

From: patchwork-bot+netdevbpf
Date: Wed Dec 07 2022 - 23:10:30 EST


Hello:

This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Mon, 5 Dec 2022 21:04:53 +0100 you wrote:
> At least the GPY215B and GPY215C has a bug where it is still driving the
> interrupt line (MDINT) even after the interrupt status register is read
> and its bits are cleared. This will cause an interrupt storm.
>
> Although the MDINT is multiplexed with a GPIO pin and theoretically we
> could switch the pinmux to GPIO input mode, this isn't possible because
> the access to this register will stall exactly as long as the interrupt
> line is asserted. We exploit this very fact and just read a random
> internal register in our interrupt handler. This way, it will be delayed
> until the external interrupt line is released and an interrupt storm is
> avoided.
>
> [...]

Here is the summary with links:
- [v2,net] net: phy: mxl-gpy: add MDINT workaround
https://git.kernel.org/netdev/net/c/5f4d487d01ff

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html