Re: [PATCH 1/1] dmaengine: dw: resolve recursion lock when audio playback

From: Andy Shevchenko
Date: Mon Sep 28 2015 - 04:46:17 EST


On Mon, 2015-09-28 at 15:23 +0800, yitian wrote:
> >
> > From: Andy Shevchenko [mailto:andy.shevchenko@xxxxxxxxx]
> > Sent: Monday, September 28, 2015 3:06 PM
> > To: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
> > Cc: yitian <yitian.bu@xxxxxxxxxxxxxx>; Viresh Kumar
> > <vireshk@xxxxxxxxxx>; Andy Shevchenko
> > <andriy.shevchenko@xxxxxxxxxxxxxxx>; Vinod Koul <
> > vinod.koul@xxxxxxxxx>;
> > Dan Williams <dan.j.williams@xxxxxxxxx>; dmaengine
> > <dmaengine@xxxxxxxxxxxxxxx>; Linux Kernel Mailing List
> > <linux-kernel@xxxxxxxxxxxxxxx>
> > Subject: Re: [PATCH 1/1] dmaengine: dw: resolve recursion
> > > I am not sure if this is a sane way of doing that, and we were
> > > scanning
> > > the descriptors for some valid reason..
> >
> > Actually one of the patches in a pile sitting in my private repo is
> > also including similar change. In my case the reason is to support
> > cyclic transfers natively.
> >
>
> Yes, i am using DW DMAC to support cyclic transfer.
> Currently it is very easy to get recursion lock crash, but
> after this patch everything is fine on my device.

What is an actual hardware you are running kernel on?

--
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Intel Finland Oy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/