• Linus Torvalds's avatar
    Merge tag 'iommu-updates-v6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu · d35ac6ac
    Linus Torvalds authored
    Pull iommu updates from Joerg Roedel:
     "Core changes:
       - iova_magazine_alloc() optimization
       - Make flush-queue an IOMMU driver capability
       - Consolidate the error handling around device attachment
    
      AMD IOMMU changes:
       - AVIC Interrupt Remapping Improvements
       - Some minor fixes and cleanups
    
      Intel VT-d changes from Lu Baolu:
       - Small and misc cleanups
    
      ARM-SMMU changes from Will Deacon:
       - Device-tree binding updates:
          - Add missing clocks for SC8280XP and SA8775 Adreno SMMUs
          - Add two new Qualcomm SMMUs in SDX75 and SM6375
       - Workarounds for Arm MMU-700 errata:
          - 1076982: Avoid use of SEV-based cmdq wakeup
          - 2812531: Terminate command batches with a CMD_SYNC
          - Enforce single-stage translation to avoid nesting-related errata
       - Set the correct level hint for range TLB invalidation on teardown
    
      .. and some other minor fixes and cleanups (including Freescale PAMU
      and virtio-iommu changes)"
    
    * tag 'iommu-updates-v6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu: (50 commits)
      iommu/vt-d: Remove commented-out code
      iommu/vt-d: Remove two WARN_ON in domain_context_mapping_one()
      iommu/vt-d: Handle the failure case of dmar_reenable_qi()
      iommu/vt-d: Remove unnecessary (void*) conversions
      iommu/amd: Remove extern from function prototypes
      iommu/amd: Use BIT/BIT_ULL macro to define bit fields
      iommu/amd: Fix DTE_IRQ_PHYS_ADDR_MASK macro
      iommu/amd: Fix compile error for unused function
      iommu/amd: Improving Interrupt Remapping Table Invalidation
      iommu/amd: Do not Invalidate IRT when IRTE caching is disabled
      iommu/amd: Introduce Disable IRTE Caching Support
      iommu/amd: Remove the unused struct amd_ir_data.ref
      iommu/amd: Switch amd_iommu_update_ga() to use modify_irte_ga()
      iommu/arm-smmu-v3: Set TTL invalidation hint better
      iommu/arm-smmu-v3: Document nesting-related errata
      iommu/arm-smmu-v3: Add explicit feature for nesting
      iommu/arm-smmu-v3: Document MMU-700 erratum 2812531
      iommu/arm-smmu-v3: Work around MMU-600 erratum 1076982
      dt-bindings: arm-smmu: Add SDX75 SMMU compatible
      dt-bindings: arm-smmu: Add SM6375 GPU SMMU
      ...
    d35ac6ac
iommu.c 92.1 KB