APPLIED(F): [SRU] [F/Unstable/OEM-OSP1-B/OEM-5.6] [PATCH 0/1] Fix incorrect speed/duplex when I210 device is runtime suspended
Khaled Elmously
khalid.elmously at canonical.com
Fri Jun 5 05:16:27 UTC 2020
On 2020-05-26 15:16:01 , 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.
>
> Kai-Heng Feng (1):
> igb: Report speed and duplex as unknown when device is runtime
> suspended
>
> drivers/net/ethernet/intel/igb/igb_ethtool.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> --
> 2.17.1
>
>
> --
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
More information about the kernel-team
mailing list