• Linus Torvalds's avatar
    Merge tag 'iommu-updates-v5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu · 6b04014f
    Linus Torvalds authored
    Pull iommu updates from Joerg Roedel:
    
     - Make the dma-iommu code more generic so that it can be used outside
       of the ARM context with other IOMMU drivers. Goal is to make use of
       it on x86 too.
    
     - Generic IOMMU domain support for the Intel VT-d driver. This driver
       now makes more use of common IOMMU code to allocate default domains
       for the devices it handles.
    
     - An IOMMU fault reporting API to userspace. With that the IOMMU fault
       handling can be done in user-space, for example to forward the faults
       to a VM.
    
     - Better handling for reserved regions requested by the firmware. These
       can be 'relaxed' now, meaning that those don't prevent a device being
       attached to a VM.
    
     - Suspend/Resume support for the Renesas IOMMU driver.
    
     - Added support for dumping SVA related fields of the DMAR table in the
       Intel VT-d driver via debugfs.
    
     - A pile of smaller fixes and cleanups.
    
    * tag 'iommu-updates-v5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu: (90 commits)
      iommu/omap: No need to check return value of debugfs_create functions
      iommu/arm-smmu-v3: Invalidate ATC when detaching a device
      iommu/arm-smmu-v3: Fix compilation when CONFIG_CMA=n
      iommu/vt-d: Cleanup unused variable
      iommu/amd: Flush not present cache in iommu_map_page
      iommu/amd: Only free resources once on init error
      iommu/amd: Move gart fallback to amd_iommu_init
      iommu/amd: Make iommu_disable safer
      iommu/io-pgtable: Support non-coherent page tables
      iommu/io-pgtable: Replace IO_PGTABLE_QUIRK_NO_DMA with specific flag
      iommu/io-pgtable-arm: Add support to use system cache
      iommu/arm-smmu-v3: Increase maximum size of queues
      iommu/vt-d: Silence a variable set but not used
      iommu/vt-d: Remove an unused variable "length"
      iommu: Fix integer truncation
      iommu: Add padding to struct iommu_fault
      iommu/vt-d: Consolidate domain_init() to avoid duplication
      iommu/vt-d: Cleanup after delegating DMA domain to generic iommu
      iommu/vt-d: Fix suspicious RCU usage in probe_acpi_namespace_devices()
      iommu/vt-d: Allow DMA domain attaching to rmrr locked device
      ...
    6b04014f
dma-mapping.c 1.69 KB