Re: [Linaro-mm-sig] [PATCH v3 2/3] udmabuf: use sgtable-based scatterlist wrappers

2025-06-11 Thread Christian König
On 6/10/25 18:34, Marek Szyprowski wrote: > On 14.05.2025 15:44, Marek Szyprowski wrote: >> On 08.05.2025 11:57, Christian König wrote: >>> On 5/7/25 18:09, Marek Szyprowski wrote: Use common wrappers operating directly on the struct sg_table objects to fix incorrect use of scatterl

Re: [Linaro-mm-sig] [PATCH v3 2/3] udmabuf: use sgtable-based scatterlist wrappers

2025-06-10 Thread Marek Szyprowski
On 14.05.2025 15:44, Marek Szyprowski wrote: > On 08.05.2025 11:57, Christian König wrote: >> On 5/7/25 18:09, Marek Szyprowski wrote: >>> Use common wrappers operating directly on the struct sg_table >>> objects to >>> fix incorrect use of scatterlists sync calls. dma_sync_sg_for_*() >>> function

Re: [Linaro-mm-sig] [PATCH v3 2/3] udmabuf: use sgtable-based scatterlist wrappers

2025-05-14 Thread Marek Szyprowski
On 08.05.2025 11:57, Christian König wrote: > On 5/7/25 18:09, Marek Szyprowski wrote: >> Use common wrappers operating directly on the struct sg_table objects to >> fix incorrect use of scatterlists sync calls. dma_sync_sg_for_*() >> functions have to be called with the number of elements original

Re: [Linaro-mm-sig] [PATCH v3 2/3] udmabuf: use sgtable-based scatterlist wrappers

2025-05-08 Thread Christian König
On 5/7/25 18:09, Marek Szyprowski wrote: > Use common wrappers operating directly on the struct sg_table objects to > fix incorrect use of scatterlists sync calls. dma_sync_sg_for_*() > functions have to be called with the number of elements originally passed > to dma_map_sg_*() function, not the o

[PATCH v3 2/3] udmabuf: use sgtable-based scatterlist wrappers

2025-05-07 Thread Marek Szyprowski
Use common wrappers operating directly on the struct sg_table objects to fix incorrect use of scatterlists sync calls. dma_sync_sg_for_*() functions have to be called with the number of elements originally passed to dma_map_sg_*() function, not the one returned in sgtable's nents. Fixes: 1ffe09590