diff options
Diffstat (limited to 'drivers/iommu')
-rw-r--r-- | drivers/iommu/Kconfig | 8 | ||||
-rw-r--r-- | drivers/iommu/tegra-smmu.c | 7 |
2 files changed, 8 insertions, 7 deletions
diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig index e39f9dbf297b..01068987809d 100644 --- a/drivers/iommu/Kconfig +++ b/drivers/iommu/Kconfig | |||
@@ -65,8 +65,8 @@ config AMD_IOMMU_STATS | |||
65 | If unsure, say N. | 65 | If unsure, say N. |
66 | 66 | ||
67 | config AMD_IOMMU_V2 | 67 | config AMD_IOMMU_V2 |
68 | tristate "AMD IOMMU Version 2 driver (EXPERIMENTAL)" | 68 | tristate "AMD IOMMU Version 2 driver" |
69 | depends on AMD_IOMMU && PROFILING && EXPERIMENTAL | 69 | depends on AMD_IOMMU && PROFILING |
70 | select MMU_NOTIFIER | 70 | select MMU_NOTIFIER |
71 | ---help--- | 71 | ---help--- |
72 | This option enables support for the AMD IOMMUv2 features of the IOMMU | 72 | This option enables support for the AMD IOMMUv2 features of the IOMMU |
@@ -119,8 +119,8 @@ config INTEL_IOMMU_FLOPPY_WA | |||
119 | 16MiB to make floppy (an ISA device) work. | 119 | 16MiB to make floppy (an ISA device) work. |
120 | 120 | ||
121 | config IRQ_REMAP | 121 | config IRQ_REMAP |
122 | bool "Support for Interrupt Remapping (EXPERIMENTAL)" | 122 | bool "Support for Interrupt Remapping" |
123 | depends on X86_64 && X86_IO_APIC && PCI_MSI && ACPI && EXPERIMENTAL | 123 | depends on X86_64 && X86_IO_APIC && PCI_MSI && ACPI |
124 | select DMAR_TABLE | 124 | select DMAR_TABLE |
125 | ---help--- | 125 | ---help--- |
126 | Supports Interrupt remapping for IO-APIC and MSI devices. | 126 | Supports Interrupt remapping for IO-APIC and MSI devices. |
diff --git a/drivers/iommu/tegra-smmu.c b/drivers/iommu/tegra-smmu.c index fc178893789a..f08dbcd2f175 100644 --- a/drivers/iommu/tegra-smmu.c +++ b/drivers/iommu/tegra-smmu.c | |||
@@ -19,6 +19,7 @@ | |||
19 | 19 | ||
20 | #define pr_fmt(fmt) "%s(): " fmt, __func__ | 20 | #define pr_fmt(fmt) "%s(): " fmt, __func__ |
21 | 21 | ||
22 | #include <linux/err.h> | ||
22 | #include <linux/module.h> | 23 | #include <linux/module.h> |
23 | #include <linux/platform_device.h> | 24 | #include <linux/platform_device.h> |
24 | #include <linux/spinlock.h> | 25 | #include <linux/spinlock.h> |
@@ -1176,9 +1177,9 @@ static int tegra_smmu_probe(struct platform_device *pdev) | |||
1176 | res = platform_get_resource(pdev, IORESOURCE_MEM, i); | 1177 | res = platform_get_resource(pdev, IORESOURCE_MEM, i); |
1177 | if (!res) | 1178 | if (!res) |
1178 | return -ENODEV; | 1179 | return -ENODEV; |
1179 | smmu->regs[i] = devm_request_and_ioremap(&pdev->dev, res); | 1180 | smmu->regs[i] = devm_ioremap_resource(&pdev->dev, res); |
1180 | if (!smmu->regs[i]) | 1181 | if (IS_ERR(smmu->regs[i])) |
1181 | return -EBUSY; | 1182 | return PTR_ERR(smmu->regs[i]); |
1182 | } | 1183 | } |
1183 | 1184 | ||
1184 | err = of_get_dma_window(dev->of_node, NULL, 0, NULL, &base, &size); | 1185 | err = of_get_dma_window(dev->of_node, NULL, 0, NULL, &base, &size); |