[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <HE1PR0402MB27454D43767F864FA3CA8D08FFAF0@HE1PR0402MB2745.eurprd04.prod.outlook.com>
Date: Mon, 27 Apr 2020 15:29:29 +0000
From: Andy Duan <fugang.duan@....com>
To: Leonard Crestez <leonard.crestez@....com>,
Andrew Lunn <andrew@...n.ch>
CC: David Miller <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>,
Chris Healy <Chris.Healy@....aero>,
dl-linux-imx <linux-imx@....com>
Subject: RE: [PATCH] net: ethernet: fec: Replace interrupt driven MDIO with
polled IO
From: Leonard Crestez <leonard.crestez@....com> Sent: Monday, April 27, 2020 11:20 PM
> Hello,
>
> This patch breaks network boot on at least imx8mm-evk. Boot works if I
> revert just commit 29ae6bd1b0d8 ("net: ethernet: fec: Replace interrupt
> driven MDIO with polled IO") on top of next-20200424.
>
> Running with tp_printk trace_event=mdio:* shows the phy identifier is not
> read correctly:
>
> BAD:
> [ 9.058457] mdio_access: 30be0000.ethernet-1 read phy:0x00
> reg:0x02
> val:0x0000
> [ 9.065857] mdio_access: 30be0000.ethernet-1 read phy:0x00
> reg:0x03
> val:0x0000
>
> GOOD:
> [ 9.100485] mdio_access: 30be0000.ethernet-1 read phy:0x00
> reg:0x02
> val:0x004d
> [ 9.108271] mdio_access: 30be0000.ethernet-1 read phy:0x00
> reg:0x03
> val:0xd074
>
> I don't have the original patch in my inbox, hope the manual In-Reply-To
> header is OK.
>
> --
> Regards,
> Leonard
Leonard, I already sent out the revert patch to net mail list today.
Thanks for report this issue.
Regards,
Andy
Powered by blists - more mailing lists