Skip to content

PCI: ACS enable quirk for link balancing switches

Alex Williamson linux-iommu linux-pci lkml 1 version Applied

Status from this message: Applied, thanks Alex.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 8 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5PCI: Make pci_std_enable_acs() non-staticdrivers/pci/pci.c include/linux/pci.h+2 -11 reply
2/5PCI: Extract link speed & width retrieval from pcie_get_minimum_link()drivers/pci/pci.c include/linux/pci.h+22 -61 reply
3/5PCI: Extract link retraining from pcie_aspm_configure_common_clock()drivers/pci/pci.c drivers/pci/pcie/aspm.c include/linux/pci.h+31 -161 reply
4/5iommu: Move REQ_ACS_FLAGS out to header and renamedrivers/iommu/iommu.c include/linux/iommu.h+16 -133 replies
5/5PCI: Balance ports to avoid ACS errata on Pericom switchesdrivers/pci/quirks.c+147 -02 replies

Reviews trailers per patch

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

PatchJoerg Roedel
1/5
2/5
3/5
4/5A-b
5/5

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 0/5] PCI: ACS enable quirk for link balancing switches

A series exposing and extracting bits of things that the kernel already does, culminating in an ACS enabling quirk to work around an errata where data through a Pericom PCIe switch gets stuck when the upstream and downstream ports are running at different link speeds and P2P Request Redirection is enabled.

If you have a Syba SD-PEX24033 or card making use of this PCIe switch in a similar way, and find that it doesn't work right when installed into a 5.0GT/s+ slot and the IOMMU is enabled, you want this series. Thanks,

Alex

---

Alex Williamson (5):
PCI: Make pci_std_enable_acs() non-static
PCI: Extract link speed & width retrieval from pcie_get_minimum_link()
PCI: Extract link retraining from pcie_aspm_configure_common_clock()
iommu: Move REQ_ACS_FLAGS out to header and rename
PCI: Balance ports to avoid ACS errata on Pericom switches

 drivers/iommu/iommu.c   |   18 ++----
 drivers/pci/pci.c       |   57 ++++++++++++++++--
 drivers/pci/pcie/aspm.c |   17 -----
 drivers/pci/quirks.c    |  147 +++++++++++++++++++++++++++++++++++++++++++++++
 include/linux/iommu.h   |   11 ++++
 include/linux/pci.h     |    4 +
 6 files changed, 218 insertions(+), 36 deletions(-)