pcm|dmaengine|imx-sdma race condition on i.MX6

Robin Gong yibin.gong at nxp.com
Fri Aug 21 05:21:37 EDT 2020


On 2020/08/21 12:34 Richard Leitner <richard.leitner at skidata.com> wrote: 
> On Thu, Aug 20, 2020 at 03:01:44PM +0000, Robin Gong wrote:
> > On 2020/08/19 22:26 Benjamin Bara - SKIDATA <Benjamin.Bara at skidata.com>
> wrote:
> > >
> > > @Robin:
> > > Is it possible to tag the commits for the stable-tree
> > > Cc: stable at vger.kernel.org?
> > Could my patch work in your side? If yes, I will add
> > Cc: stable at vger.kernel.org
> 
> I've tested the patches 3 & 4 (removing sdmac->context_loaded) of the series
> you mentioned and sent Tested-by tags for them [1,2], as they fix the EIO
> problems for our use case.
> 
> So from our side they are fine for stable.
> 
Okay, I thought that's just decrease the issue in your side not totally fix, and the patch
I post in https://www.spinics.net/lists/arm-kernel/msg829972.html
could resolve the potential next descriptor wrongly freed by vchan_get_all_descriptors
in sdma_channel_terminate_work. Anyway, I'll add ' Cc: stable at vger.kernel.org' and
your Tested-by tags in 3&4, then resend it again, thanks.



More information about the linux-arm-kernel mailing list