diff options
| author | Joerg Roedel <[email protected]> | 2015-07-28 14:58:51 +0000 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2015-07-30 08:28:48 +0000 |
| commit | 52717828356b643a1650fca845b4af488a954cca (patch) | |
| tree | 2d5a6e86acf90f547f0c309ff5aa0241b0ed5025 /drivers/net/xen-netback/interface.c | |
| parent | iommu/amd: Use swiotlb in passthrough mode (diff) | |
| download | kernel-52717828356b643a1650fca845b4af488a954cca.tar.gz kernel-52717828356b643a1650fca845b4af488a954cca.zip | |
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 <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
