From patchwork Mon Apr 15 12:14:54 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: 162187 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp2849846jan; Mon, 15 Apr 2019 05:15:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqwFMmCa/tvOnUiHahzBN3R7YgVXDojEjRVb4QDLTz/5c9BuvY4UTuD8NW/Fm9yGaFSww0MQ X-Received: by 2002:a63:1203:: with SMTP id h3mr70920765pgl.164.1555330514426; Mon, 15 Apr 2019 05:15:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555330514; cv=none; d=google.com; s=arc-20160816; b=0pHPrDBqv50AOHdG+js6Ii8gHGidxUibX38g3U94M4u4CkXn504HbSXUGsh8E6vKVJ S4CBD0vI4qeTtfz9DHh+Yq0G66HEZGlpZd925XnHLPLI+DSDfjEk9D9l3qM1+Ci851r2 Zk7tDQshOgm7J6Bm+wiJTxCKsQgjuOyUrEJTEMbKsMU8crZbvMEdGJJshwQcQzgCbAB3 mzl1AbfQcIG2xOTG//5S/TqCuYWX1U4E6zfS+WoVmznHVPLuTHLgo65I/LDlZu45SvOs lSoHBQYb0MR2sRnFSea4S3xV8HLn+I0As/0ZLWaMbDAkZJa8z6B88jIBqNp/BPhluUoO F0iA== 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=t+vSwNzAyzBEoNWHoDlCjFWrl4RmlReONvWp36xHfaU=; b=GaaSYvx+EzWNnfdHg7RxvTLEuSnOvZgJNDmNddC+Uvr7PP5wpElUxp6IlDZrWJYUCe LB/qT58pXk5ZGWwUpVRp/jmOtztRpZs0LjhXpqQP4Xp85zTTPYxHs6J01wrGyVzBdJoL DJ+54JW7yle6BST5XrfyJH1n/hoPWbKNsiATbWtxjw951RtaGBnJNUlykM7virb476O6 7GeQV2iQaeRxhIhuZD3XarSd308HFqeZgsQPGSUXZxq56ort6BBR7FqcJZ74gz/7Yjt2 1vmJUOZQyHljUqDkYh6N/dkAE0pLJWjzlruEzLX1dd3iEIKWZU4FPTAUx+pj+nssTi/I JuZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pVwFM9VK; 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 bg4si41740481plb.92.2019.04.15.05.15.14; Mon, 15 Apr 2019 05:15:14 -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=pVwFM9VK; 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 S1727384AbfDOMPN (ORCPT + 3 others); Mon, 15 Apr 2019 08:15:13 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:34502 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727025AbfDOMPN (ORCPT ); Mon, 15 Apr 2019 08:15:13 -0400 Received: by mail-pf1-f194.google.com with SMTP id b3so8516820pfd.1 for ; Mon, 15 Apr 2019 05:15:13 -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=t+vSwNzAyzBEoNWHoDlCjFWrl4RmlReONvWp36xHfaU=; b=pVwFM9VK51v9RJI/LLamcK3Akejm8iA1s4U95Gr8Epwg0bAtzqW8WBXStbihIyf9dP iiiXsKupFcZaNuCDhnmnCZFKLquvkTQBy3tlErCbAjspdV2ZbMtBAWNvWTx2i+HRu0Bw bW+exztTygY8H96Hb1eEujA0y8/yFoOcVhUb8HP8PD0+cCMSxAtw6DyObjQjfsddSZjK 1sakOBEh99JYPZn/wV6Ue5wwBScTje8M6g7wd86fRwGlTrm1TnqAQCQWlBP3Zk3+vb1v gtPt6ELVPhHu5ne12rw3S5UfuCpSfJ84D5LeRIz9qzwwEKN4iYDwhbwJcJtdyUIAvT/p Hxzg== 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=t+vSwNzAyzBEoNWHoDlCjFWrl4RmlReONvWp36xHfaU=; b=MJLh4A+FefMgjoL4DJE/Nk/JKn4eUk5H5zVdA1Oe4zMlKwi5MCFA9SIepbVYi8GTOs mNbl77lSDh1iAeVosRIpS1lXw7DMVcE4tXAaKXX3KpY9GVN9tLrNWlvB8O9F5qArruI1 lAEpcxCT+8cxJsZ52zedQIc97xIJhGb0kJNmZ5lfFBc9HMoPPyKSvgXSCuVcMEHoC4aW kfwLh34FF6jz+UrDfSTac2GVQNU0TGurbSa1v9Qdr/VXOZXajMePFZn/FlwdFbyJS3Z3 u9awkEGIe2AYnHzcarKeUl2MZLbgbNurTrn0NVRmXfYYqtrJa6Ng8d5qp3wbCpA/Bisi NcYg== X-Gm-Message-State: APjAAAWdq2qxy/8E3KRk9Q67qBtUMr/dOymz7Lrb4Fx/dDkcrMVtL7Mn 1IfVQVPmb1R+GVoAj82vuBD2cQ== X-Received: by 2002:aa7:8494:: with SMTP id u20mr47378388pfn.76.1555330512732; Mon, 15 Apr 2019 05:15:12 -0700 (PDT) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.102]) by smtp.gmail.com with ESMTPSA id 6sm64157155pfj.95.2019.04.15.05.15.09 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 15 Apr 2019 05:15:11 -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, broonie@kernel.org, baolin.wang@linaro.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/7] Fix some bugs and add new feature for Spreadtrum DMA engine Date: Mon, 15 Apr 2019 20:14:54 +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 Hi, This patch set fixes some DMA engine bugs and adds interrupt support for 2-stage transfer. Baolin Wang (3): dmaengine: sprd: Fix the possible crash when getting engine status dmaengine: sprd: Add validation of current descriptor in irq handler dmaengine: sprd: Add interrupt support for 2-stage transfer Eric Long (4): dmaengine: sprd: Fix the incorrect start for 2-stage destination channels dmaengine: sprd: Add device validation to support multiple controllers dmaengine: sprd: Fix block length overflow dmaengine: sprd: Fix the right place to configure 2-stage transfer drivers/dma/sprd-dma.c | 54 ++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 43 insertions(+), 11 deletions(-) -- 1.7.9.5