linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH V2] dmaengine: mdc: Correct terminate_all handling
       [not found] <1449760043-6292-1-git-send-email-Damien.Horsley@imgtec.com>
@ 2015-12-18  5:45 ` Vinod Koul
  0 siblings, 0 replies; only message in thread
From: Vinod Koul @ 2015-12-18  5:45 UTC (permalink / raw)
  To: Damien Horsley; +Cc: dmaengine, linux-kernel, Dan Williams, James Hartley

On Thu, Dec 10, 2015 at 03:07:23PM +0000, Damien Horsley wrote:
> From: "Damien.Horsley" <Damien.Horsley@imgtec.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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-12-18  5:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1449760043-6292-1-git-send-email-Damien.Horsley@imgtec.com>
2015-12-18  5:45 ` [PATCH V2] dmaengine: mdc: Correct terminate_all handling Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).