Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752509AbcDZOhL (ORCPT ); Tue, 26 Apr 2016 10:37:11 -0400 Received: from mail-oi0-f54.google.com ([209.85.218.54]:35473 "EHLO mail-oi0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751907AbcDZOhG (ORCPT ); Tue, 26 Apr 2016 10:37:06 -0400 MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 26 Apr 2016 17:37:04 +0300 Message-ID: Subject: Re: dmatest - scatter gather mode From: Andy Shevchenko To: Ramon Fried Cc: "vinod.koul@intel.com" , "dan.j.williams@intel.com" , "dmaengine@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 701 Lines: 15 On Sun, Apr 24, 2016 at 9:44 PM, Ramon Fried wrote: > I'm looking of a way to validate a DMA engine driver I've written. > I came across dmatest module and while reading the code I've noticed that scatter-gather DMA mode is not implemented. > I wonder if anyone one knows the reason, and if such enhancement will be welcome as a patch. You meant the actual slave interaction? How can you implement this in a generic way? For example we are using an SPI controller in loopback mode to check DMA driver. In your case it might be something really specific. Otherwise you may try mem copy functionality if your DMA engine supports such. -- With Best Regards, Andy Shevchenko