Re: [PATCH] iommu/iova: Add support for IOVA max alignment tuning

2021-10-13 Thread kernel test robot
Hi Georgi, I love your patch! Yet something to improve: [auto build test ERROR on joro-iommu/next] [also build test ERROR on hnaz-mm/master linus/master v5.15-rc5 next-20211013] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '-

Re: [PATCH] iommu/iova: Add support for IOVA max alignment tuning

2021-10-13 Thread Robin Murphy
On 2021-10-13 19:11, Georgi Djakov wrote: IOVAs are aligned to the smallest PAGE_SIZE order, where the requested IOVA can fit. But this might not work for all use-cases. It can cause IOVA fragmentation in some multimedia and 8K video use-cases that may require larger buffers to be allocated and m

[PATCH] iommu/iova: Add support for IOVA max alignment tuning

2021-10-13 Thread Georgi Djakov
IOVAs are aligned to the smallest PAGE_SIZE order, where the requested IOVA can fit. But this might not work for all use-cases. It can cause IOVA fragmentation in some multimedia and 8K video use-cases that may require larger buffers to be allocated and mapped. When the above allocation pattern is