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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Jul 2021 07:44:49 +0000 (09:44 +0200)
commitdb3c3643d55eede8e771e59df59dcc96c98f030a
tree9fcda811f9da7520dc5a2baa9c41ab884134e103
parentf38371821c252e917e0184bfe558ebe816571f66
r8169: avoid link-up interrupt issue on RTL8106e if user enables ASPM

[ Upstream commit 1ee8856de82faec9bc8bd0f2308a7f27e30ba207 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/realtek/r8169_main.c