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 09:15:33 +0100 [thread overview]
Message-ID: <20040705091533.A17721@flint.arm.linux.org.uk> (raw)
In-Reply-To: <A6991F0FA073F34C94E97976CAC0323116F8BC@server2.nordicid.com>; from bo.henriksen@nordicid.com on Mon, Jul 05, 2004 at 10:03:32AM +0300
On Mon, Jul 05, 2004 at 10:03:32AM +0300, Bo Henriksen wrote:
> If I insert "_dev" on the third parameter the function completes with
> following output 6 times:
>
> lh7a40x-aac lh7a40x-aac0: coherent DMA mask is unset
In order to allocate DMA memory, we must know the DMA mask, which
in turn gives us the allowable physical address range for the DMA
allocation.
If you have no restriction, set the coherent DMA mask to ~0.
--
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
next prev parent reply other threads:[~2004-07-05 8:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-05 7:03 snd_pcm_lib_preallocate_pages_for_all Bo Henriksen
2004-07-05 8:15 ` Russell King [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-07-05 8:56 snd_pcm_lib_preallocate_pages_for_all Bo Henriksen
2004-07-05 9:00 ` snd_pcm_lib_preallocate_pages_for_all Russell King
2004-07-05 9:17 ` snd_pcm_lib_preallocate_pages_for_all Takashi Iwai
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
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=20040705091533.A17721@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.