diff options
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/intel-iommu.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/pci/intel-iommu.c b/drivers/pci/intel-iommu.c index 83cabdc118db..e3e84cac0e98 100644 --- a/drivers/pci/intel-iommu.c +++ b/drivers/pci/intel-iommu.c | |||
@@ -3247,6 +3247,9 @@ static int device_notifier(struct notifier_block *nb, | |||
3247 | struct pci_dev *pdev = to_pci_dev(dev); | 3247 | struct pci_dev *pdev = to_pci_dev(dev); |
3248 | struct dmar_domain *domain; | 3248 | struct dmar_domain *domain; |
3249 | 3249 | ||
3250 | if (iommu_no_mapping(dev)) | ||
3251 | return 0; | ||
3252 | |||
3250 | domain = find_domain(pdev); | 3253 | domain = find_domain(pdev); |
3251 | if (!domain) | 3254 | if (!domain) |
3252 | return 0; | 3255 | return 0; |