From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roland Dreier Subject: Re: [RFC] [PATCH 0/3] ioat: DMA engine support Date: Thu, 08 Dec 2005 14:23:40 -0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Cc: Jeff Garzik , Andrew Grover , , , , Return-path: To: Kumar Gala In-Reply-To: (Kumar Gala's message of "Thu, 8 Dec 2005 16:13:52 -0600 (CST)") Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Kumar> I'm actually searching for any examples of drivers that Kumar> deal with the issues related to DMA'ng directly two and Kumar> from user space memory. It's not quite the same story as what you're doing with DMA engines inside the CPU, but you could look at drivers/infiniband, particularly drivers/infiniband/core/uverbs_mem.c. That handles pinning and getting DMA addresses for user memory that will be used as a DMA target in the future. - R.