[Top] [All Lists]

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

To: Wu Zhangjin <>
Subject: Re: [PATCH] MIPS: Fixups of ALSA memory maps
From: Ralf Baechle <>
Date: Mon, 16 Nov 2009 18:06:41 +0100
Cc: Jaroslav Kysela <>, Takashi Iwai <>,,,, Wu Zhangjin <>
In-reply-to: <>
Original-recipient: rfc822;
References: <>
User-agent: Mutt/1.5.19 (2009-01-05)
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
>, and contributed by Yanhua
> from Lemote Inc.
> Reported-by: qiaochong <>
> Signed-off-by: Wu Zhangjin <>

This issue is an old ghost still around, see:

which is a superset of your proposed patch and which itself is refering to
an even older posting from 2003:

The #ifdef'ed solution doesn't cut it for sure.  Let's see what better we
can find ...


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