APPLIED[Unstable]: [SRU] [F/Unstable/OEM-OSP1-B/OEM-5.6] [PATCH 0/1] Fix incorrect speed/duplex when I210 device is runtime suspended
Seth Forshee
seth.forshee at canonical.com
Mon Jun 1 21:28:45 UTC 2020
On Tue, May 26, 2020 at 03:16:01PM +0800, Kai-Heng Feng wrote:
> BugLink: https://bugs.launchpad.net/bugs/1880656
>
> [Impact]
> When I210 device is runtime suspended, trying to read speed or duplex from
> sysfs causes an error:
> [ 385.991957] igb 0000:03:00.0 enp3s0: PCIe link lost
>
> [Fix]
> Only try to read the device register when it's not runtime suspended.
>
> [Test]
> Without the fix:
> $ cat /sys/class/net/enp3s0/speed
> 1000
>
> With the fix:
> $ cat /sys/class/net/enp3s0/speed
> -1
>
> -1 means "unknown speed", which is the correct status when device is runtime
> suspend.
>
> [Regression Potential]
> Low. It's a trivial fix which limits to one driver.
Applied to unstable/master, thanks!
More information about the kernel-team
mailing list