• Linus Torvalds's avatar
    Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/git/jgg/iommufd · 143c7bc6
    Linus Torvalds authored
    Pull iommufd updates from Jason Gunthorpe:
     "Some polishing and small fixes for iommufd:
    
       - Remove IOMMU_CAP_INTR_REMAP, instead rely on the interrupt
         subsystem
    
       - Use GFP_KERNEL_ACCOUNT inside the iommu_domains
    
       - Support VFIO_NOIOMMU mode with iommufd
    
       - Various typos
    
       - A list corruption bug if HWPTs are used for attach"
    
    * tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/git/jgg/iommufd:
      iommufd: Do not add the same hwpt to the ioas->hwpt_list twice
      iommufd: Make sure to zero vfio_iommu_type1_info before copying to user
      vfio: Support VFIO_NOIOMMU with iommufd
      iommufd: Add three missing structures in ucmd_buffer
      selftests: iommu: Fix test_cmd_destroy_access() call in user_copy
      iommu: Remove IOMMU_CAP_INTR_REMAP
      irq/s390: Add arch_is_isolated_msi() for s390
      iommu/x86: Replace IOMMU_CAP_INTR_REMAP with IRQ_DOMAIN_FLAG_ISOLATED_MSI
      genirq/msi: Rename IRQ_DOMAIN_MSI_REMAP to IRQ_DOMAIN_ISOLATED_MSI
      genirq/irqdomain: Remove unused irq_domain_check_msi_remap() code
      iommufd: Convert to msi_device_has_isolated_msi()
      vfio/type1: Convert to iommu_group_has_isolated_msi()
      iommu: Add iommu_group_has_isolated_msi()
      genirq/msi: Add msi_device_has_isolated_msi()
    143c7bc6
irq-gic-v3-its.c 138 KB