]> git.baikalelectronics.ru Git - kernel.git/commit
iommu: Allow the dma-iommu api to use bounce buffers
authorTom Murphy <murphyt7@tcd.ie>
Tue, 24 Nov 2020 08:20:53 +0000 (16:20 +0800)
committerWill Deacon <will@kernel.org>
Wed, 25 Nov 2020 12:03:48 +0000 (12:03 +0000)
commitd5464a26573a18c9261812bddc78cdfaadb99b88
tree20b27cea6ed889d1b65b921a1292d64fd1891578
parenta07fac7f1c8547cfeed10e5c59a5497925568e5d
iommu: Allow the dma-iommu api to use bounce buffers

Allow the dma-iommu api to use bounce buffers for untrusted devices.
This is a copy of the intel bounce buffer code.

Co-developed-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Tom Murphy <murphyt7@tcd.ie>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Tested-by: Logan Gunthorpe <logang@deltatee.com>
Link: https://lore.kernel.org/r/20201124082057.2614359-4-baolu.lu@linux.intel.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/dma-iommu.c