On Fri, Jan 20, 2017 at 7:58 AM, Lucas Stach <l.stach@xxxxxxxxxxxxxx> wrote: > This causes CPU hangs when the system is reset by the watchdog, as > the GPRs aren't cleared, but the clocks are back to disabled state. > > If the bootloader uses PCIe, it must take care to bring it down > into a safe state, before passing control to the Linux kernel. > This is the only way to get a properly operating system at all > times and circumstances. > Lucas, I missed this patch when it came through. Can you give some details about what you consider a 'safe state' for the bootloader to bring PCI to before passing control to the kernel (with respect to PERST#, PCI CLK, and the various host controller registers)? I would like to investigate making PCI available in the bootloader as well as the kernel reliable on IMX6. Regards, Tim