• Linus Torvalds's avatar
    Merge tag 'iommu-updates-v3.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu · 97027da6
    Linus Torvalds authored
    Pull IOMMU updates from Joerg Roedel:
     "The most important part of these updates is the IOMMU groups code
      enhancement written by Alex Williamson.  It abstracts the problem that
      a given hardware IOMMU can't isolate any given device from any other
      device (e.g.  32 bit PCI devices can't usually be isolated).  Devices
      that can't be isolated are grouped together.  This code is required
      for the upcoming VFIO framework.
    
      Another IOMMU-API change written by me is the introduction of domain
      attributes.  This makes it easier to handle GART-like IOMMUs with the
      IOMMU-API because now the start-address and the size of the domain
      address space can be queried.
    
      Besides that there are a few cleanups and fixes for the NVidia Tegra
      IOMMU drivers and the reworked init-code for the AMD IOMMU.  The
      latter is from my patch-set to support interrupt remapping.  The rest
      of this patch-set requires x86 changes which are not mergabe yet.  So
      full support for interrupt remapping with AMD IOMMUs will come in a
      future merge window."
    
    * tag 'iommu-updates-v3.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu: (33 commits)
      iommu/amd: Fix hotplug with iommu=pt
      iommu/amd: Add missing spin_lock initialization
      iommu/amd: Convert iommu initialization to state machine
      iommu/amd: Introduce amd_iommu_init_dma routine
      iommu/amd: Move unmap_flush message to amd_iommu_init_dma_ops()
      iommu/amd: Split enable_iommus() routine
      iommu/amd: Introduce early_amd_iommu_init routine
      iommu/amd: Move informational prinks out of iommu_enable
      iommu/amd: Split out PCI related parts of IOMMU initialization
      iommu/amd: Use acpi_get_table instead of acpi_table_parse
      iommu/amd: Fix sparse warnings
      iommu/tegra: Don't call alloc_pdir with as->lock
      iommu/tegra: smmu: Fix unsleepable memory allocation at alloc_pdir()
      iommu/tegra: smmu: Remove unnecessary sanity check at alloc_pdir()
      iommu/exynos: Implement DOMAIN_ATTR_GEOMETRY attribute
      iommu/tegra: Implement DOMAIN_ATTR_GEOMETRY attribute
      iommu/msm: Implement DOMAIN_ATTR_GEOMETRY attribute
      iommu/omap: Implement DOMAIN_ATTR_GEOMETRY attribute
      iommu/vt-d: Implement DOMAIN_ATTR_GEOMETRY attribute
      iommu/amd: Implement DOMAIN_ATTR_GEOMETRY attribute
      ...
    97027da6
amd_iommu_v2.c 22.6 KB