The DMM feature should be replaced with "omap iommu" driver
which commonly supports omap iommu feature. Currently it supports just a mapping
of in-kernel buffers(contiguous/discontiguous), but will be extended to an user
buffer soon, "bitmap_find_free_region" would bring better
performance if the number of VMAs becomes huge.
But before this module can be replaced iommu should:
- reside in linux-omap tree.
- provide support for preservation of TLB entries.
- provide support for notification of MMU faults.
Basic sanity testing was made in Bridge by replacing the Bridge's MMU module
with the iommu module and the above items need to happen before the migration to
iommu. [Hari K]