From: Joerg Roedel Date: Tue, 28 Jul 2015 14:58:51 +0000 (+0200) Subject: iommu/amd: Set global dma_ops if swiotlb is disabled X-Git-Tag: omap-for-v4.3/fixes-merge-window~161^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52717828356b643a1650fca845b4af488a954cca;p=pandora-kernel.git iommu/amd: Set global dma_ops if swiotlb is disabled Some AMD systems also have non-PCI devices which can do DMA. Those can't be handled by the AMD IOMMU, as the hardware can only handle PCI. These devices would end up with no dma_ops, as neither the per-device nor the global dma_ops will get set. SWIOTLB provides global dma_ops when it is active, so make sure there are global dma_ops too when swiotlb is disabled. Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed