Re: [PATCH net v8 5/5] net: phy: postpone PHY interrupts during sleep with MAC-managed PM
From: Igor Velkov
Date: Mon Nov 23 2026 - 23:28:49 EST
> in some topologies the replay here can still reach the MDIO bus before
> the MAC has resumed.
Yes, the commit message describes it; the patch moves this access
later, not earlier.
> Can this abort every suspend for a Broadcom BCM54210E behind stmmac with
> PHY Wake-on-LAN on a level-triggered line?
That is the level-triggered case the commit message describes: 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.
> Could the check fall back to irqd_is_wakeup_set() for nested-thread
> lines?
The cover letter lists these lines as not covered. Enabling one 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 while the bus
controller may already be suspended.