Skip to content

PCI: dw-rockchip: hide broken ATS cap in EP-mode

Niklas Cassel linux-arm-kernel linux-pci linux-rockchip 3 versions – Applied

Status from this message: Applied to controller/dwc, thank you!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesApplied
  2. v22 patches 1 replySuperseded
  3. v13 patches 12 repliesSuperseded

Changes in v3 from the cover letter

-Added missing EXPORT_SYMBOL_GPL().

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2PCI: dwc: ep: Add dw_pcie_ep_hide_ext_capability()drivers/pci/controller/dwc/pcie-designware-ep.c drivers/pci/controller/dwc/pcie-designware.h+46 -00 replies
2/2PCI: dw-rockchip: Hide broken ATS capabilitydrivers/pci/controller/dwc/pcie-dw-rockchip.c+27 -00 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchShawn LinManivannan Sadhasivam
SeriesR-b
1/2
2/2A-b

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

Read the v3 thread

Cover letter [PATCH v3 0/2] PCI: dw-rockchip: hide broken ATS cap in EP-mode

Hello there,

Address Translation Services (ATS) is broken on rk3588 when running the PCIe controller in Endpoint Mode.

This causes IOTLB invalidation timeout errors on the host side when using and rk3588 in Endpoint Mode, and you are unable to run pci_endpoint_test.

Solve this by hiding the ATS capability.
With this, we do not get any IOTLB invalidation timeouts, and we can run pci_endpoint_test successfully.

Changes since v2:
-Added missing EXPORT_SYMBOL_GPL().

Niklas Cassel (2):
PCI: dwc: ep: Add dw_pcie_ep_hide_ext_capability()
PCI: dw-rockchip: Hide broken ATS capability

 .../pci/controller/dwc/pcie-designware-ep.c   | 39 +++++++++++++++++++
 drivers/pci/controller/dwc/pcie-designware.h  |  7 ++++
 drivers/pci/controller/dwc/pcie-dw-rockchip.c | 27 +++++++++++++
 3 files changed, 73 insertions(+)
Signature · 1 line
2.48.1