OpenCloudOS-Kernel/drivers/pci/dwc
Lucas Stach 415b6185c5 PCI: imx6: Fix config read timeout handling
Commit cc7b0d4955 ("PCI: designware: Update PCI config space remap
function") made PCI configuration requests non-posted, which means we now
get a synchronous abort when the CFG space read to probe for downstream
devices times out.

Synchronous aborts need to be handled differently from the async aborts we
were getting before, in particular the PC needs to be advanced when
resolving the abort.  This is mostly a copy of what other PCI drivers do on
ARM to handle those aborts.

[bhelgaas: changelog, "Fixes"]
Fixes: cc7b0d4955 ("PCI: designware: Update PCI config space remap function")
Tested-by: Fabio Estevam <fabio.estevam@nxp.com>
Tested-by: Peter Senna Tschudin <peter.senna@collabora.com>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Richard Zhu <hongxing.zhu@nxp.com>
2017-05-22 17:06:30 -05:00
..
Kconfig PCI: dwc: dra7xx: Add EP mode support 2017-04-28 10:23:17 -05:00
Makefile PCI: dwc: dra7xx: Add EP mode support 2017-04-28 10:23:17 -05:00
pci-dra7xx.c PCI: dwc: dra7xx: Workaround for errata id i870 2017-04-28 10:23:18 -05:00
pci-exynos.c PCI: dwc: all: Modify dbi accessors to access data of 4/2/1 bytes 2017-04-04 08:40:55 -05:00
pci-imx6.c PCI: imx6: Fix config read timeout handling 2017-05-22 17:06:30 -05:00
pci-keystone-dw.c PCI: keystone-dw: Update PCI config space remap function 2017-04-24 13:53:18 -05:00
pci-keystone.c PCI: dwc: Fix crashes seen due to missing assignments 2017-02-25 09:06:02 -06:00
pci-keystone.h
pci-layerscape.c PCI: Don't allow unbinding host controllers that aren't prepared 2017-04-28 10:38:00 -05:00
pcie-armada8k.c PCI: Don't allow unbinding host controllers that aren't prepared 2017-04-28 10:38:00 -05:00
pcie-artpec6.c PCI: Don't allow unbinding host controllers that aren't prepared 2017-04-28 10:38:00 -05:00
pcie-designware-ep.c PCI: dwc: designware: Add EP mode support 2017-04-28 10:23:16 -05:00
pcie-designware-host.c Merge branch 'pci/ioremap' into next 2017-04-28 10:34:05 -05:00
pcie-designware-plat.c PCI: Don't allow unbinding host controllers that aren't prepared 2017-04-28 10:38:00 -05:00
pcie-designware.c PCI: dwc: designware: Add EP mode support 2017-04-28 10:23:16 -05:00
pcie-designware.h PCI: dwc: dra7xx: Add EP mode support 2017-04-28 10:23:17 -05:00
pcie-hisi.c pci-v4.12-changes 2017-05-08 19:03:25 -07:00
pcie-qcom.c PCI: qcom: Update PCI config space remap function 2017-04-24 13:53:15 -05:00
pcie-spear13xx.c PCI: Don't allow unbinding host controllers that aren't prepared 2017-04-28 10:38:00 -05:00