Re: [PATCH net v8 4/5] net: phy: run a postponed PHY interrupt handler directly on resume

From: Igor Velkov

Date: Mon Nov 23 2026 - 23:28:15 EST


> Can phydev->interrupts reliably tell us that the PHY still has its
> interrupt requested at this point?

> Is this read of phydev->interrupts really serialized against the write in
> phy_free_interrupt()?

Agreed on both: some resume callbacks set the bit again, and it shares
a bitfield word. I will gate the rerun on a separate bool that only
phy_request_interrupt() and phy_free_interrupt() write under
irq_pm_lock, in the next version or in a follow-up, and update both
irq_pm_lock comments with it.