linux/drivers/pci/controller/dwc
Yurii Monakov 2d0c3fbe43 PCI: keystone: Fix outbound region mapping
The Keystone outbound Address Translation Unit (ATU) maps PCI MMIO space in
8 MB windows.  When programming the ATU windows, we previously incremented
the starting address by 8, not 8 MB, so all the windows were mapped to the
first 8 MB.  Therefore, only 8 MB of MMIO space was accessible.

Update the loop so it increments the starting address by 8 MB, not 8, so
more MMIO space is accessible.

Fixes: e75043ad97 ("PCI: keystone: Cleanup outbound window configuration")
Link: https://lore.kernel.org/r/20191004154811.GA31397@monakov-y.office.kontur-niirs.ru
Signed-off-by: Yurii Monakov <monakov.y@gmail.com>
[bhelgaas: commit log]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Andrew Murray <andrew.murray@arm.com>
Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
Cc: stable@vger.kernel.org	# v4.20+
2020-01-10 17:25:47 +00:00
..
Kconfig PCI: Fix indentation 2019-11-21 15:06:47 -06:00
Makefile Merge branch 'lorenzo/pci/tegra' 2019-09-23 16:10:28 -05:00
pci-dra7xx.c PCI: Add PCI_STD_NUM_BARS for the number of standard BARs 2019-10-14 10:22:26 -05:00
pci-exynos.c PCI: exynos: Propagate errors for optional PHYs 2019-09-04 15:39:41 +01:00
pci-imx6.c Merge branch 'remotes/lorenzo/pci/misc' 2019-09-23 16:10:26 -05:00
pci-keystone.c PCI: keystone: Fix outbound region mapping 2020-01-10 17:25:47 +00:00
pci-layerscape-ep.c PCI: Add PCI_STD_NUM_BARS for the number of standard BARs 2019-10-14 10:22:26 -05:00
pci-layerscape.c PCI: layerscape: Add LS1028a support 2019-11-08 10:45:00 +00:00
pci-meson.c PCI: amlogic: meson: Add support for G12A 2019-10-15 14:57:32 +01:00
pcie-al.c PCI: dwc: al: Add Amazon Annapurna Labs PCIe controller driver 2019-09-16 14:16:44 +01:00
pcie-armada8k.c PCI: armada8x: Propagate errors for optional PHYs 2019-09-04 15:42:38 +01:00
pcie-artpec6.c PCI: Add PCI_STD_NUM_BARS for the number of standard BARs 2019-10-14 10:22:26 -05:00
pcie-designware-ep.c Merge branch 'lorenzo/pci/tegra' 2019-09-23 16:10:28 -05:00
pcie-designware-host.c Merge branch 'remotes/lorenzo/pci/mmio-dma-ranges' 2019-11-28 08:54:53 -06:00
pcie-designware-plat.c PCI: Add PCI_STD_NUM_BARS for the number of standard BARs 2019-10-14 10:22:26 -05:00
pcie-designware.c Merge branch 'lorenzo/pci/tegra' 2019-09-23 16:10:28 -05:00
pcie-designware.h PCI: Add PCI_STD_NUM_BARS for the number of standard BARs 2019-10-14 10:22:26 -05:00
pcie-hisi.c
pcie-histb.c PCI: histb: Propagate errors for optional regulators 2019-09-04 15:43:09 +01:00
pcie-kirin.c PCI: kirin: Make structure kirin_dw_pcie_ops constant 2019-08-21 11:45:14 +01:00
pcie-qcom.c PCI: qcom: Ensure that PERST is asserted for at least 100 ms 2019-05-30 16:51:12 +01:00
pcie-spear13xx.c PCI: spear13xx: Drop unnecessary root_bus_nr setting 2018-07-13 14:10:55 +01:00
pcie-tegra194.c PCI: tegra: Fix CLKREQ dependency programming 2019-10-18 09:57:13 +01:00
pcie-uniphier.c PCI: uniphier: Set mode register to host mode 2019-11-21 16:07:45 +00:00