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

From: Andrew Lunn

Date: Fri Apr 10 2026 - 11:22:08 EST


> 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