• Linus Torvalds's avatar
    Merge tag 'iommu-updates-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu · 7e113d01
    Linus Torvalds authored
    Pull iommu updates from Joerg Roedel:
    
     - Intel IOMMU Updates fro Lu Baolu:
         - Dump DMAR translation structure when DMA fault occurs
         - An optimization in the page table manipulation code
         - Use second level for GPA->HPA translation
         - Various cleanups
    
     - Arm SMMU Updates from Will
         - Minor optimisations to SMMUv3 command creation and submission
         - Numerous new compatible string for Qualcomm SMMUv2 implementations
    
     - Fixes for the SWIOTLB based implemenation of dma-iommu code for
       untrusted devices
    
     - Add support for r8a779a0 to the Renesas IOMMU driver and DT matching
       code for r8a77980
    
     - A couple of cleanups and fixes for the Apple DART IOMMU driver
    
     - Make use of generic report_iommu_fault() interface in the AMD IOMMU
       driver
    
     - Various smaller fixes and cleanups
    
    * tag 'iommu-updates-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu: (35 commits)
      iommu/dma: Fix incorrect error return on iommu deferred attach
      iommu/dart: Initialize DART_STREAMS_ENABLE
      iommu/dma: Use kvcalloc() instead of kvzalloc()
      iommu/tegra-smmu: Use devm_bitmap_zalloc when applicable
      iommu/dart: Use kmemdup instead of kzalloc and memcpy
      iommu/vt-d: Avoid duplicate removing in __domain_mapping()
      iommu/vt-d: Convert the return type of first_pte_in_page to bool
      iommu/vt-d: Clean up unused PASID updating functions
      iommu/vt-d: Delete dev_has_feat callback
      iommu/vt-d: Use second level for GPA->HPA translation
      iommu/vt-d: Check FL and SL capability sanity in scalable mode
      iommu/vt-d: Remove duplicate identity domain flag
      iommu/vt-d: Dump DMAR translation structure when DMA fault occurs
      iommu/vt-d: Do not falsely log intel_iommu is unsupported kernel option
      iommu/arm-smmu-qcom: Request direct mapping for modem device
      iommu: arm-smmu-qcom: Add compatible for QCM2290
      dt-bindings: arm-smmu: Add compatible for QCM2290 SoC
      iommu/arm-smmu-qcom: Add SM6350 SMMU compatible
      dt-bindings: arm-smmu: Add compatible for SM6350 SoC
      iommu/arm-smmu-v3: Properly handle the return value of arm_smmu_cmdq_build_cmd()
      ...
    7e113d01
iommu.c 85.5 KB