Re: [PATCH net-next] net: phy: call phy_init_hw() in phy resume path

Andrew Lunn
2026-04-10T15:15:45Z

> Apart from that, looks fine to me - it seems some paths call
> phy_init_hw() can be called with or without phydev->lock held, and
> this one will call it with the lock held which seems to be okay.

Haven't we had deadlocks in this area before?

Please test with CONFIG_PROVE_LOCKING enabled.

Andrew