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

From: willemb

Date: Sun Nov 29 2026 - 08:58:03 EST


Igor Velkov wrote:
> 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.

Please go ahead and post v9 incorporating the phy_free_interrupt() matching fix and the separate bool under irq_pm_lock.

--

pw-bot: cr