RE: dmaengine: DMA_CTRL_ACK flag signification

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Sosnowski, Maciej
Date: Tuesday, October 7, 2008 - 2:09 am

Nicolas Ferre wrote:

Hi Nicolas,

Sorry for the delay in response.
Generally the idea behind DMA_CTRL_ACK is to let an application 
safely set a chain of dependent operations.
What a DMA driver needs to do is to check 
if a given descriptor has been already acked (using async_tx_test_ack())
before it recycles or releases it.
You are right that there is no place where DMA_CTRL_ACK 
is cleared at the moment. I would say it is the offload engine driver 
responsibility to clear the flag when it recycles the descriptor.
Dan, could you confirm?

Regards,
Maciej
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
dmaengine: DMA_CTRL_ACK flag signification, Nicolas Ferre, (Wed Sep 24, 4:59 am)
RE: dmaengine: DMA_CTRL_ACK flag signification, Sosnowski, Maciej, (Tue Oct 7, 2:09 am)
Re: dmaengine: DMA_CTRL_ACK flag signification, Dan Williams, (Mon Oct 13, 11:51 am)