]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
r8169: don't activate ASPM in chip if OS can't control ASPM
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 18 Jun 2019 21:14:50 +0000 (23:14 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 22 Jun 2019 02:05:42 +0000 (22:05 -0400)
commit62b1b3b3b6d3ef309b1024aea95265c01929933c
tree5db41c7be5d6888479c5d853171951418c3e7e57
parent4cfd218855923a07dc02a5bec3d3bb37a118ebc2
r8169: don't activate ASPM in chip if OS can't control ASPM

Certain chip version / board combinations have massive problems if
ASPM is active. If BIOS enables ASPM and doesn't let OS control it,
then we may have a problem with the current code. Therefore check the
return code of pci_disable_link_state() and don't enable ASPM in the
network chip if OS can't control ASPM.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169_main.c