Thread (10 messages) 10 messages, 4 authors, 2006-10-25

Re: [Alsa-devel] RFC: dma_mmap_coherent() for powerpc/ppc architecture and ALSA?

From: Gerhard Pircher <hidden>
Date: 2006-06-29 21:15:17
Also in: alsa-devel, lkml

-------- Original-Nachricht --------
Datum: Thu, 29 Jun 2006 11:27:15 +0200
Von: Takashi Iwai [off-list ref]
An: Gerhard Pircher [off-list ref]
Betreff: Re: [Alsa-devel] RFC: dma_mmap_coherent() for powerpc/ppc architecture and ALSA?
At Wed, 28 Jun 2006 22:27:53 +0200,
Gerhard Pircher wrote:
quoted
Hi,

It took a little bit longer to integrate the patch, as I didn't figure
out  first how to implement the __dma_mmap_coherent() function for PPC
systems with CONFIG_NOT_COHERENT_CACHE defined. :)
quoted
Unfortunately my system still crashes within snd_pcm_mmap_data_nopage() 
(sound/core/pcm_native.c), as you can see below. I guess it tries to
remap 
quoted
a DMA buffer allocated by the not cache coherent DMA memory allocation 
function in arch/ppc/kernel/dma-mapping.c.
Strange, nopage will be never called if you apply my patch and modify
to use dma_mmap_coherent().


Takashi
That's indeed strange! I'm sure that the new code is called by the sound drivers. Should snd_pcm_mmap_data_nopage() not be used at all anymore, or are there any cases that could still trigger a call of snd_pcm_mmap_data_nopage()?

Gerhard

-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help