At Fri, 27 Jan 2006 00:29:25 +0900 (JST),
Atsushi Nemoto wrote:
>
> >>>>> On Wed, 25 Jan 2006 20:03:13 +0100, Takashi Iwai <[email protected]> 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 <[email protected]> ALSA Developer - www.alsa-project.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]