diff options
author | 2020-05-06 09:59:47 +0800 | |
---|---|---|
committer | 2020-05-13 12:02:01 +0200 | |
commit | 6fc7020cf298aaec343df423746b44d99c6efaa5 (patch) | |
tree | 26723f040a13384564c3aa968df9b63748840446 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iommu/vt-d: Allow PCI sub-hierarchy to use DMA domain (diff) | |
download | wireguard-linux-6fc7020cf298aaec343df423746b44d99c6efaa5.tar.xz wireguard-linux-6fc7020cf298aaec343df423746b44d99c6efaa5.zip |
iommu/vt-d: Apply per-device dma_ops
Current Intel IOMMU driver sets the system level dma_ops. This causes
each dma API to go through the IOMMU driver even the devices are using
identity mapped domains. This sets per-device dma_ops only if a device
is using a DMA domain. Otherwise, use the default system level dma_ops
for direct dma.
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Tested-by: Daniel Drake <drake@endlessm.com>
Reviewed-by: Jon Derrick <jonathan.derrick@intel.com>
Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>
Link: https://lore.kernel.org/r/20200506015947.28662-4-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions