[PATCH net v10 5/5] net: phy: postpone PHY interrupts during sleep with MAC-managed PM

Igor Velkov iav at iav.lv
Thu Dec 3 15:28:28 PST 2026


> Can this condition ever be true when phydev->irq is a nested-threaded
> child, such as regmap-irq, an I2C/SPI GPIO expander or a switch irqchip?

No. The cover letter lists this line as not covered. Enabling it in the
noirq phase is not safe: enable_irq() goes through chip_bus_sync_unlock(),
which on regmap-irq writes the mask over I2C or SPI.

> Can this enable_irq() abort every suspend with Wake-on-LAN on a
> level-triggered line?

Yes, the level-triggered case in the commit message: the PHY driver has
to restrict its interrupt to Wake-on-LAN in its suspend callback. I have
no such hardware; bcm54xx_suspend() is for a separate patch.

The two Low comments are right; I'll fix them if there is a v11.



More information about the linux-arm-kernel mailing list