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

Takashi Iwai tiwai at suse.de
Thu Jun 29 19:27:15 EST 2006


At Wed, 28 Jun 2006 22:27:53 +0200,
Gerhard Pircher wrote:
> 
> 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. :)
> 
> 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 
> 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



More information about the Linuxppc-dev mailing list