On our custom i.MX6Q based board, Kernel hangs while accessing the PCIe DBI registers (i,e readl(dbi_base)). please let us know possible reason for kernel hang.
Btw,
1. In u-boot , no problem while accessing DBI registers and also PCIe link comes up without any problem.
2. We are using official freescale kernel (4.1.15 ->imx_4.1.15_1.0.0_ga).
Thanks in advance
Mallanna