Messages in this thread |  | | Date | Fri, 10 Apr 2026 18:00:50 +0200 | | From | Andrew Lunn <> | | Subject | Re: [PATCH net-next] net: phy: call phy_init_hw() in phy resume path |
| |
On Fri, Apr 10, 2026 at 04:22:23PM +0100, Russell King (Oracle) wrote: > On Fri, Apr 10, 2026 at 05:15:21PM +0200, Andrew Lunn wrote: > > > 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? > > If we have a problem calling phy_init_hw() with phydev->lock held, then:
I thought it was an AB-BA with RTNL?
Lets see what PROVE_LOCKING actually says. I could be remembering wrongly.
Andrew
|  |