Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1662141rwd; Sun, 21 May 2023 03:47:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4tD++Y1s0+ewncQnMK3MnEv1Z3VvqFdXD74wL5OcteYXqA/CjzRv9wEq95kJkt3vs/+Cr4 X-Received: by 2002:a05:6a00:24cc:b0:624:7c9a:c832 with SMTP id d12-20020a056a0024cc00b006247c9ac832mr10603338pfv.8.1684666038706; Sun, 21 May 2023 03:47:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684666038; cv=none; d=google.com; s=arc-20160816; b=JTxAHTwRJwr6wSIi5BlwEUHiLGSZoQQTFLtkOmLxmLbgqMnr3oEfBOwjK67j1AFboh 8sQiGE0v5hvYPu7i99k0Zb484PivvSQujGBlF8EdCqQ2nQ9oImhFt7Nb1WVgcToxhZ+9 1rPNT0jgMdhEuQ2Z09GPeC9vxw55K7LiPRSAoccwIwr2NlxJiFRo0UCPtEbY3N/dJsNT TasUhuNnCAyqtip/G9Dya0VdNz+FzGkFDwdcVXSKASYOPFh7KIxmuGWdKZp9HDcKJEGK bMHAo8Kh0x2L4OouPk1xVpuH2JvgKd0JIkL6WDxu7+GbpdKSsIJr7RIU6dsWlZHgMjIp A+aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=1+sOpZ7nDjtmdVZSXUMaQHY6Wbimbn00SJe0JIT2rVk=; b=sJ8TXfd81jNg0afuJh443LYrYl/eQmldgEQNHo1xuJwr2bIOsJA5ZAxMr6Y1g/Xgy7 Rf7iZyyi75Ii8w/YL60Omy7EZs758hn9BiSH2486aQLb+49lrO/HUriVxjACfOQjs2uE r5kEt4S1zxsO4NXPJu7TiP2MyRYXApBIVQdk9hgFyh61QyxucqJiV48D+r1ZH143JLL+ q9SexDD7DgwGpyIGgM2QVAA6mEumqvp5oDYjmGu9vax21dfssZebDVLHs4BK3DQ26moD Nc/v/OPQvGFCWo0hZ/BBUvHf635fLAVpBMLmrRImO6s+hh/wye7NPYMUqp5NHMnqCAB5 rQkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZajnV1Lc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z28-20020aa79f9c000000b00625e7f9b859si1501554pfr.339.2023.05.21.03.46.53; Sun, 21 May 2023 03:47:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZajnV1Lc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231563AbjEUKi1 (ORCPT + 99 others); Sun, 21 May 2023 06:38:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231171AbjEUKZE (ORCPT ); Sun, 21 May 2023 06:25:04 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E052210C3; Sun, 21 May 2023 03:14:04 -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 7222161542; Sun, 21 May 2023 10:14:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E6455C433D2; Sun, 21 May 2023 10:14:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684664043; bh=Vu1TAPPciiNN/+NNVmvm2e6pyVPkwqUzX+KPyIlmhCM=; h=From:To:Cc:Subject:Date:From; b=ZajnV1LcRAkwfLq/SJRiJS+qsd4lpR2KLL8lVNF7DVVheUsJOlHe7P2ShRWtM0Tkd 69DII5MQ03k9o/X8SjWJD7kfLHjYKxcfuYPcVl56KiPn64ch/vX5Cs2xud/M3ExphV sSyuyMf7SQxEidkxPniJVpNz8d3w7Mi0gBzORbN9WIkfW+F6LznOr/6WaoBMXCmPyX RqlLJHqzojkHWOnad98ZUuIwQzcOwIH8C7fPRHurcfWl83vJ1sORj07t1O94LRJl7b H/goTc0FbDbgnMGh5zgjrk0qNgbIgB6iB03SXh+WkBPUoC3kuZyymqZHNA8SMP3tCp 7dvGSDzJFa1Xg== 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 v3 0/5] dma: don't set chancnt Date: Sun, 21 May 2023 18:02:47 +0800 Message-Id: <20230521100252.3197-1-jszhang@kernel.org> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 v2: - rebase on latest rc1 - collet Acked-by tag 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(-) -- 2.40.0