I am using a DM8148 evm and have PCIESS configured as RC. In the ti814x_pcie_setup routine, as soon as the code enables the link training LTSSM, all subsequent reads from the PCIESS application registers cause the kernel to panic. The error message is:
"Unhandled fault: external abort on non-linefetch (0x1008) at e8820004"
This is triggered when the driver next tries to read the CMD_STATUS register.. which is in disable_bars() -> set_dbi_mode(). What happened in PCIESS to cause inability to read ioremapped memory???
Thank you in advance!
Dennis