Skip to content

PCI: let pci_disable_link_state propagate errors

Heiner Kallweit linux-pci netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2PCI: let pci_disable_link_state propagate errorsdrivers/pci/pcie/aspm.c include/linux/pci-aspm.h+15 -121 reply
2/2r8169: don't activate ASPM in chip if OS can't control ASPMdrivers/net/ethernet/realtek/r8169_main.c+6 -20 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchBjorn Helgaas
1/2A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/2] 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.

Heiner Kallweit (2):
PCI: let pci_disable_link_state propagate errors
r8169: don't activate ASPM in chip if OS can't control ASPM

 drivers/net/ethernet/realtek/r8169_main.c |  8 ++++++--
 drivers/pci/pcie/aspm.c                   | 20 +++++++++++---------
 include/linux/pci-aspm.h                  |  7 ++++---
 3 files changed, 21 insertions(+), 14 deletions(-)
Signature · 1 line
2.22.0