Thread (33 messages) 33 messages, 7 authors, 2008-05-22

Re: [PATCH] Sam440ep support

flat view

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2008-05-06 10:13:58

On Tue, 2008-05-06 at 11:16 +0200, Gerhard Pircher wrote:
I can't answer this question. *ducked* :-) Takashi?

FYI: I posted the results of the test with Takashi's dma_mmap_coherent
patch here:
http://ozlabs.org/pipermail/linuxppc-dev/2006-June/024078.html

On the other side it looks like this problem does not only affect
ALSA.
As far as I can tell also some V4L(2) drivers have a problem with
mmaping
non coherent DMA allocations, but I'm not sure (it's a long time since
I
did some tests with video cards on my AmigaOne).

Naturally I can do some tests, if you or Takashi come up with a new
patch.
Time that we sort that stuff out once for all..

sg allocations are usually lists of page, so virt_to_page shouldn't be a
problem in the first place, though we still need some way to get the
right prot attributes.

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