diff options
Diffstat (limited to 'drivers/pci/intel-iommu.c')
-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 3e3910127fc1..73a5c71dd37d 100644 --- a/drivers/pci/intel-iommu.c +++ b/drivers/pci/intel-iommu.c | |||
@@ -2475,6 +2475,9 @@ static int iommu_no_mapping(struct pci_dev *pdev) | |||
2475 | if (pdev->dma_mask > DMA_BIT_MASK(32)) { | 2475 | if (pdev->dma_mask > DMA_BIT_MASK(32)) { |
2476 | int ret; | 2476 | int ret; |
2477 | ret = domain_add_dev_info(si_domain, pdev); | 2477 | ret = domain_add_dev_info(si_domain, pdev); |
2478 | if (ret) | ||
2479 | return 0; | ||
2480 | ret = domain_context_mapping(si_domain, pdev, CONTEXT_TT_MULTI_LEVEL); | ||
2478 | if (!ret) { | 2481 | if (!ret) { |
2479 | printk(KERN_INFO "64bit %s uses identity mapping\n", | 2482 | printk(KERN_INFO "64bit %s uses identity mapping\n", |
2480 | pci_name(pdev)); | 2483 | pci_name(pdev)); |