On 07/09/17 02:41, Bob Liu wrote: >> This would require some work in moving the PCI bits at the end of the >> series. I can reserve some time in the coming months to do it, but I need >> to know what to focus on. Are you able to test SSID as well? >> > > Yes, but the difficulty is our devices are on-chip integrated hardware accelerators which requires complicate driver. > You may need much time to understand the driver. > That's the same case as intel/amd SVM, the current user is their GPU :-( > > Btw, what kind of device/method do you think is ideal for testing arm-SVM? A simple, bare DMA engine would be ideal. Something just capable of performing memcpy with parameters (PASID, input IOVA, output IOVA, size) can be used for validating SVM and virtualization. You could easily create reproducible unit tests and userspace drivers. If it supports isolated channels (as in SR-IOV), even better. As you said, having a useful device like a full GPU/accelerator as opposed to a dummy validation engine makes it difficult to fully test the SMMU. However it can be helpful for evaluating driver performances and is still good enough for confirming that the IOMMU works. Thanks, Jean -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html