[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20151218054520.GU1854@localhost>
Date: Fri, 18 Dec 2015 11:15:20 +0530
From: Vinod Koul <vinod.koul@...el.com>
To: Damien Horsley <Damien.Horsley@...tec.com>
Cc: dmaengine@...r.kernel.org, linux-kernel@...r.kernel.org,
Dan Williams <dan.j.williams@...el.com>,
James Hartley <james.hartley@...tec.com>
Subject: Re: [PATCH V2] dmaengine: mdc: Correct terminate_all handling
On Thu, Dec 10, 2015 at 03:07:23PM +0000, Damien Horsley wrote:
> From: "Damien.Horsley" <Damien.Horsley@...tec.com>
>
> Use of the CANCEL bit in mdc_terminate_all creates an
> additional 'command done' to appear in the registers (in
> addition to an interrupt).
>
> In addition, there is a potential race between
> mdc_terminate_all and the irq handler if a transfer
> completes at the same time as the terminate all (presently
> this results in an inappropriate warning).
>
> To handle these issues, any outstanding 'command done'
> events are cleared during mdc_terminate_all and the irq
> handler takes no action when there are no new 'command done'
> events.
Applied, thanks
--
~Vinod
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists