]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'PCI-let-pci_disable_link_state-propagate-errors'
authorDavid S. Miller <davem@davemloft.net>
Sat, 22 Jun 2019 02:05:42 +0000 (22:05 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 22 Jun 2019 02:05:42 +0000 (22:05 -0400)
commit9c0b6d0eac663a3f7b2963321892145883d29d33
tree5db41c7be5d6888479c5d853171951418c3e7e57
parent7714ac5fbc7195d751ea07eb8b3266c54fc5c55e
parent5a378ab1d8f933f227f2de1ef2e6a9b3f2ba387f
Merge branch 'PCI-let-pci_disable_link_state-propagate-errors'

Heiner Kallweit says:

====================
PCI: let pci_disable_link_state propagate errors

Drivers like r8169 rely on pci_disable_link_state() having disabled
certain ASPM link states. If OS can't control ASPM then
pci_disable_link_state() turns into a no-op w/o informing the caller.
The driver therefore may falsely assume the respective ASPM link
states are disabled. Let pci_disable_link_state() propagate errors
to the caller, enabling the caller to react accordingly.

I'd propose to let this series go through the netdev tree if the PCI
core extension is acked by the PCI people.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>