From patchwork Sat Sep 29 05:48:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "\(Exiting\) Baolin Wang" X-Patchwork-Id: 147814 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp1575136lji; Fri, 28 Sep 2018 22:50:00 -0700 (PDT) X-Google-Smtp-Source: ACcGV61Yb6WreqUvFzlY2cN4lfa8cHEhiHQqAWqgwgDkpryF2y/eLAx9iTvCf1UNCESzvuI35IWO X-Received: by 2002:a17:902:b612:: with SMTP id b18-v6mr1733670pls.92.1538200200322; Fri, 28 Sep 2018 22:50:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538200200; cv=none; d=google.com; s=arc-20160816; b=RA+ky+nUA8SGDEcqelhA7dij40mK/vGSHnozaIPz9S6uAH2j6z0bBZ7yJmVVwKJjmj Rhw+MiYvRMXAo7jMD6kkywknATf3bkKTp38Z+XX8iFktEx/xvu+RWJ4jqPvs5cfNIftu eSh8Xo3ouQr+N9Khz0oh4mqunnSXSDj4zIk0upKB7gGSVsqDqpRVNJwDkz/PCX8bDYtp 7TitcLazzEZegqOe/th0yQnob8okRbTtoCNjg7G+JzkniJgNz2P5p5tr0QuWtClqaki3 nDPEmq354+34KWVpAu2dGh2ocXigTMQ3DcywnJwpcr5TbS5A/+o8wT3X/Fs+Ijuagrfp KAZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=xaTIHnBx9nGQAitv4LjbDYDAae72H66pyrlVCxGapGA=; b=bmD7zMde4aOMRb/acE4z3IFwXWSVRf/o/pxEB5ok1PSCDgq4ixBr6H0WJwYx2ZbIGG rAoa4GXiwMIhEe7D1FNMQoTeDLqgAHl2wIMu8OijlFH1FXM0DzLS6UgyHekXNXPTBDi3 RFMJ81gKTsUF2/bGFXC0s0BksNdEX+J9HL+dmojGefLao0EGXzXdiJ/+Z5So8Oe7Q3I6 pH/JrDepjUGeLVXrzzuwR8iV7kHkQIOBMCkZI7NEe5uIszxpWL9IvcdV1CYlOSG11r3F qi6EofuL74pUo309A+mdB++X4qXOiVWJ9swDlUMmAA5VCVTRmvuuTvfrIpiPufF7YQRb pH0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S9IMtv7h; spf=pass (google.com: best guess record for domain of dmaengine-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=dmaengine-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 19-v6si6622182pgy.577.2018.09.28.22.50.00; Fri, 28 Sep 2018 22:50:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dmaengine-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=S9IMtv7h; spf=pass (google.com: best guess record for domain of dmaengine-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=dmaengine-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727431AbeI2MRD (ORCPT + 3 others); Sat, 29 Sep 2018 08:17:03 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:35484 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727427AbeI2MRC (ORCPT ); Sat, 29 Sep 2018 08:17:02 -0400 Received: by mail-pg1-f193.google.com with SMTP id v133-v6so5904859pgb.2 for ; Fri, 28 Sep 2018 22:49:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=xaTIHnBx9nGQAitv4LjbDYDAae72H66pyrlVCxGapGA=; b=S9IMtv7hnjaeY8h//I9X4VSLRH8y6+x4asMn1p7S52NEy8CvhPp1lH1+PsCi8N8y/j wj8eV93GA4KXjogrwMq+ajoGLi6utuVahRsoNsrgyJP1ip2W3KBrWhDTuXB0FXhkRGBt IlbgDUZBD3G4jlgt34GAs+NsQp9RDuyHY8Ewk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=xaTIHnBx9nGQAitv4LjbDYDAae72H66pyrlVCxGapGA=; b=Lt8ilRGzX3VwWdn2QsQwA7FxSO1N5YjCVWCOzmJI8YkvSLtWOo9I9NwVYlfkRGjY/i GKZrQmk7/Fr0qzQ+E7W00Co/zSa9q1r/mcvolQKe4qpPjdqj6Zjib9Bq6Gl1ezQOzuDC yy8Izcaa/iR21BPpfA05KtaR94V6REytww8BWljrvmj/LjL9bFP7k5erPbfz52zf6xWa z0bo7NkyJFoTQALREt6Cz/eoL5KrRsY+6OsK5Hlrxq2aCM2+OtWo4XsveG47FIxT9bFk VROcTlSYo3ImiS1QF1mv9dqtBk2Sx/PBeB+5C7qa6LPF/x4m7aTJLjRMX35LLsZGcFNz GzEA== X-Gm-Message-State: ABuFfoi9puilIZMUTPoIB++1Vm4DfrImu6b87xJmobJBljh4tAORbMLX HHCq8N6j0RSNatVoL52Nk+bR0g== X-Received: by 2002:a62:b87:: with SMTP id 7-v6mr1733705pfl.67.1538200198553; Fri, 28 Sep 2018 22:49:58 -0700 (PDT) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.102]) by smtp.gmail.com with ESMTPSA id i80-v6sm11118049pfi.87.2018.09.28.22.49.54 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 28 Sep 2018 22:49:57 -0700 (PDT) From: Baolin Wang To: dan.j.williams@intel.com, vkoul@kernel.org, eric.long@spreadtrum.com Cc: broonie@kernel.org, baolin.wang@linaro.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/7] Add some fixes and new feature for SPRD DMA Date: Sat, 29 Sep 2018 13:48:58 +0800 Message-Id: X-Mailer: git-send-email 1.7.9.5 Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org This patchset removes the direction usage from struct dma_slave_config, and add one new field to save the direction. It also fixes some issues for link-list transfer. Moreover this patchset adds new 2-stage transfer support for our DMA. Baolin Wang (1): dmaengine: sprd: Remove direction usage from struct dma_slave_config Eric Long (6): dmaengine: sprd: Get transfer residue depending on the transfer direction dmaengine: sprd: Fix the last link-list configuration dmaengine: sprd: Set cur_desc as NULL when free or terminate one dma channel dmaengine: sprd: Support DMA link-list cyclic callback dmaengine: sprd: Support DMA 2-stage transfer mode dmaengine: sprd: Add me as one of the module authors drivers/dma/sprd-dma.c | 152 +++++++++++++++++++++++++++++++++++++----- include/linux/dma/sprd-dma.h | 62 ++++++++++++++++- 2 files changed, 194 insertions(+), 20 deletions(-) -- 1.7.9.5