Re: [PATCH v4 02/38] scatterlist: add generic wrappers for iterating over sgtable objects

2020-05-13 Thread Robin Murphy
On 2020-05-12 10:00 am, Marek Szyprowski wrote: struct sg_table is a common structure used for describing a memory buffer. It consists of a scatterlist with memory pages and DMA addresses (sgl entry), as well as the number of scatterlist entries: CPU pages (orig_nents entry) and DMA mapped pages

Re: [PATCH v4 02/38] scatterlist: add generic wrappers for iterating over sgtable objects

2020-05-12 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 02/38] scatterlist: add generic wrappers for iterating over sgtable objects

2020-05-12 Thread Marek Szyprowski
struct sg_table is a common structure used for describing a memory buffer. It consists of a scatterlist with memory pages and DMA addresses (sgl entry), as well as the number of scatterlist entries: CPU pages (orig_nents entry) and DMA mapped pages (nents entry). It turned out that it was a