[Intel-wired-lan] [PATCH v2] e1000e: Increase iteration on polling MDIC ready bit
Andrew Lunn
andrew at lunn.ch
Thu Sep 24 16:04:47 UTC 2020
On Thu, Sep 24, 2020 at 05:32:12PM +0200, Paul Menzel wrote:
> Dear Kai-Heng,
>
>
> Thank you for sending version 2.
>
> Am 24.09.20 um 17:09 schrieb Kai-Heng Feng:
> > We are seeing the following error after S3 resume:
>
> I’d be great if you added the system and used hardware, you are seeing this
> with.
>
> > [ 704.746874] e1000e 0000:00:1f.6 eno1: Setting page 0x6020
> > [ 704.844232] e1000e 0000:00:1f.6 eno1: MDI Write did not complete
>
> A follow-up patch, should extend the message to include the timeout value.
>
> > MDI Write did not complete did not complete in … seconds.
>
> According to the Linux timestamps it’s 98 ms, which makes sense, as (640 * 3
> * 50 μs = 96 ms).
>
> What crappy hardware is this, that it takes longer than 100 ms?
I'm speculating, but i guess this happens with just the first couple
of transfers after power up. After that, it probably takes a single
loop. It would be good to see some profile data for this. Completely
different MDIO driver and implementation, but this patch might give
some ideas how to do the profiling:
https://github.com/lunn/linux/commit/76c7810a7e2c1b1e28a7a95d08dd440a8f48a516
Look at the debugfs and num_loops/us parts.
Andrew
More information about the Intel-wired-lan
mailing list