https://github.com/torvalds/linux
Revision 52717828356b643a1650fca845b4af488a954cca authored by Joerg Roedel on 28 July 2015, 14:58:51 UTC, committed by Joerg Roedel on 30 July 2015, 08:28:48 UTC
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 <jroedel@suse.de>
1 parent 3230232
History
Tip revision: 52717828356b643a1650fca845b4af488a954cca authored by Joerg Roedel on 28 July 2015, 14:58:51 UTC
iommu/amd: Set global dma_ops if swiotlb is disabled
Tip revision: 5271782
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 5.3 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.7 KB
Kbuild -rw-r--r-- 2.6 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 313.5 KB
Makefile -rw-r--r-- 53.1 KB
README -rw-r--r-- 18.2 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top