All of lore.kernel.org
 help / color / mirror / Atom feed
From: Russell King <rmk+alsa@arm.linux.org.uk>
To: Bo Henriksen <bo.henriksen@nordicid.com>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: snd_pcm_lib_preallocate_pages_for_all
Date: Mon, 5 Jul 2004 10:00:39 +0100	[thread overview]
Message-ID: <20040705100038.B17721@flint.arm.linux.org.uk> (raw)
In-Reply-To: <A6991F0FA073F34C94E97976CAC0323116F8CA@server2.nordicid.com>; from bo.henriksen@nordicid.com on Mon, Jul 05, 2004 at 11:56:25AM +0300

On Mon, Jul 05, 2004 at 11:56:25AM +0300, Bo Henriksen wrote:
> It now crashes again. I have tried to preallocate the buffer using
> dma_alloc_coherent and free it with dma_free_coherent. This succeeds and
> I am using this in other drivers as well. I guess I am missing something
> else?

Yes, ALSA assumes that memory returned from dma_alloc_coherent is
kernel direct mapped memory.  ALSA is wrong in that assumption.
Hopefully ALSA people can help you further.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                 2.6 Serial core


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com

  reply	other threads:[~2004-07-05  9:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-05  8:56 snd_pcm_lib_preallocate_pages_for_all Bo Henriksen
2004-07-05  9:00 ` Russell King [this message]
2004-07-05  9:17   ` snd_pcm_lib_preallocate_pages_for_all Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2004-07-05 10:57 snd_pcm_lib_preallocate_pages_for_all Bo Henriksen
2004-07-05 11:10 ` snd_pcm_lib_preallocate_pages_for_all Takashi Iwai
2004-07-06  8:34   ` snd_pcm_lib_preallocate_pages_for_all Jaroslav Kysela
2004-07-05  7:03 snd_pcm_lib_preallocate_pages_for_all Bo Henriksen
2004-07-05  8:15 ` snd_pcm_lib_preallocate_pages_for_all Russell King

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=20040705100038.B17721@flint.arm.linux.org.uk \
    --to=rmk+alsa@arm.linux.org.uk \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=bo.henriksen@nordicid.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.