Re: [PATCH net] net: stmmac: Avoid deadlock on suspend/resume

2019-10-02 Thread David Miller
From: Thierry Reding Date: Wed, 2 Oct 2019 16:49:46 +0200 > From: Thierry Reding > > The stmmac driver will try to acquire its private mutex during suspend > via phylink_resolve() -> stmmac_mac_link_down() -> stmmac_eee_init(). > However, the phylink configuration is updated with the private m

[PATCH net] net: stmmac: Avoid deadlock on suspend/resume

2019-10-02 Thread Thierry Reding
From: Thierry Reding The stmmac driver will try to acquire its private mutex during suspend via phylink_resolve() -> stmmac_mac_link_down() -> stmmac_eee_init(). However, the phylink configuration is updated with the private mutex held already, which causes a deadlock during suspend. Fix this by