Re: [PATCH 1/4] dmaengine: Add transfer termination synchronization support

2015-10-30 Thread Lars-Peter Clausen
On 10/29/2015 10:59 PM, Andy Shevchenko wrote: > On Tue, Oct 20, 2015 at 12:46 PM, Lars-Peter Clausen wrote: >> The DMAengine API has a long standing race condition that is inherent to >> the API itself. Calling dmaengine_terminate_all() is supposed to stop and >> abort any pending or active trans

Re: [PATCH 1/4] dmaengine: Add transfer termination synchronization support

2015-10-29 Thread Andy Shevchenko
On Tue, Oct 20, 2015 at 12:46 PM, Lars-Peter Clausen wrote: > The DMAengine API has a long standing race condition that is inherent to > the API itself. Calling dmaengine_terminate_all() is supposed to stop and > abort any pending or active transfers that have previously been submitted. > Unfortun

[PATCH 1/4] dmaengine: Add transfer termination synchronization support

2015-10-20 Thread Lars-Peter Clausen
The DMAengine API has a long standing race condition that is inherent to the API itself. Calling dmaengine_terminate_all() is supposed to stop and abort any pending or active transfers that have previously been submitted. Unfortunately it is possible that this operation races against a currently ru