Public bug reported:

[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.

** Affects: hwe-next
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: linux-oem-5.6 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: linux-oem-osp1 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Bionic)
     Importance: Undecided
         Status: Won't Fix

** Affects: linux-oem-5.6 (Ubuntu Bionic)
     Importance: Undecided
         Status: Won't Fix

** Affects: linux-oem-osp1 (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Focal)
     Importance: Undecided
         Status: New

** Affects: linux-oem-5.6 (Ubuntu Focal)
     Importance: Undecided
         Status: New

** Affects: linux-oem-osp1 (Ubuntu Focal)
     Importance: Undecided
         Status: Won't Fix


** Tags: oem-priority originate-from-1857680 somerville

** Also affects: linux (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: linux-oem-osp1 (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: linux-oem-5.6 (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: linux-oem-5.6 (Ubuntu Bionic)
       Status: New => Won't Fix

** Changed in: linux-oem-osp1 (Ubuntu Focal)
       Status: New => Won't Fix

** Changed in: linux (Ubuntu Bionic)
       Status: New => Won't Fix

** Tags added: oem-priority originate-from-1857680 somerville

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1880656

Title:
  Fix incorrect speed/duplex when I210 device is runtime suspended

Status in HWE Next:
  New
Status in linux package in Ubuntu:
  New
Status in linux-oem-5.6 package in Ubuntu:
  New
Status in linux-oem-osp1 package in Ubuntu:
  New
Status in linux source package in Bionic:
  Won't Fix
Status in linux-oem-5.6 source package in Bionic:
  Won't Fix
Status in linux-oem-osp1 source package in Bionic:
  New
Status in linux source package in Focal:
  New
Status in linux-oem-5.6 source package in Focal:
  New
Status in linux-oem-osp1 source package in Focal:
  Won't Fix

Bug description:
  [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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/1880656/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to