I can confirm r8169 enters D3 when no cable is plugged.

** Tags removed: verification-needed-xenial
** Tags added: verification-done-xenial

You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.

  Fix Runtime PM for r8169

Status in HWE Next:
Status in linux package in Ubuntu:
Status in linux-oem package in Ubuntu:
Status in linux source package in Xenial:
Status in linux-oem source package in Xenial:
  Fix Committed
Status in linux source package in Artful:
Status in linux source package in Bionic:
Status in linux-oem source package in Bionic:

Bug description:
  ===SRU Justification===
  r8169 stays in D0 even when no ethernet cable is plugged in. This drains
  lots of power (~3W). The tested laptop uses 5.5W when r8169 is in D0,
  1.8W when r8169 is in D3. The power saved is substantial.

  Improved rumtime PM logic to let the device gets suspended (D3) when the
  port is not in used and the link is down.

  [Test Case]
  The chip version is 8168h/8111h.
  Test when no ethernet gets plugged.
  Powertop shows power consumption is roughly 5.5W.
  lspci shows the device is in D0.
  With the patch,
  The power consumption is reduced to 1.8W.
  lspci shows the device is in D3, PME# is correctly enabled.
  Plug ethernet cable can corretly wake up the device.
  Unplug the cable, the device gets suspended to D3 correctly.

  [Regression Potential]
  - r8169 is so ubiquitous, with lots of different chip versions. It's
    hard to test all of them.
  - PCI D3 needs system firmware (ACPI) support, this might hit some
    plaform bugs.
  - the code is still in v4.16-rc*, so it's not well tested by end users.

To manage notifications about this bug go to:

Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to