Re: [PATCH v4 5/6] swiotlb: support aligned swiotlb buffers

2021-08-14 Thread kernel test robot
Hi David, Thank you for the patch! Yet something to improve: [auto build test ERROR on iommu/next] [also build test ERROR on hch-configfs/for-next linus/master v5.14-rc5] [cannot apply to swiotlb/linux-next next-20210813] [If your patch is applied to the wrong git tree, kindly drop us a note. And

Re: [PATCH v4 5/6] swiotlb: support aligned swiotlb buffers

2021-08-13 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig ___ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu

[PATCH v4 5/6] swiotlb: support aligned swiotlb buffers

2021-08-13 Thread David Stevens
From: David Stevens Add an argument to swiotlb_tbl_map_single that specifies the desired alignment of the allocated buffer. This is used by dma-iommu to ensure the buffer is aligned to the iova granule size when using swiotlb with untrusted sub-granule mappings. This addresses an issue where adja