does dma_alloc_coherent setup iommu page table?

ckim at etri.re.kr ckim at etri.re.kr
Wed Sep 29 03:15:13 EDT 2021


Hello all,

When the driver calls dma_alloc_coherent for a device, and if the device
uses iommu, is the table entry for the iommu setup for the dma_handle?

Seeing the struct device has something related to iommu, I guess so..

Any help appreciated.

Thanks!

Chan Kim

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20210929/6cc4735c/attachment.html>


More information about the Kernelnewbies mailing list