linux-mips
[Top] [All Lists]

Re: [PATCH] MIPS: Fixups of ALSA memory maps

To: Wu Zhangjin <wuzhangjin@gmail.com>
Subject: Re: [PATCH] MIPS: Fixups of ALSA memory maps
From: Takashi Iwai <tiwai@suse.de>
Date: Mon, 16 Nov 2009 18:12:22 +0100
Cc: Ralf Baechle <ralf@linux-mips.org>, Jaroslav Kysela <perex@perex.cz>, alsa-devel@alsa-project.org, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, Wu Zhangjin <wuzj@lemote.com>
In-reply-to: <9cbcd06037c18288a6493459b8f3a6e1562eca77.1258389992.git.wuzhangjin@gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <9cbcd06037c18288a6493459b8f3a6e1562eca77.1258389992.git.wuzhangjin@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/23.1 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO)
At Tue, 17 Nov 2009 00:48:14 +0800,
Wu Zhangjin wrote:
> 
> Hi, All
> 
> Seems this is MIPS specific, but it's not that easy to move this patch
> into the arch/mips part, So, any better solution?

Actually, this has been a looong-standing problem.
I have a series of patches to fix these issues, but it's more
intensively involved with dma_*() functions.

The patches can be found in test/dma-fix branch of sound GIT tree.
  git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git test/dma-fix

This basically adds dma_mmap_coherent() function to feasible
architectures, which is already implemented for ARM, so far.


thanks,

Takashi

<Prev in Thread] Current Thread [Next in Thread>