Thread (2 messages) flat view 2 messages, 1 author, 2021-09-29

does dma_alloc_coherent setup iommu page table?

From: <hidden>
Date: 2021-09-29 07:17:12

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help