From: "Gerhard Pircher" <gerhard_pircher@gmx.net>
To: Takashi Iwai <tiwai@suse.de>
Cc: linuxppc-dev@ozlabs.org, rlrevell@joe-job.com,
alsa-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: Re: [Alsa-devel] RFC: dma_mmap_coherent() for powerpc/ppc architecture and ALSA?
Date: Thu, 29 Jun 2006 23:15:13 +0200 [thread overview]
Message-ID: <20060629211513.64980@gmx.net> (raw)
In-Reply-To: <s5hfyhopb0s.wl%tiwai@suse.de>
-------- Original-Nachricht --------
Datum: Thu, 29 Jun 2006 11:27:15 +0200
Von: Takashi Iwai <tiwai@suse.de>
An: Gerhard Pircher <gerhard_pircher@gmx.net>
Betreff: Re: [Alsa-devel] RFC: dma_mmap_coherent() for powerpc/ppc architecture and ALSA?
> At Wed, 28 Jun 2006 22:27:53 +0200,
> Gerhard Pircher wrote:
> >
> > Hi,
> >
> > It took a little bit longer to integrate the patch, as I didn't figure
> out first how to implement the __dma_mmap_coherent() function for PPC
> systems with CONFIG_NOT_COHERENT_CACHE defined. :)
> >
> > Unfortunately my system still crashes within snd_pcm_mmap_data_nopage()
> > (sound/core/pcm_native.c), as you can see below. I guess it tries to
> remap
> > a DMA buffer allocated by the not cache coherent DMA memory allocation
> > function in arch/ppc/kernel/dma-mapping.c.
>
> Strange, nopage will be never called if you apply my patch and modify
> to use dma_mmap_coherent().
>
>
> Takashi
>
That's indeed strange! I'm sure that the new code is called by the sound drivers. Should snd_pcm_mmap_data_nopage() not be used at all anymore, or are there any cases that could still trigger a call of snd_pcm_mmap_data_nopage()?
Gerhard
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
next prev parent reply other threads:[~2006-06-29 21:15 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-28 20:27 Re: [Alsa-devel] RFC: dma_mmap_coherent() for powerpc/ppc architecture and ALSA? Gerhard Pircher
2006-06-29 9:27 ` Takashi Iwai
2006-06-29 21:15 ` Gerhard Pircher [this message]
2006-06-30 9:12 ` Takashi Iwai
2006-06-30 18:21 ` Gerhard Pircher
2006-10-19 13:24 ` [RFC] Porting AmigaOne platform code from ppc to powerpc Gerhard Pircher
2006-10-21 23:51 ` Benjamin Herrenschmidt
2006-10-23 18:57 ` Crash with highmem support enabled Gerhard Pircher
2006-10-25 5:34 ` Paul Mackerras
2006-10-25 7:45 ` Gerhard Pircher
-- strict thread matches above, loose matches on Subject: below --
2006-06-10 8:22 Re: RFC: dma_mmap_coherent() for powerpc/ppc architecture and ALSA? Gerhard Pircher
2006-06-12 10:51 ` Takashi Iwai
2006-06-12 14:42 ` Gerhard Pircher
2006-06-14 14:42 ` [Alsa-devel] " 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=20060629211513.64980@gmx.net \
--to=gerhard_pircher@gmx.net \
--cc=alsa-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=rlrevell@joe-job.com \
--cc=tiwai@suse.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).