]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
Merge branch 'intel/vt-d' into next
authorWill Deacon <will@kernel.org>
Thu, 24 Jul 2025 10:17:52 +0000 (11:17 +0100)
committerWill Deacon <will@kernel.org>
Thu, 24 Jul 2025 10:17:52 +0000 (11:17 +0100)
* intel/vt-d:
  iommu/vt-d: Fix UAF on sva unbind with pending IOPFs
  iommu/vt-d: Make iotlb_sync_map a static property of dmar_domain
  iommu/vt-d: Deduplicate cache_tag_flush_all by reusing flush_range
  iommu/vt-d: Fix missing PASID in dev TLB flush with cache_tag_flush_all
  iommu/vt-d: Split paging_domain_compatible()
  iommu/vt-d: Split intel_iommu_enforce_cache_coherency()
  iommu/vt-d: Create unique domain ops for each stage
  iommu/vt-d: Split intel_iommu_domain_alloc_paging_flags()
  iommu/vt-d: Do not wipe out the page table NID when devices detach
  iommu/vt-d: Fold domain_exit() into intel_iommu_domain_free()
  iommu/vt-d: Lift the __pa to domain_setup_first_level/intel_svm_set_dev_pasid()
  iommu/vt-d: Optimize iotlb_sync_map for non-caching/non-RWBF modes
  iommu/vt-d: Remove the CONFIG_X86 wrapping from iommu init hook

1  2 
drivers/iommu/intel/iommu.c

index 68b695953c57ec4936baf31f283446eb8913cf38,a4f53b62dfbb10155da03212a0de999ec8ed4411..82b0cec240de0fc7f6d686180cf072d0f5c39352
@@@ -4365,19 -4484,8 +4484,7 @@@ const struct iommu_ops intel_iommu_ops 
        .device_group           = intel_iommu_device_group,
        .is_attach_deferred     = intel_iommu_is_attach_deferred,
        .def_domain_type        = device_def_domain_type,
 -      .pgsize_bitmap          = SZ_4K,
        .page_response          = intel_iommu_page_response,
-       .default_domain_ops = &(const struct iommu_domain_ops) {
-               .attach_dev             = intel_iommu_attach_device,
-               .set_dev_pasid          = intel_iommu_set_dev_pasid,
-               .map_pages              = intel_iommu_map_pages,
-               .unmap_pages            = intel_iommu_unmap_pages,
-               .iotlb_sync_map         = intel_iommu_iotlb_sync_map,
-               .flush_iotlb_all        = intel_flush_iotlb_all,
-               .iotlb_sync             = intel_iommu_tlb_sync,
-               .iova_to_phys           = intel_iommu_iova_to_phys,
-               .free                   = intel_iommu_domain_free,
-               .enforce_cache_coherency = intel_iommu_enforce_cache_coherency,
-       }
  };
  
  static void quirk_iommu_igfx(struct pci_dev *dev)