I am working to pcie with imx6 in Linux.
I noticed that IBM s390 has a nice feature that you can enable to show pcie statistics: https://www.ibm.com/support/knowledgecenter/en/linuxonibm/com.ibm.linux.z.lgdd/lgdd_t_pcie_work_stats.html, I was wondering if can be done the same for imx6.
I gave a look to PCI RC registers but I didn't find anything useful.
Is there a way to get these statistics or at least the AER ones?
Thanks in advance.