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

Christian König christian.koenig at amd.com
Wed Jun 11 11:19:42 UTC 2025


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 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: 1ffe09590121 ("udmabuf: fix dma-buf cpu access")
>>>> CC: stable at vger.kernel.org
>>>> Signed-off-by: Marek Szyprowski <m.szyprowski at samsung.com>
>>>> Acked-by: Vivek Kasireddy <vivek.kasireddy at intel.com>
>>> Reviewed-by: Christian König <christian.koenig at amd.com>
>>>
>>> Should I push this one to drm-misc-fixes for upstreaming?
>>
>> Yes, please. The other 2 patches have been taken by the media maintainers.
> 
> Gentle ping

Done.

Thanks for the reminder, totally forgotten about that one.

Regards,
Christian.

> 
> Best regards



More information about the dri-devel mailing list