]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
r8169: disable ASPM in case of tx timeout
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 10 Jan 2023 22:03:18 +0000 (23:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Dec 2023 07:48:05 +0000 (08:48 +0100)
commit0249024aa48e4da0004caa6338bf5d0f4035760e
tree1a080ee6cc33ece8aa01b5b4b325c66d8f0582bf
parent8912dbddb25f3275fbdcdb9c4e21ed3d3fb2e6e4
r8169: disable ASPM in case of tx timeout

[ Upstream commit 80c0576ef179311f624bc450fede30a89afe9792 ]

There are still single reports of systems where ASPM incompatibilities
cause tx timeouts. It's not clear whom to blame, so let's disable
ASPM in case of a tx timeout.

v2:
- add one-time warning for informing the user

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Alexander Duyck <alexanderduyck@fb.com>
Link: https://lore.kernel.org/r/92369a92-dc32-4529-0509-11459ba0e391@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Stable-dep-of: 59d395ed606d ("r8169: fix deadlock on RTL8125 in jumbo mtu mode")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/realtek/r8169_main.c