[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e683d959-e743-cee5-176f-fd4b0c79b3b7@gmail.com>
Date: Thu, 14 Sep 2023 11:22:32 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: "Russell King (Oracle)" <rmk+kernel@...linux.org.uk>,
Andrew Lunn <andrew@...n.ch>, Heiner Kallweit <hkallweit1@...il.com>
Cc: chenhao418@...wei.com, "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>,
Jijie Shao <shaojijie@...wei.com>, lanhao@...wei.com,
liuyonglong@...wei.com, netdev@...r.kernel.org,
Paolo Abeni <pabeni@...hat.com>, shenjian15@...wei.com,
wangjie125@...wei.com, wangpeiyang1@...wei.com
Subject: Re: [PATCH net-next 4/7] net: phy: move phy_suspend() to end of
phy_state_machine()
On 9/14/23 08:35, Russell King (Oracle) wrote:
> Move the call to phy_suspend() to the end of phy_state_machine() after
> we release the lock so that we can combine the locked areas.
> phy_suspend() can not be called while holding phydev->lock as it has
> caused deadlocks in the past.
>
> Tested-by: Jijie Shao <shaojijie@...wei.com>
> Signed-off-by: Russell King (Oracle) <rmk+kernel@...linux.org.uk>
Reviewed-by: Florian Fainelli <florian.fainelli@...adcom.com>
--
Florian
Powered by blists - more mailing lists