Thread (35 messages) 35 messages, 5 authors, 2012-04-18

[PATCH] ep93xx: Implement double buffering for M2M DMA channels

From: H Hartley Sweeten <hidden>
Date: 2012-04-10 17:55:47
Also in: lkml

On Tuesday, April 10, 2012 10:29 AM, Mika Westerberg wrote:
On Fri, Mar 23, 2012 at 11:09:50AM -0500, H Hartley Sweeten wrote:
quoted
On Friday, March 23, 2012 12:05 AM, Mika Westerberg wrote:
quoted
On Thu, Mar 22, 2012 at 09:19:10PM -0500, H Hartley Sweeten wrote:
quoted
Did you test this patch or just review it?
I tested and reviewed it.
OK. What kernel? My tests so far have been with 3.3.
quoted
quoted
On my system it doesn't work. I think it has something to do with the
changes to m2m_hw_interrupt but I haven't tracked it down yet.

It looks like what's missing is a:

	edmac->edma->hw_submit(edmac);

But, maybe that's not needed with double buffering?
Did you try without your patch and adding my VIC hack? That's what I did when
I first got this patch and I saw no problems. I tested with audio (M2P),
mmc_spi (M2M) and dmatest (M2M).
No, I have not applied your VIC hack.

Until we get a working solution, without any hacks, I don't want this to go in.
Now that the spurious interrupts thing with VIC has been sorted out, should we
revisit this patch? Hartley, do you have any objections merging this?
I have not had a chance to look at this with the VIC issue fixed.

Last time I tried testing the double buffering patch my system would not boot
correctly. I'll try to test this again shortly.

Rafal,

Could you repost the latest version of the patch?

Regards,
Hartley
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help