[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181216153019.GA25181@lunn.ch>
Date: Sun, 16 Dec 2018 16:30:19 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Heiner Kallweit <hkallweit1@...il.com>
Cc: Florian Fainelli <f.fainelli@...il.com>,
David Miller <davem@...emloft.net>,
Fugang Duan <fugang.duan@....com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next 1/2] net: phy: don't stop state machine in case
of MDIO error
> After checking the fec history it seems that at the time this
> workaround was added as part of phylib support (8 years ago),
> the MDIO access timeout value was too low and therefore sometimes
> MDIO access failed. Later timeout was set to a higher value and
> driver switched to an event-driven mechanism to signal end of
> MDIO access. So it should be safe to remove the workaround.
Hi Heiner
Thanks for digging into the details.
>
> One issue with phy_error() is that it silently stops the PHY.
> We should at least add a phydev_err() to let the user know.
Yes, that is a good idea.
Andrew
Powered by blists - more mailing lists