[PATCH v14 12/12] dmaengine: imx-sdma: add terminated list for freed descriptor in worker

Vinod Koul vkoul at kernel.org
Mon Jun 14 23:06:45 PDT 2021


On 07-04-21, 23:30, Robin Gong wrote:
> Add terminated list for keeping descriptor so that it could be freed in
> worker without any potential involving next descriptor raised up before
> this descriptor freed, because vchan_get_all_descriptors get all
> descriptors including the last terminated descriptor and the next
> descriptor, hence, the next descriptor maybe freed unexpectly when it's
> done in worker without this patch.
> https://www.spinics.net/lists/dmaengine/msg23367.html

Acked-By: Vinod Koul <vkoul at kernel.org>

-- 
~Vinod



More information about the linux-arm-kernel mailing list