(+86) 15013630202 sales@pcie.com

Fail used linux pcie test driver pci-epf-test on nano platform

Mar 04, 2024

Hi,

I am used r35.4.1 on orin-nano platform,I need use pcie to transmit video data over 10G size to x86 pc, So i test with the kernel pcie test driver named pcie-epf-test to test pcie(kernel-5.10\Documentation\PCI\endpoint\pci-test-howto.rst) , the pcie command is ok when i run pcitest on x86 pc,it is ok too with data tranmit not used dma, but used dma ,transmit error as blow on device:


               WRITE => Size: 102400 bytes       DMA: YES        Time: 0.040605253 seconds      Rate: 2462 KB/s
[62485.367378] arm-smmu 12000000.iommu: Unhandled context fault: fsr=0x80000402, iova=0x2140020000, fsynr=0x190011, cbfrsynra=0x404, cb=0
[62485.379905] arm-smmu 12000000.iommu: Unhandled context fault: fsr=0x80000402, iova=0xffee0000, fsynr=0x4a0003, cbfrsynra=0x404, cb=0
[62485.392351] mc-err: Too many MC errors; throttling prints
[62485.397981]
WRITE => Size: 102400 bytes DMA: YES Time: 0.030608343 seconds Rate: 3267 KB/s
[62559.361767] arm-smmu 12000000.iommu: Unhandled context fault: fsr=0x80000402, iova=0x2140020000, fsynr=0x190011, cbfrsynra=0x404, cb=0
[62559.374296] arm-smmu 12000000.iommu: Unhandled context fault: fsr=0x80000402, iova=0xffee0000, fsynr=0x4a0003, cbfrsynra=0x404, cb=0
[62559.386747] mc-err: unknown mcerr fault, int_status=0x00001040, ch_int_status=0x00000000, hubc_int_status=0x00000000 sbs_int_status=0x00000000, hub_int_status=0x00000000
[62559.402389]
WRITE => Size: 102400 bytes DMA: YES Time: 0.040632888 seconds Rate: 2461 KB/s
[64981.928914] tegra194-pcie 14160000.pcie_ep: LTSSM state: 0xd8 timeout: -110
[65103.166103] tegra194-pcie 14160000.pcie_ep: LTSSM state: 0xc8 timeout: -110
[65444.326018]
WRITE => Size: 102400 bytes DMA: NO Time: 0.000830611 seconds Rate: 120393 KB/s
[65490.296965]
WRITE => Size: 102400 bytes DMA: NO Time: 0.000830739 seconds Rate: 120374 KB/s
~~~~~~~~~~~~~~~~~~~~~
it seemd edma have some bug for kernel dma subsystem on this platform, who can help me? thanks