Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754031AbYAWPPm (ORCPT ); Wed, 23 Jan 2008 10:15:42 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752039AbYAWPPd (ORCPT ); Wed, 23 Jan 2008 10:15:33 -0500 Received: from nat-132.atmel.no ([80.232.32.132]:60694 "EHLO relay.atmel.no" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751686AbYAWPPc (ORCPT ); Wed, 23 Jan 2008 10:15:32 -0500 Date: Wed, 23 Jan 2008 16:14:25 +0100 From: Haavard Skinnemoen To: Alan Cox Cc: Marc Pignat , Andrew Victor , kernel@avr32linux.org, linux-kernel@vger.kernel.org, Remy Bohmer , Chip Coldwell Subject: Re: [PATCH 6/6] atmel_serial: Add DMA support Message-ID: <20080123161425.203a0159@dhcp-252-066.norway.atmel.com> In-Reply-To: <20080123150436.75fe469c@lxorguk.ukuu.org.uk> References: <1201013444-30370-1-git-send-email-hskinnemoen@atmel.com> <200801231418.38997.marc.pignat@hevs.ch> <20080123143503.764bc8cf@dhcp-252-066.norway.atmel.com> <200801231452.55388.marc.pignat@hevs.ch> <20080123150511.3785986c@dhcp-252-066.norway.atmel.com> <20080123150436.75fe469c@lxorguk.ukuu.org.uk> Organization: Atmel Norway X-Mailer: Claws Mail 3.2.0 (GTK+ 2.12.1; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 775 Lines: 19 On Wed, 23 Jan 2008 15:04:36 +0000 Alan Cox wrote: > > No, I think GFP_DMA is for legacy ISA DMA and other DMA controllers > > with addressing limitations. The PDC is capable of accessing the full > > 32-bit physical address space on both AT91 and AVR32, so no special DMA > > flags are needed. > > For kernel coherent DMA buffers use the dma_ API to allocate the memory. Yes, but since we're managing DMA coherency using the streaming DMA API, we don't really need coherent buffers, right? Haavard -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/