• Linus Torvalds's avatar
    Merge tag 'iommu-updates-v4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu · dd967117
    Linus Torvalds authored
    Pull IOMMU updates from Joerg Roedel:
    
     - big-endian support and preparation for defered probing for the Exynos
       IOMMU driver
    
     - simplifications in iommu-group id handling
    
     - support for Mediatek generation one IOMMU hardware
    
     - conversion of the AMD IOMMU driver to use the generic IOVA allocator.
       This driver now also benefits from the recent scalability
       improvements in the IOVA code.
    
     - preparations to use generic DMA mapping code in the Rockchip IOMMU
       driver
    
     - device tree adaption and conversion to use generic page-table code
       for the MSM IOMMU driver
    
     - an iova_to_phys optimization in the ARM-SMMU driver to greatly
       improve page-table teardown performance with VFIO
    
     - various other small fixes and conversions
    
    * tag 'iommu-updates-v4.8' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu: (59 commits)
      iommu/amd: Initialize dma-ops domains with 3-level page-table
      iommu/amd: Update Alias-DTE in update_device_table()
      iommu/vt-d: Return error code in domain_context_mapping_one()
      iommu/amd: Use container_of to get dma_ops_domain
      iommu/amd: Flush iova queue before releasing dma_ops_domain
      iommu/amd: Handle IOMMU_DOMAIN_DMA in ops->domain_free call-back
      iommu/amd: Use dev_data->domain in get_domain()
      iommu/amd: Optimize map_sg and unmap_sg
      iommu/amd: Introduce dir2prot() helper
      iommu/amd: Implement timeout to flush unmap queues
      iommu/amd: Implement flush queue
      iommu/amd: Allow NULL pointer parameter for domain_flush_complete()
      iommu/amd: Set up data structures for flush queue
      iommu/amd: Remove align-parameter from __map_single()
      iommu/amd: Remove other remains of old address allocator
      iommu/amd: Make use of the generic IOVA allocator
      iommu/amd: Remove special mapping code for dma_ops path
      iommu/amd: Pass gfp-flags to iommu_map_page()
      iommu/amd: Implement apply_dm_region call-back
      iommu/amd: Create a list of reserved iova addresses
      ...
    dd967117
dmar.c 49.8 KB