From b09e2342217f7213cc3ce2e7aab50a65224132ea Mon Sep 17 00:00:00 2001 From: LeoLiu-oc Date: Tue, 11 Nov 2025 15:45:41 +0800 Subject: [PATCH] anolis: iommu/vt-d: delete rmrr andd device duplicated iommu_probe_device ANBZ: #27033 Duplicated iommu_probe_device in acpi_rmrr_andd_probe would cause some warns: debugfs: Directory 'SPI0001:00' with parent 'intel' already present! sysfs: cannot create duplicate filename '/devices/virtual/iommu/dmar0/devices/SPI0001:00' So, delete it. Signed-off-by: yeeli Signed-off-by: LeoLiu-oc --- drivers/iommu/intel/iommu.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/iommu/intel/iommu.c b/drivers/iommu/intel/iommu.c index 88a4e5649207..3382074bfecb 100644 --- a/drivers/iommu/intel/iommu.c +++ b/drivers/iommu/intel/iommu.c @@ -3018,8 +3018,6 @@ static inline int acpi_rmrr_andd_probe(struct device *dev) u8 bus, devfn; int ret = 0; - ret = iommu_probe_device(dev); - iommu = device_lookup_iommu(dev, &bus, &devfn); if (!iommu) { pr_info("dpoint-- cannot get acpi device corresponding iommu\n"); -- Gitee