Messages in this thread | | | Date | Thu, 26 Jan 2006 17:02:53 +0100 | From | Takashi Iwai <> | Subject | Re: ALSA on MIPS platform |
| |
At Fri, 27 Jan 2006 00:29:25 +0900 (JST), Atsushi Nemoto wrote: > > >>>>> On Wed, 25 Jan 2006 20:03:13 +0100, Takashi Iwai <tiwai@suse.de> said: > > tiwai> The right fix is, IMO, to port dma_mmap_coherent() to all > tiwai> archs. Currently, it's only on ARM. > > Thanks. Is this solve both issue #1 and #2 ?
Yes. In theory, dma_alloc_coherent() and dma_mmap_coherent() should cover all the magic each arch requires.
> The most part of issue #1 will vanish if NEED_RESERVE_PAGES was > defined, and currently only ARM define this. ARM defines > NEED_RESERVE_PAGES because it has dma_mmap_coherent(), right?
Well, the whole page-reserve kludge should disappear anyway in near future. Right now it's in the process.
The memory allocation stuff in ALSA is being largely rewritten on my local tree, but it's not released yet. One reason is to wait for the finish of page-reserve removals, and another reason is that I've had little time to tidy them up :)
-- Takashi Iwai <tiwai@suse.de> ALSA Developer - www.alsa-project.org - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |