Reputation: 1
Is there any way to do DMA on virtual address returned from ioremap
Upvotes: 0
Views: 919
Reputation: 17067
Only if the system has an IOMMU, a memory-managment unit just for I/O (which is not common).
Since the driver supplied the physical memory address to perform that ioremap()
call, there really should be no reason to insist on using the virtual address or calling virt2phys()
.
Upvotes: 1