diff options
author | Lu Baolu <[email protected]> | 2020-05-06 09:59:47 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2020-05-13 12:02:01 +0200 |
commit | 6fc7020cf298aaec343df423746b44d99c6efaa5 (patch) | |
tree | 26723f040a13384564c3aa968df9b63748840446 /lib/mpi/mpi-mul.c | |
parent | 14b3526d5909f01e1d1baa05f50952788bb7418e (diff) |
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 <[email protected]>
Tested-by: Daniel Drake <[email protected]>
Reviewed-by: Jon Derrick <[email protected]>
Reviewed-by: Jerry Snitselaar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions