From patchwork Sat Apr 15 09:55:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jisheng Zhang X-Patchwork-Id: 13212410 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CE8E4C77B76 for ; Sat, 15 Apr 2023 10:06:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229733AbjDOKGQ (ORCPT ); Sat, 15 Apr 2023 06:06:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229869AbjDOKGP (ORCPT ); Sat, 15 Apr 2023 06:06:15 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 639C36EB4; Sat, 15 Apr 2023 03:06:14 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id DFF2660B8D; Sat, 15 Apr 2023 10:06:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 753E4C433EF; Sat, 15 Apr 2023 10:06:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681553173; bh=5ZDvmp4AmKVtWmkiXBMt//3ziXaWBzX6cVS1LHEShbU=; h=From:To:Cc:Subject:Date:From; b=COd7ijUIiSXQJ28LUX+gvrw14X1y84xoZmDm/W1Gu5Ccm5OwP9xSQkU0071o8ojJy G1og91LxVzENlwUP+ej5TUtouS97rCMMfv6lESKxmj6LKn/JbZgdPg+eBuBOEv+RCd XlrqTOwATmlkdwqiIeAvf0UnhxvTbQBDRabqnzbZ5l20rFpltKykYS5wZs3Q2URIz9 af0XN8tjyHxSRSRRU7cJ5hbgYFW3EXjBH6NTqlmL21/7gdvTdIeh9NoxsNhL46eSd0 ew6ilq18KtDlMy5WSLLI7d9ONyL6ja3PH8Ll1EFC7j/g6P30xwJQWZJ4poLdaAItZb c3hjwvjE3GG2A== From: Jisheng Zhang To: Lars-Peter Clausen , Vinod Koul , Eugeniy Paltsev , Logan Gunthorpe , Sinan Kaya , Andy Gross , Bjorn Andersson , Konrad Dybcio , Orson Zhai , Baolin Wang , Chunyan Zhang Cc: dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v2 0/5] dma: don't set chancnt Date: Sat, 15 Apr 2023 17:55:12 +0800 Message-Id: <20230415095517.2763-1-jszhang@kernel.org> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org I'm patching dw-axi-dmac to add more features, but I found a small clean up point and some drivers in drivers/dma/ have the same issue, so this series comes. The dma framework will calculate the dma channels chancnt, setting it is wrong. NOTE: I leave drivers/dma/ioat/ as is, because its logic have a heavy dependency on chancnt usage, however it's still doable. Since v1: - collet Acked-by tag - fix typo Jisheng Zhang (5): dmaengine: dw-axi-dmac: Don't set chancnt dmaengine: axi-dmac: Don't set chancnt dmaengine: plx_dma: Don't set chancnt dmaengine: hidma: Don't set chancnt dmaengine: sprd: Don't set chancnt drivers/dma/dma-axi-dmac.c | 1 - drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c | 1 - drivers/dma/plx_dma.c | 1 - drivers/dma/qcom/hidma.c | 1 - drivers/dma/sprd-dma.c | 1 - 5 files changed, 5 deletions(-)