[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <fb5d253c-2b0e-c629-82a3-c668536cb5ce@gmail.com>
Date: Wed, 10 May 2023 07:17:43 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: netdev@...r.kernel.org
Cc: Doug Berger <opendmb@...il.com>,
Broadcom internal kernel review list
<bcm-kernel-feedback-list@...adcom.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH net] net: bcmgenet: Restore phy_stop() depending upon
suspend/close
On 5/9/2023 3:59 PM, Florian Fainelli wrote:
> Removing the phy_stop() from bcmgenet_netif_stop() ended up causing
> warnings from the PHY library that phy_start() is called from the
> RUNNING state since we are no longer stopping the PHY state machine.
>
> Restore the call to phy_stop() but make it conditional on being called
> fro the close or suspend path.
>
> Fixes: 93e0401e0fc0 ("net: bcmgenet: Remove phy_stop() from bcmgenet_netif_stop()")
> Signed-off-by: Florian Fainelli <f.fainelli@...il.com>
Please do not apply this just yet, I need to run some additional tests,
thanks!
--
Florian
Powered by blists - more mailing lists