Skip to content

PCM mmap (temporary) fixes for non-coherent architectures

Takashi Iwai alsa-devel linux-mips 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 18 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ALSA: pcm - Use dma_mmap_coherent() if availablesound/core/pcm_native.c+33 -160 replies
2/5ALSA: pcm - define snd_pcm_default_page_ops()sound/core/pcm_native.c+12 -80 replies
3/5ALSA: pcm - fix page conversion on non-coherent MIPS archsound/core/pcm_native.c+4 -04 replies
4/5ALSA: pcm - fix page conversion on non-coherent PPC archsound/core/pcm_native.c+10 -04 replies
5/5ALSA: Remove old DMA-mmap code from arm/devdma.csound/arm/Makefile sound/arm/aaci.c sound/arm/devdma.c +1 more+6 -950 replies

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchBenjamin HerrenschmidtRalf Baechle
1/5
2/5
3/5A-b
4/5A-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] PCM mmap (temporary) fixes for non-coherent architectures

Hi,

this is a patchset to fix Oopses from ALSA PCM core with mmap on MIPS and PPC non-coherent architectures. This contains also a clean-up for ARM mmap.

In this patch series, I don't try to port dma_mmap_coherent() to these architectures yet, but just put ugly ifdefs in the ALSA core side. Understand that this is a first step forward to a more cleaner solution, and the purpose right now is just to fix up long-standing Oops. I'll try to push dma_mmap_coherent() patches for the next kernel once again after this gets merged.

Since the changes are minimal, I'd like to put them in ASAP for 2.6.33. Please review and give feedbacks if any problem is found.

Thanks,

Takashi