• Linus Torvalds's avatar
    Merge tag 'iommu-updates-v5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu · 531d29b0
    Linus Torvalds authored
    Pull iommu updates from Joerg Roedel:
    
     - ARM-SMMU Updates from Will:
    
          - Continued SVM enablement, where page-table is shared with CPU
    
          - Groundwork to support integrated SMMU with Adreno GPU
    
          - Allow disabling of MSI-based polling on the kernel command-line
    
          - Minor driver fixes and cleanups (octal permissions, error
            messages, ...)
    
     - Secure Nested Paging Support for AMD IOMMU. The IOMMU will fault when
       a device tries DMA on memory owned by a guest. This needs new
       fault-types as well as a rewrite of the IOMMU memory semaphore for
       command completions.
    
     - Allow broken Intel IOMMUs (wrong address widths reported) to still be
       used for interrupt remapping.
    
     - IOMMU UAPI updates for supporting vSVA, where the IOMMU can access
       address spaces of processes running in a VM.
    
     - Support for the MT8167 IOMMU in the Mediatek IOMMU driver.
    
     - Device-tree updates for the Renesas driver to support r8a7742.
    
     - Several smaller fixes and cleanups all over the place.
    
    * tag 'iommu-updates-v5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu: (57 commits)
      iommu/vt-d: Gracefully handle DMAR units with no supported address widths
      iommu/vt-d: Check UAPI data processed by IOMMU core
      iommu/uapi: Handle data and argsz filled by users
      iommu/uapi: Rename uapi functions
      iommu/uapi: Use named union for user data
      iommu/uapi: Add argsz for user filled data
      docs: IOMMU user API
      iommu/qcom: add missing put_device() call in qcom_iommu_of_xlate()
      iommu/arm-smmu-v3: Add SVA device feature
      iommu/arm-smmu-v3: Check for SVA features
      iommu/arm-smmu-v3: Seize private ASID
      iommu/arm-smmu-v3: Share process page tables
      iommu/arm-smmu-v3: Move definitions to a header
      iommu/io-pgtable-arm: Move some definitions to a header
      iommu/arm-smmu-v3: Ensure queue is read after updating prod pointer
      iommu/amd: Re-purpose Exclusion range registers to support SNP CWWB
      iommu/amd: Add support for RMP_PAGE_FAULT and RMP_HW_ERR
      iommu/amd: Use 4K page for completion wait write-back semaphore
      iommu/tegra-smmu: Allow to group clients in same swgroup
      iommu/tegra-smmu: Fix iova->phys translation
      ...
    531d29b0
svm.c 30.2 KB