1. 24 3月, 2014 1 次提交
    • L
      arm64: Implement custom mmap functions for dma mapping · 6e8d7968
      Laura Abbott 提交于
      The current dma_ops do not specify an mmap function so maping
      falls back to the default implementation. There are at least
      two issues with using the default implementation:
      
      1) The pgprot is always pgprot_noncached (strongly ordered)
      memory even with coherent operations
      2) dma_common_mmap calls virt_to_page on the remapped non-coherent
      address which leads to invalid memory being mapped.
      
      Fix both these issue by implementing a custom mmap function which
      correctly accounts for remapped addresses and sets vm_pg_prot
      appropriately.
      Signed-off-by: NLaura Abbott <lauraa@codeaurora.org>
      [catalin.marinas@arm.com: replaced "arm64_" with "__" prefix for consistency]
      Signed-off-by: NCatalin Marinas <catalin.marinas@arm.com>
      6e8d7968
  2. 21 3月, 2014 1 次提交
  3. 19 3月, 2014 1 次提交
  4. 15 3月, 2014 4 次提交
  5. 13 3月, 2014 8 次提交
  6. 10 3月, 2014 1 次提交
  7. 04 3月, 2014 5 次提交
  8. 28 2月, 2014 4 次提交
  9. 27 2月, 2014 2 次提交
  10. 26 2月, 2014 13 次提交