Re: [PATCH net v8 2/5] net: phy: fix three paths that unbalance a postponed PHY interrupt line
From: Igor Velkov
Date: Mon Nov 23 2026 - 23:28:08 EST
> Can a stale irq_rerun here turn a stuck line into an interrupt storm?
Yes, this is the first of the three cases the commit message leaves
open, and it lasts until this PHY resumes. Closing it needs to know
whether this PHY's disable still counts in the line's depth, and phylib
has no interface for that.
> Should this check use phydev->irq_rerun_line rather than phydev->irq?
Agreed, it should match phy_request_interrupt(). I will fix it in the
next version or in a follow-up.
> Is this PHY's disable still counted in the line's depth when this
> enable_irq() runs?
This is the case the cover letter lists as not covered: another user
requests the line before this PHY does. That the enable can also cancel
the other user's disable_irq() is missing; I will add it to the commit
message.