From patchwork Mon May 6 07:28:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "\(Exiting\) Baolin Wang" X-Patchwork-Id: 163383 Delivered-To: patch@linaro.org Received: by 2002:a92:3d95:0:0:0:0:0 with SMTP id k21csp1538744ilf; Mon, 6 May 2019 00:28:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqygPnRD0DHjQv4pN0gp/NoUFhSQ8xu/Jah48Edhq1ZkNhiaMlRi4qVQ+ex8O8yll10UVRYz X-Received: by 2002:a17:902:e20c:: with SMTP id ce12mr30137329plb.247.1557127733053; Mon, 06 May 2019 00:28:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557127733; cv=none; d=google.com; s=arc-20160816; b=oEix98ScwmadudLTGcBnnef7TuxiMO2j7H+rhFz1jiLNVDuQ03tr8CJiFJZ0Ia3Jzc 5VV3wpglhjgJ6NJk9dgXiPWCq4hMupLGgBI02W/veRgSUSTG5NABQ/t2R0bGTjsk1bzj OJIfqjQx0h7J7/Wg/slvKTfAinHE5hg0n2FdnP9igRm8r/dX5ju3tGREpzBh+YUN6Vt4 wQZSekaEDKzGlpDw1FpBnXM4tT0zAbLJxHkCew7CE10g4bL9j2/sCiIuWnkRkRNglnlA 55lwbFI4DMyBZNXSj7RikxP9HeeZiP8ZSMEoVtyM+Ha8fyvVSA1LLhZYw9NzrZLyZDjf ATEw== 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=uO8z0Q76r90ztpTNNYiqnBG594TWJeNUgA2Rk2VCNfI=; b=meglbZLxFmY9ruXVSRVVAIBxlzSvuU/uYnXKsbvJlCHaowZpJciOzjlMXa5v8DtNPk 2DFf80iSGDtZEVbtja855yzShZy+fCl4/cAWt5NDhDD+xaeZtNWDeyQNS9GMOWKIyS8r 8UHQO/SdLQRnm/oDOrhBtmUSr2Yo1/dl9KFVHBExiMcRl/ZVX/3oS9RCPi6w4OTQ1SPz PRXHpAZBmh2jZ0Qfyyzw0izR9JHCadirffB9Gy0PN2ZC6NWbJodRSCJRtIVEUQ/X5PQ1 R36y+ZghVNkrXzDRTVu4sx3dspP/D3VaKZpR+xkRQSpJonI0z5TgLgR46mUojogpzb9U oWGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wc9PL3IB; 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 j5si15043496pgm.421.2019.05.06.00.28.52; Mon, 06 May 2019 00:28:53 -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=wc9PL3IB; 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 S1726236AbfEFH2v (ORCPT + 30 others); Mon, 6 May 2019 03:28:51 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:36839 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725855AbfEFH2v (ORCPT ); Mon, 6 May 2019 03:28:51 -0400 Received: by mail-pl1-f193.google.com with SMTP id cb4so1999672plb.3 for ; Mon, 06 May 2019 00:28:50 -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=uO8z0Q76r90ztpTNNYiqnBG594TWJeNUgA2Rk2VCNfI=; b=wc9PL3IBYBHKoAWxtEj0jE0C4U/0p/5wSuzqodmousiv5aM2dRwn3CMyCqCS2/29Ws c3JfmQiXdrAWpHEQyalb1Gpky9RyM4yJ/9lO5Tg/2aiHfoVhCYg34euPc2Mou/5P/0eg 5MXy1oUUiuMHpxMjgydcS54TfLJIvncbJpz7CzUv9FHc2LYaDOTnt/xpI/HIjyESx4IP +YGcBhhsq5gU6M0V1nBS7z+pieA5Mkd6w7GeNJ+HxQ2QwUR/iSdf9STy3vqc8HD8YClO lBTRQMh2iDu+WsjIgdqAhgTB0mkdzJh5CA29TD2hChMg50kbS7TmNoa2pyFW63A6Kius JrfA== 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=uO8z0Q76r90ztpTNNYiqnBG594TWJeNUgA2Rk2VCNfI=; b=iymNNHXQtWBle1SSbdOwZTsGrBTQppbl5MTTr6BNuSH/hIzpmWfB+q9obfxwyb24mm Xb0pAo3JFpcrrLCMhDesLpq0Cz4HqCdCIJIFewO1Cg9Nzqbk/25BteKCpEun6Z0R//o5 mWouf0Ay9ZruyF/SsE47vUcoRHjoFYr3BdWSRGccG7gmVNAHtVSx7bqAFm6GxlJ8rsHD 3hrK/89AUje8pY11Q2NE5iXBiXwrLH+iUHoMFWMhL+xbVeLrIAnhIWT3l8pWMHNkTDl7 QZe27XDKFE4LpQyuXNuRsFNzCXUXrpZhwaEhvG5KVXUSxrOtLP53uNCgwiaYnOJRJb9Z krAA== X-Gm-Message-State: APjAAAXVMuZFXgTK+hCFXi3tLSx/fk5n4YluLAtWScNDH14d45PABsVM 0YV7UW4K2bTtZMhbITl5g/vta1z2B+RnvQ== X-Received: by 2002:a17:902:1c7:: with SMTP id b65mr29826248plb.2.1557127729646; Mon, 06 May 2019 00:28:49 -0700 (PDT) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.102]) by smtp.gmail.com with ESMTPSA id w38sm21700894pgk.90.2019.05.06.00.28.46 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 06 May 2019 00:28:48 -0700 (PDT) From: Baolin Wang To: dan.j.williams@intel.com, vkoul@kernel.org Cc: eric.long@unisoc.com, orsonzhai@gmail.com, zhang.lyra@gmail.com, vincent.guittot@linaro.org, baolin.wang@linaro.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/6] Fix some bugs and add new feature for Spreadtrum DMA engine Date: Mon, 6 May 2019 15:28:27 +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 Hi, This patch set fixes some DMA engine bugs and adds interrupt support for 2-stage transfer. Changes from v1: - Improve the commit message for patch 1. - Drop patch 4 from the v1 patch set, and I will create another patch set to move the fix to the core. Baolin Wang (3): dmaengine: sprd: Fix the possible crash when getting descriptor status dmaengine: sprd: Add validation of current descriptor in irq handler dmaengine: sprd: Add interrupt support for 2-stage transfer Eric Long (3): dmaengine: sprd: Fix the incorrect start for 2-stage destination channels dmaengine: sprd: Fix block length overflow dmaengine: sprd: Fix the right place to configure 2-stage transfer drivers/dma/sprd-dma.c | 49 +++++++++++++++++++++++++++++++++++++----------- 1 file changed, 38 insertions(+), 11 deletions(-) -- 1.7.9.5