On Wed, May 10, 2017 at 3:35 PM, Fabio Estevam <festevam@xxxxxxxxx> wrote: > Hi Lucas, > > On Wed, May 10, 2017 at 2:57 PM, Lucas Stach <l.stach@xxxxxxxxxxxxxx> wrote: >> The change in Linux 4.12 to make PCI configuartion requests non-posted >> means that we are now getting 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. >> >> Signed-off-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx> >> --- >> This is a fix that needs to go in for 4.12, but I would hope to get >> some thorough testing before. > > This fixes the kernel crash on my mx6q board with a PCI switch, thanks! > > PCI Wifi card is also correctly detected. Forgot to add: Tested-by: Fabio Estevam <fabio.estevam@xxxxxxx>