On Sun, Apr 9, 2017 at 6:42 PM, Andy Duan <fugang.d...@nxp.com> wrote: > From: Tim Harvey <thar...@gateworks.com> Sent: Friday, April 07, 2017 10:47 PM >>To: netdev <netdev@vger.kernel.org> >>Cc: Fabio Estevam <fabio.este...@nxp.com>; Lucas Stach >><l.st...@pengutronix.de>; Andy Duan <fugang.d...@nxp.com>; Koen >>Vandeputte <koen.vandepu...@ncentric.com> >>Subject: IMX6 FEC connection drops occasionally with 'MDIO read timeout' >> >>Greetings, >> >>I've had a couple of users report that they are getting occasional link drops >>when using IMX6 FEC on our boards which are using a Marvell >>88E1510 PHY: >> >>[ 9348.474418] fec 2188000.ethernet eth0: MDIO read timeout [ 9350.478804] >>fec 2188000.ethernet eth0: Link is Down >> >>If they bring the interface back up it works fine. >> >>The most recent version of Linux they have tested and seen this on is >>v4.9 with CONFIG_MARVELL_PHY=y >> >>Has anyone else run into this or know what the issue could be? Should there >>be any retries at the MDIO level or above? >> >>Regards, >> >>Tim > > Pls keep ipg clock always on and try it. > In general, MDIO timeout maybe caused by ipg clock off and mii interrupt lost. >
Andy, Sounds like what Andrew was talking about. In this case suspend/resume is not being used. Is there any other way IPG can get turned off that I should be looking at? Tim