diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2017-05-23 00:06:30 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-05-23 00:06:30 +0200 |
commit | 415b6185c541dc0a21457ff307cdb61950a6eb9f (patch) | |
tree | 121553c9ebc44f7bd541370e38f2b3c9c7cd9114 /drivers/pci/irq.c | |
parent | switchtec: Fix minor bug with partition ID register (diff) | |
download | linux-415b6185c541dc0a21457ff307cdb61950a6eb9f.tar.xz linux-415b6185c541dc0a21457ff307cdb61950a6eb9f.zip |
PCI: imx6: Fix config read timeout handling
Commit cc7b0d495589 ("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: cc7b0d495589 ("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>
Diffstat (limited to 'drivers/pci/irq.c')
0 files changed, 0 insertions, 0 deletions