From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Andrei Rylin" Subject: atmel_spi: DMA-imposed xfer buffer requirements Date: Mon, 20 Oct 2008 08:56:41 -0700 Message-ID: <106f03a70810200856q4af97370h6cd456f3a42d70e5@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: "Haavard Skinnemoen" Return-path: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spi-devel-general-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-spi.vger.kernel.org Haavard, thanks for clarification about cs_change. I have another (hopefully last) question about atmel_spi driver. atmel_spi driver DMA-maps the buffers pointed to by spi_transfer. What are alignment and size requirements for the buffers ? How to expressed them in a platform-independent way, i.e. suitable for use with other SPI master drivers ? Can the buffers be in stack ? Or do they always have to be allocated from a non-paged pool ? Thanks, Andrei. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/