]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: avoid link-up interrupt issue on RTL8106e if user enables ASPM
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 10 Jun 2021 20:56:59 +0000 (22:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Jun 2021 19:54:25 +0000 (12:54 -0700)
commitc9b3876a8f089c3cbecb2c5f2f54e4d16dea027d
treebafd7d5918099ac8ffb0bc6872c0119d21333ebc
parente1323dbac574562319d386a9840676cb2bb345f7
r8169: avoid link-up interrupt issue on RTL8106e if user enables ASPM

It has been reported that on RTL8106e the link-up interrupt may be
significantly delayed if the user enables ASPM L1. Per default ASPM
is disabled. The change leaves L1 enabled on the PCIe link (thus still
allowing to reach higher package power saving states), but the
NIC won't actively trigger it.

Reported-by: Koba Ko <koba.ko@canonical.com>
Tested-by: Koba Ko <koba.ko@canonical.com>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169_main.c