On Thu, Aug 22, 2019 at 11:18:44AM +0200, Fawad Lateef wrote: > In all crash cases (when loading/unloading the driver); system stays > response, so I can look into any possible device status using PCIe > registers of PEX8605 switch or iMX6 PCIe root hub. Please suggest if > something I can check to better understand the issue. You could collect the output of "sudo lspci -vvxxx" and see if the switch or root port logged any errors. Collect it before and after the crash and compare the two. Bjorn