linux/drivers/pci/controller/dwc
Stefan Agner 075af61c19 PCI: imx6: Limit DBI register length
Define the length of the DBI registers and limit config space to its
length. This makes sure that the kernel does not access registers
beyond that point, avoiding the following abort on a i.MX 6Quad:

  # cat /sys/devices/soc0/soc/1ffc000.pcie/pci0000\:00/0000\:00\:00.0/config
  [  100.021433] Unhandled fault: imprecise external abort (0x1406) at 0xb6ea7000
  ...
  [  100.056423] PC is at dw_pcie_read+0x50/0x84
  [  100.060790] LR is at dw_pcie_rd_own_conf+0x44/0x48
  ...

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
2019-08-15 11:51:37 +01:00
..
Kconfig PCI: imx6: Simplify Kconfig depends on 2019-07-05 16:44:41 +01:00
Makefile PCI: al: Add Amazon Annapurna Labs PCIe host controller driver 2019-04-25 16:33:07 -05:00
pci-dra7xx.c PCI: dwc: pci-dra7xx: Fix compilation when !CONFIG_GPIOLIB 2019-07-09 17:25:13 +01:00
pci-exynos.c PCI: exynos: Drop unnecessary root_bus_nr setting 2018-07-13 14:07:47 +01:00
pci-imx6.c PCI: imx6: Limit DBI register length 2019-08-15 11:51:37 +01:00
pci-keystone.c PCI: keystone: Add support for PCIe EP in AM654x Platforms 2019-05-01 15:50:13 +01:00
pci-layerscape-ep.c PCI: dwc: Add const qualifier to struct dw_pcie_ep_ops 2019-04-15 13:24:02 +01:00
pci-layerscape.c PCI: dwc: layerscape: Fix a leaked reference by adding missing of_node_put() 2019-04-01 10:39:17 +01:00
pci-meson.c PCI: amlogic: Fix build failure due to missing gpio header 2019-01-08 09:01:44 -06:00
pcie-al.c PCI: al: Add Amazon Annapurna Labs PCIe host controller driver 2019-04-25 16:33:07 -05:00
pcie-armada8k.c Merge branch 'pci/trivial' 2019-07-12 17:08:41 -05:00
pcie-artpec6.c PCI: dwc: Add const qualifier to struct dw_pcie_ep_ops 2019-04-15 13:24:02 +01:00
pcie-designware-ep.c PCI: designware-ep: Use aligned ATU window for raising MSI interrupts 2019-05-01 15:50:13 +01:00
pcie-designware-host.c PCI: dwc: Export APIs to support .remove() implementation 2019-06-27 12:02:46 +01:00
pcie-designware-plat.c PCI: dwc: Add const qualifier to struct dw_pcie_ep_ops 2019-04-15 13:24:02 +01:00
pcie-designware.c PCI: dwc: Export APIs to support .remove() implementation 2019-06-27 12:02:46 +01:00
pcie-designware.h PCI: dwc: Cleanup DBI,ATU read and write APIs 2019-06-27 12:02:46 +01:00
pcie-hisi.c
pcie-histb.c PCI: histb: Constify dw_pcie_host_ops structure 2018-11-08 13:54:44 +00:00
pcie-kirin.c PCI: Fix typos and whitespace errors 2019-07-09 07:24:53 -05: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-uniphier.c PCI: uniphier: Fix a leaked reference by adding missing of_node_put() 2019-03-29 16:57:50 +00:00