Re[2]: Bug in processing dependencies by async_tx_submit() ?

2007-11-12 Thread Yuri Tikhonov
Hi Dan, On 02.11.2007, 3:36:50 you wrote: I am preparing a new patch that replaces ASYNC_TX_DEP_ACK with ASYNC_TX_CHAIN_ACK. The plan is to make the entire chain of dependencies available up until the last transaction is submitted. This allows the entire dependency chain to be walked at

Re: Bug in processing dependencies by async_tx_submit() ?

2007-11-02 Thread Yuri Tikhonov
Hi Dan, On Friday 02 November 2007 03:36, Dan Williams wrote: This is happened because of the specific implementation of dma_wait_for_async_tx(). So I take it you are not implementing interrupt based callbacks in your driver? Why not ? I have interrupt based callbacks in my driver.

Re: Bug in processing dependencies by async_tx_submit() ?

2007-11-01 Thread Yuri Tikhonov
Hi Dan, Honestly I tried to fix this quickly using the approach similar to proposed by you, with one addition though (in fact, deletion of BUG_ON(chan == tx-chan) in async_tx_run_dependencies()). And this led to Kernel stack overflow. This happened because of the recurseve calling

Re: Bug in processing dependencies by async_tx_submit() ?

2007-11-01 Thread Dan Williams
On 11/1/07, Yuri Tikhonov [EMAIL PROTECTED] wrote: Hi Dan, Honestly I tried to fix this quickly using the approach similar to proposed by you, with one addition though (in fact, deletion of BUG_ON(chan == tx-chan) in async_tx_run_dependencies()). And this led to Kernel stack overflow.