Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1565986imm; Fri, 28 Sep 2018 22:50:33 -0700 (PDT) X-Google-Smtp-Source: ACcGV62m7VXLKjLBLyhzjLLbnelMJUULaMMUvbl5VwoiD0aQH9rZivz8zVkyM9FMy0tWvPBy5AeC X-Received: by 2002:a17:902:8d82:: with SMTP id v2-v6mr1749981plo.9.1538200233489; Fri, 28 Sep 2018 22:50:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538200233; cv=none; d=google.com; s=arc-20160816; b=sepn9ECixLRC+jPKekNvYLoDiSbmzmiPpKoSoCG3CkuWX9egc/uOtvpG5DTZhqvxOK 4R3mQz5LHTKV+O82HUw5uOiRYtxy4sMPH94QN92zP5CL9SIFV07qJ/rWRJctQJIEKdUO 6wR6n6FgWUjYSD0QEnF3Sd6aRLHHC0bAjZD6/g9Sj7j3YGul0DtA3wa2Y+htGgkHCazz Jvn/USnkwvBemvJ0RAHDu9KAXEC9IbCeXwrZR6rtE/AN2w05+tDH5M7Rs2uyuk+7gJ3a 4n3u2CLE1sebbTA7JMjtcPZ+CSxT2qvQxVwogxFlSeVMpv/+7N6eNyvvz47K1aymohWY qU0Q== 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=tzeGcaLmWMl2rpI6ICadwWh7/sBRvlLibDq+NUAhnFJtProauZWYP2SbvdW+TPEjku jwA8q9+9vCPtZDuhEYXHo9EOREGMUhC7OMicPpA26KlZ6MouM6tnSCxL9HpLK8fpeKzA 3NxKH4oMXwL3HOP+XgQtgumWh8Srsoin2aD63aGEDpDyG321A2MAVeOptGmY+tdnrRM0 YsTwQMBtAFwTNgX3Q7bxW3qkLQDHMkMFDKc2Fd5PtA9UMIHpgBlRcgb7/ZZ9GmERb8fW sGDlrBgvC2PwICBw9uxN/PHZI0Voju+0GUPj5gxqMNai9NDvgHbpNnzLVMrQlNeL+KUG JiiA== 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 linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 d7-v6si6457792pll.162.2018.09.28.22.50.03; Fri, 28 Sep 2018 22:50:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1727461AbeI2MRD (ORCPT + 99 others); Sat, 29 Sep 2018 08:17:03 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:34681 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727407AbeI2MRC (ORCPT ); Sat, 29 Sep 2018 08:17:02 -0400 Received: by mail-pg1-f196.google.com with SMTP id g12-v6so214930pgs.1 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=SKODnGtyzWf7UoYh7KJk0flO9JPIonRlEDBEhVYcU5fwXMs0joeHdXKa0jeW6Ez7wA J+1gq6pVnZT0+gpOSKL40eD6zcfK/HvuIiNr+Pzqb5ZC7mOJjhX8VqVYCHsmUBbYbmLh r+tO3T8KUkwwhsTp4uuU6NjC3O64E8ct+EB3L39q70I83R80NeMAhxRTjfhMs2EIB6WA BSTiR5Jm/ydCbUY7rXF4pDod8trFT+/yekLuX4i7K0EtrZpeaYVg9N2ChGO3yMHAUVIn bG4Bs1lLIB7ApPYNeF9TGmqo+SkMHy9LdEwHJkC+24A1fk/r4MGPE8aP7bfNg6dRnXiq 371g== X-Gm-Message-State: ABuFfojRZBmaOvuzBjQvVSgICGETiYvR7Sb9Ej4guQdeWnrfC45K1pjf 6zGcYhLFKv0uQsQVgePDNtn0Sg== 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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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