From: Ralf Baechle <ralf@linux-mips.org>
To: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org, alsa-devel@alsa-project.org,
Takashi Iwai <tiwai@suse.de>,
linux-kernel@vger.kernel.org, Wu Zhangjin <wuzj@lemote.com>
Subject: Re: [PATCH] MIPS: Fixups of ALSA memory maps
Date: Mon, 16 Nov 2009 18:06:41 +0100 [thread overview]
Message-ID: <20091116170641.GD14948@linux-mips.org> (raw)
In-Reply-To: <9cbcd06037c18288a6493459b8f3a6e1562eca77.1258389992.git.wuzhangjin@gmail.com>
On Tue, Nov 17, 2009 at 12:48:14AM +0800, Wu Zhangjin wrote:
> Seems this is MIPS specific, but it's not that easy to move this patch
> into the arch/mips part, So, any better solution?
>
> Thanks & Regards,
> Wu Zhangjin
>
> ------------------------
>
> The user application mmap audio dma regions must be dma-coherent. This
> patch fix it.
>
> Without this patch, artsd will fail on boot, and mplayer will exit with
> "Segmentation fault". (this happens on YeeLoong netbook, fuloong2f
> mini pc with snd_cs5535 audio card)
>
> This is originally from the to-mips branch of
> http://dev.lemote.com/code/linux_loongson, and contributed by Yanhua
> from Lemote Inc.
>
> Reported-by: qiaochong <qiaochong@gmail.com>
> Signed-off-by: Wu Zhangjin <wuzj@lemote.com>
This issue is an old ghost still around, see:
http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20060124.132832.37533152.nemoto%40toshiba-tops.co.jp
which is a superset of your proposed patch and which itself is refering to
an even older posting from 2003:
http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20030523215935.71373.qmail%40web11901.mail.yahoo.com
The #ifdef'ed solution doesn't cut it for sure. Let's see what better we
can find ...
Ralf
WARNING: multiple messages have this Message-ID (diff)
From: Ralf Baechle <ralf@linux-mips.org>
To: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.de>,
alsa-devel@alsa-project.org, linux-mips@linux-mips.org,
linux-kernel@vger.kernel.org, Wu Zhangjin <wuzj@lemote.com>
Subject: Re: [PATCH] MIPS: Fixups of ALSA memory maps
Date: Mon, 16 Nov 2009 18:06:41 +0100 [thread overview]
Message-ID: <20091116170641.GD14948@linux-mips.org> (raw)
In-Reply-To: <9cbcd06037c18288a6493459b8f3a6e1562eca77.1258389992.git.wuzhangjin@gmail.com>
On Tue, Nov 17, 2009 at 12:48:14AM +0800, Wu Zhangjin wrote:
> Seems this is MIPS specific, but it's not that easy to move this patch
> into the arch/mips part, So, any better solution?
>
> Thanks & Regards,
> Wu Zhangjin
>
> ------------------------
>
> The user application mmap audio dma regions must be dma-coherent. This
> patch fix it.
>
> Without this patch, artsd will fail on boot, and mplayer will exit with
> "Segmentation fault". (this happens on YeeLoong netbook, fuloong2f
> mini pc with snd_cs5535 audio card)
>
> This is originally from the to-mips branch of
> http://dev.lemote.com/code/linux_loongson, and contributed by Yanhua
> from Lemote Inc.
>
> Reported-by: qiaochong <qiaochong@gmail.com>
> Signed-off-by: Wu Zhangjin <wuzj@lemote.com>
This issue is an old ghost still around, see:
http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20060124.132832.37533152.nemoto%40toshiba-tops.co.jp
which is a superset of your proposed patch and which itself is refering to
an even older posting from 2003:
http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=20030523215935.71373.qmail%40web11901.mail.yahoo.com
The #ifdef'ed solution doesn't cut it for sure. Let's see what better we
can find ...
Ralf
next prev parent reply other threads:[~2009-11-16 17:06 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-16 16:48 [PATCH] MIPS: Fixups of ALSA memory maps Wu Zhangjin
2009-11-16 17:06 ` Ralf Baechle [this message]
2009-11-16 17:06 ` Ralf Baechle
2009-11-16 17:14 ` Takashi Iwai
2009-11-16 17:14 ` Takashi Iwai
2009-11-17 13:50 ` Ralf Baechle
2009-11-17 13:50 ` Ralf Baechle
2009-11-16 17:12 ` Takashi Iwai
2009-11-16 17:12 ` Takashi Iwai
2009-11-16 17:43 ` Ralf Baechle
2009-11-16 17:43 ` Ralf Baechle
2009-11-17 9:29 ` Takashi Iwai
2009-11-17 9:29 ` Takashi Iwai
2009-11-18 14:20 ` Ralf Baechle
2009-11-18 14:20 ` Ralf Baechle
2009-11-18 17:47 ` Takashi Iwai
2009-11-18 17:47 ` Takashi Iwai
2009-11-21 12:31 ` Wu Zhangjin
2009-11-23 8:56 ` Takashi Iwai
2009-11-23 8:56 ` Takashi Iwai
2009-11-23 12:36 ` Ralf Baechle
2009-11-23 12:36 ` Ralf Baechle
2009-11-26 14:51 ` Takashi Iwai
2009-11-26 14:51 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091116170641.GD14948@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=alsa-devel@alsa-project.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=tiwai@suse.de \
--cc=wuzhangjin@gmail.com \
--cc=wuzj@lemote.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.