intel-iommu: Unify hardware and software passthrough support
[deliverable/linux.git] / arch / x86 / kernel / pci-swiotlb.c
index 6af96ee4420080775f5afa466f2bad335434d935..1e66b18f45cb6da71321a0cc5f66cf9688e980f7 100644 (file)
@@ -71,9 +71,8 @@ void __init pci_swiotlb_init(void)
 {
        /* don't initialize swiotlb if iommu=off (no_iommu=1) */
 #ifdef CONFIG_X86_64
-       if ((!iommu_detected && !no_iommu && max_pfn > MAX_DMA32_PFN) ||
-               iommu_pass_through)
-              swiotlb = 1;
+       if ((!iommu_detected && !no_iommu && max_pfn > MAX_DMA32_PFN))
+               swiotlb = 1;
 #endif
        if (swiotlb_force)
                swiotlb = 1;
This page took 0.023491 seconds and 5 git commands to generate.