Skip to content
  1. Mar 24, 2014
    • Laura Abbott's avatar
      arm64: Implement custom mmap functions for dma mapping · 6e8d7968
      Laura Abbott authored
      
      
      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: default avatarLaura Abbott <lauraa@codeaurora.org>
      [catalin.marinas@arm.com: replaced "arm64_" with "__" prefix for consistency]
      Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
      6e8d7968
  2. Mar 21, 2014
  3. Mar 19, 2014
  4. Mar 15, 2014
  5. Mar 13, 2014
  6. Mar 10, 2014
  7. Mar 04, 2014
  8. Feb 28, 2014
  9. Feb 27, 2014
  10. Feb 26, 2014