I am attempting to configure an FPGA to DMA data via PCIe to memory on the Jetson TX2i.
I have allocated the destination memory using dma_zalloc_coherent. One of the arguments to dma_zalloc_coherent is the dma_handle, which I use to populate the destination address of the DMA descriptors.
Once the DMA is started, I see the following error appear in the dmesg output.
arm-smmu 12000000.iommu: Unhandled context fault: iova=0x00000000, fsynr=0x11, cb=22, sid=17(0x11 - AFI), pgd=0, pmd=0, pte=0
This is eventually followed up by some mc-err messages.
How do I decode the iommu message? Does the iova address tell me something?