Skip to content

Commit ba50213

Browse files
LuBaolujoergroedel
authored andcommitted
iommu/vt-d: Rename iommu_disable_dev_iotlb()
Rename iommu_disable_dev_iotlb() to iommu_disable_pci_caps() to pair with iommu_enable_pci_caps(). Signed-off-by: Lu Baolu <[email protected]> Reviewed-by: Kevin Tian <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
1 parent 35a99c5 commit ba50213

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/iommu/intel/iommu.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1441,7 +1441,7 @@ static void iommu_enable_pci_caps(struct device_domain_info *info)
14411441
}
14421442
}
14431443

1444-
static void iommu_disable_dev_iotlb(struct device_domain_info *info)
1444+
static void iommu_disable_pci_caps(struct device_domain_info *info)
14451445
{
14461446
struct pci_dev *pdev;
14471447

@@ -4099,7 +4099,7 @@ static void dmar_remove_one_dev_info(struct device *dev)
40994099
intel_pasid_tear_down_entry(iommu, info->dev,
41004100
PASID_RID2PASID, false);
41014101

4102-
iommu_disable_dev_iotlb(info);
4102+
iommu_disable_pci_caps(info);
41034103
domain_context_clear(info);
41044104
}
41054105

@@ -4122,7 +4122,7 @@ static void device_block_translation(struct device *dev)
41224122
struct intel_iommu *iommu = info->iommu;
41234123
unsigned long flags;
41244124

4125-
iommu_disable_dev_iotlb(info);
4125+
iommu_disable_pci_caps(info);
41264126
if (!dev_is_real_dma_subdevice(dev)) {
41274127
if (sm_supported(iommu))
41284128
intel_pasid_tear_down_entry(iommu, dev,

0 commit comments

Comments
 (0)