diff options
| author | Serge Semin <[email protected]> | 2022-06-24 14:34:12 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2022-07-06 00:00:51 +0000 |
| commit | d1cf738f2b65a5640234e1da90a68d3523fbed83 (patch) | |
| tree | efe07b7ae007e5c93e719324d928f8fa4837489d /drivers/pci/controller/dwc/pcie-qcom-ep.c | |
| parent | PCI: dwc: Stop link on host_init errors and de-initialization (diff) | |
| download | kernel-d1cf738f2b65a5640234e1da90a68d3523fbed83.tar.gz kernel-d1cf738f2b65a5640234e1da90a68d3523fbed83.zip | |
PCI: dwc: Add unroll iATU space support to dw_pcie_disable_atu()
dw_pcie_disable_atu() was introduced by f8aed6ec624f ("PCI: dwc:
designware: Add EP mode support") and supported only the viewport version
of the iATU CSRs.
DW PCIe IP cores v4.80a and newer also support unrolled iATU/eDMA space.
Callers of dw_pcie_disable_atu(), including pci_epc_ops.clear_bar(),
pci_epc_ops.unmap_addr(), and dw_pcie_setup_rc(), don't work correctly when
it is enabled.
Add dw_pcie_disable_atu() support for controllers with unrolled iATU CSRs
enabled.
[bhelgaas: commit log]
Fixes: f8aed6ec624f ("PCI: dwc: designware: Add EP mode support")
Link: https://lore.kernel.org/r/[email protected]
Tested-by: Manivannan Sadhasivam <[email protected]>
Signed-off-by: Serge Semin <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-qcom-ep.c')
0 files changed, 0 insertions, 0 deletions
