r8169: avoid link-up interrupt issue on RTL8106e if user enables ASPM
[ Upstream commit 1ee8856de8 ]
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
f38371821c
commit
db3c3643d5
@@ -3547,7 +3547,6 @@ static void rtl_hw_start_8106(struct rtl8169_private *tp)
|
|||||||
rtl_eri_write(tp, 0x1b0, ERIAR_MASK_0011, 0x0000);
|
rtl_eri_write(tp, 0x1b0, ERIAR_MASK_0011, 0x0000);
|
||||||
|
|
||||||
rtl_pcie_state_l2l3_disable(tp);
|
rtl_pcie_state_l2l3_disable(tp);
|
||||||
rtl_hw_aspm_clkreq_enable(tp, true);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
DECLARE_RTL_COND(rtl_mac_ocp_e00e_cond)
|
DECLARE_RTL_COND(rtl_mac_ocp_e00e_cond)
|
||||||
|
|||||||
Reference in New Issue
Block a user