Skip to content

Commit 47a7e9f

Browse files
acelanSeth Forshee
authored andcommitted
UBUNTU: SAUCE: r8169: disable ASPM L1.1
BguLink: https://bugs.launchpad.net/bugs/1836030 r8169 doesn't suport ASPM L1.1, so we don't have to disable ASPM completely. Disable ASPM L1.1 doesn't affect the power consumption and the network function keeps working after S3 test 30 times. Signed-off-by: AceLan Kao <acelan.kao@canonical.com> Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
1 parent d7e445f commit 47a7e9f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/net/ethernet/realtek/r8169_main.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7094,8 +7094,7 @@ static int rtl_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
70947094
/* Disable ASPM completely as that cause random device stop working
70957095
* problems as well as full system hangs for some PCIe devices users.
70967096
*/
7097-
rc = pci_disable_link_state(pdev, PCIE_LINK_STATE_L0S |
7098-
PCIE_LINK_STATE_L1);
7097+
rc = pci_disable_link_state(pdev, PCIE_LINK_STATE_L1_1);
70997098
tp->aspm_manageable = !rc;
71007099

71017100
/* enable device (incl. PCI PM wakeup and hotplug setup) */

0 commit comments

Comments
 (0)