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

From: Andrew Lunn

Date: Sun Oct 04 2026 - 10:35:29 EST


> /* Wakeup interrupts may occur during the system sleep transition when
> * the PHY is inaccessible. Set flag to postpone handling until the PHY
> * has resumed. Wait for concurrent interrupt handler to complete.
> + * The MDIO bus may be powered down even when the MAC manages PHY PM.

Just think about that statement. MAC manages _PHY_ PM. It is not MAC
managed _PHY and MDIO_ bus PM.

To me, this is key, because it means your whole approach is
wrong. Lets start with a clear definition what MAC manages PHY PM
is. Then we can decide on a solution.

Andrew

---
pw-bot: cr