(+ Leo Yan who reported a similar issues on xen-devel)
Hi Christoph,
On 16/01/2019 18:19, Christoph Hellwig wrote:
Does this fix your problem?
Thank you for the patch. This allows me to boot Dom0 on Juno r2.
My knowledge of DMA is quite limited, so I may have missed something.
Looking at the change for arm64, you will always call dma-direct API. In
previous Linux version, xen-swiotlb will call dev->archdata.dev_dma_ops (a copy
of dev->dma_ops before setting Xen DMA ops) if not NULL. Does it mean we expect
dev->dma_ops to always be NULL and hence using dma-direct API?
Cheers,
--
Julien Grall
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu