@@ -28,7 +28,6 @@
#include <linux/pm_runtime.h>
#include <linux/firmware.h>
#include <linux/prefetch.h>
-#include <linux/pci-aspm.h>
#include <linux/ipv6.h>
#include <net/ip6_checksum.h>
@@ -7225,11 +7224,6 @@ static int rtl_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
return rc;
}
- /* Disable ASPM completely as that cause random device stop working
- * problems as well as full system hangs for some PCIe devices users.
- */
- pci_disable_link_state(pdev, PCIE_LINK_STATE_L0S | PCIE_LINK_STATE_L1);
-
/* enable device (incl. PCI PM wakeup and hotplug setup) */
rc = pcim_enable_device(pdev);
if (rc < 0) {
BugLink: https://bugs.launchpad.net/bugs/1836030 This reverts commit 8b60fe9c63d2b1dc55412bfbc7e4a899063f61c3. PCI/ASPM have been merged, so we rely on the PCI ASPM setting from BIOS, and don't need to enable/disable ASPM function on r8169 driver. Signed-off-by: AceLan Kao <acelan.kao@canonical.com> --- drivers/net/ethernet/realtek/r8169.c | 6 ------ 1 file changed, 6 deletions(-)