• Linus Torvalds's avatar
    Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/git/jgg/iommufd · 08cdc215
    Linus Torvalds authored
    Pull iommufd implementation from Jason Gunthorpe:
     "iommufd is the user API to control the IOMMU subsystem as it relates
      to managing IO page tables that point at user space memory.
    
      It takes over from drivers/vfio/vfio_iommu_type1.c (aka the VFIO
      container) which is the VFIO specific interface for a similar idea.
    
      We see a broad need for extended features, some being highly IOMMU
      device specific:
       - Binding iommu_domain's to PASID/SSID
       - Userspace IO page tables, for ARM, x86 and S390
       - Kernel bypassed invalidation of user page tables
       - Re-use of the KVM page table in the IOMMU
       - Dirty page tracking in the IOMMU
       - Runtime Increase/Decrease of IOPTE size
       - PRI support with faults resolved in userspace
    
      Many of these HW features exist to support VM use cases - for instance
      the combination of PASID, PRI and Userspace IO Page Tables allows an
      implementation of DMA Shared Virtual Addre...
    08cdc215
.clang-format 20 KB