map kernel memory to user space and use memory for dma operations

Kallol Biswas <[email protected]>
Newsgroups gmane.linux.ports.arm.general
Message-ID <[email protected]>
Hi,
  We need to get large chunk of contiguous memory in user space so that an application can directly write to it. The memory will later be used for DMA operations.

ARM uses virtual address to access the cache, now dual mapping, one in kernel and one in user space, will cause coherency problem.

Assume we can take care of coherency issue in software, still TLBs will
have more than one mapping for the same physical page. Is it an issue on ARM? On certain architecture we need to evict the previous TLB entry to avoid machine error.


Kallol 

-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.