From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell King Subject: Re: snd_pcm_lib_preallocate_pages_for_all Date: Mon, 5 Jul 2004 09:15:33 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: <20040705091533.A17721@flint.arm.linux.org.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: ; from bo.henriksen@nordicid.com on Mon, Jul 05, 2004 at 10:03:32AM +0300 Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Bo Henriksen Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org 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