• Linus Torvalds's avatar
    Merge tag 'iommu-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · 6adf33a5
    Linus Torvalds authored
    Pull iommu fixes from Will Deacon:
     "Here's another round of IOMMU fixes for -rc6 consisting mainly of a
      bunch of independent driver fixes. Thomas agreed for me to take the
      x86 'tboot' fix here, as it fixes a regression introduced by a vt-d
      change.
    
       - Fix intel iommu driver when running on devices without VCCAP_REG
    
       - Fix swiotlb and "iommu=pt" interaction under TXT (tboot)
    
       - Fix missing return value check during device probe()
    
       - Fix probe ordering for Qualcomm SMMU implementation
    
       - Ensure page-sized mappings are used for AMD IOMMU buffers with SNP
         RMP"
    
    * tag 'iommu-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
      iommu/vt-d: Don't read VCCAP register unless it exists
      x86/tboot: Don't disable swiotlb when iommu is forced on
      iommu: Check return of __iommu_attach_device()
      arm-smmu-qcom: Ensure the qcom_scm driver has finished probing
      iommu/amd: Enforce 4k mapping for certain IOMMU data structures
    6adf33a5
iommu.c 159 KB