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

2021-08-09 Thread David Stevens
On Tue, Aug 10, 2021 at 10:19 AM Mi, Dapeng1 wrote: > > 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

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

2021-08-09 Thread Mi, Dapeng1
6, 2021 6:34 PM To: Robin Murphy Cc: linux-ker...@vger.kernel.org; Sergey Senozhatsky ; iommu@lists.linux-foundation.org; David Stevens ; Will Deacon ; Christoph Hellwig Subject: [PATCH v2 3/9] dma-iommu: bounce buffers for untrusted devices From: David Stevens Add support for dynamic bounce

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

2021-08-06 Thread kernel test robot
Hi David, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on iommu/next] [also build test WARNING on drm-intel/for-linux-next hch-configfs/for-next linus/master v5.14-rc4] [cannot apply to next-20210805] [If your patch is applied to the wrong git tree, kindly

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

2021-08-06 Thread David Stevens
From: David Stevens Add support for dynamic bounce buffers to the dma-api for use with subgranule IOMMU mappings with untrusted devices. Bounce buffer management is split into two parts. First, there is a buffer manager that is responsible for allocating and tracking buffers. Second, there is a