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: 10900649 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D69DC922 for ; Mon, 15 Apr 2019 12:15:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BC2E3286D3 for ; Mon, 15 Apr 2019 12:15:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AEB00287EF; Mon, 15 Apr 2019 12:15:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4B571286D3 for ; Mon, 15 Apr 2019 12:15:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727384AbfDOMPN (ORCPT ); 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-Google-Smtp-Source: APXvYqwc3LNlpix1JQGclbvEm0ihO6EddmfMqqYVgeImL4wwyDKah6bvEjK+uUZQAzL+8EHaFoc2jg== 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 X-Virus-Scanned: ClamAV using ClamSMTP 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(-)