1. 15 Oct, 2015 2 commits
    • Robin Murphy's avatar
      arm64: Add IOMMU dma_ops · 13b8629f
      Robin Murphy authored
      Taking some inspiration from the arch/arm code, implement the
      arch-specific side of the DMA mapping ops using the new IOMMU-DMA layer.
      
      Since there is still work to do elsewhere to make DMA configuration happen
      in a more appropriate order and properly support platform devices in the
      IOMMU core, the device setup code unfortunately starts out carrying some
      workarounds to ensure it works correctly in the current state of things.
      Signed-off-by: default avatarRobin Murphy <robin.murphy@arm.com>
      Acked-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
      Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
      13b8629f
    • Robin Murphy's avatar
      iommu: Implement common IOMMU ops for DMA mapping · 0db2e5d1
      Robin Murphy authored
      Taking inspiration from the existing arch/arm code, break out some
      generic functions to interface the DMA-API to the IOMMU-API. This will
      do the bulk of the heavy lifting for IOMMU-backed dma-mapping.
      
      Since associating an IOVA allocator with an IOMMU domain is a fairly
      common need, rather than introduce yet another private structure just to
      do this for ourselves, extend the top-level struct iommu_domain with the
      notion. A simple opaque cookie allows reuse by other IOMMU API users
      with their various different incompatible allocator types.
      Signed-off-by: default avatarRobin Murphy <robin.murphy@arm.com>
      Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
      0db2e5d1
  2. 11 Oct, 2015 8 commits
  3. 10 Oct, 2015 12 commits
  4. 09 Oct, 2015 10 commits
  5. 08 Oct, 2015 8 commits