haresh
haresh

Reputation: 1

DMA on virtual address returned from ioremap

Is there any way to do DMA on virtual address returned from ioremap

Upvotes: 0

Views: 919

Answers (1)

sawdust
sawdust

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

Related Questions