RE: [PATCH v3 5/5] dma-iommu: account for min_align_mask

2021-08-11 Thread Mi, Dapeng1
> -Original Message- > From: iommu On Behalf Of > David Stevens > Sent: Wednesday, August 11, 2021 10:43 AM > To: Robin Murphy ; Will Deacon > Cc: linux-ker...@vger.kernel.org; Tom Murphy ; > iommu@lists.linux-foundation.org; David Stevens > Subject: [PATCH v3 5/5] dma-iommu: account for

RE: [PATCH v2 3/9] dma-iommu: bounce buffers for untrusted devices

2021-08-09 Thread Mi, Dapeng1
Hi David, I like this patch set and this is crucial for reducing the significant vIOMMU performance. It looks you totally rewrite the IOMMU mapping/unmapping part and use the dynamically allocated memory from buddy system as bounce buffer instead of using the legacy SWIOTLB bounce buffer. As I