On Mon, Mar 10, 2025 at 10:48:26AM +0100, Niklas Cassel wrote: > 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. > Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxx> - Mani > > 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(+) > > -- > 2.48.1 > -- மணிவண்ணன் சதாசிவம்