Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp1629814rwe; Sat, 15 Apr 2023 03:08:17 -0700 (PDT) X-Google-Smtp-Source: AKy350aMgxaiQ974ExeG9Riotxww1kf7xT/0jrpcSW+MtNOMsBTFXO1WRg4Z6/1tDa2jIRu9J5nO X-Received: by 2002:a17:90a:ba88:b0:247:2680:2ad with SMTP id t8-20020a17090aba8800b00247268002admr7465669pjr.33.1681553296909; Sat, 15 Apr 2023 03:08:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681553296; cv=none; d=google.com; s=arc-20160816; b=tiQsx/90xJBiyyIIKyVFbPVK4cQO6Kxvh9UjiDrLCVsA4m43DE9UyQJieQuexKCm5I LSHaREMlvi7ZBkxOQ1sGnqSSH6Q7Nv5NH+HI5OdExclhpT0SvGj6jujOSkJ+k3W2XQiK qYqpYo54Du82KjnQnYxnQ1mjiko3DuNT9j4xjymKLEc/RemP+XowruQLwmstTMQM5YLO Wll8GpLkYq8PLeKySGhVzypdEEohopKw7kDQYmxAR0JnpDnsGgB/JWKFNBANMLTUJYf5 cjH+J8rSkCDJh+rBqlFEpJ7ZgKJCIdm3XVu137C1Udt/eZXtZs+O0fkSHoFGJ7zBDgH8 5HCg== 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=vizfO/geCTW4GW8qNawRR6Jbht36DDWIFipCkEXtGUE=; b=HvL7Ja0GJKap6jcfY8tj/q+6tDVFCvgB3ed+ipROAEiLXSzGwvaQZH0eAc0iom4gqR Se/NuZ+UrayqEn51sDuUDqxc+aNdIjFNFKUMJnxw+z6vCJGwY9Yax6wzXUAuY+d8pA4T /9qLYs+00VxfzWAdhMrMIFHFqN7DjAI8wErzzaHGuaBKGUeisdUCP8gv+8h88/TDc4HI EE5t3lPc+fxOVnp+EPN531cVDPWPIGGRm2M6SGODnmUPxhgsxuZSwhgKiKyGePFQYCpd O6Jq1QMkI6pgrMg2vehByYT5DYviUS9ur+Y/JHNjlUdTcgxEp+7iUdc8mtc0YI3dmzwN kwtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=COd7ijUI; 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 f3-20020a17090a654300b0023f37b648d9si9218278pjs.157.2023.04.15.03.08.04; Sat, 15 Apr 2023 03:08:16 -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=COd7ijUI; 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 S230027AbjDOKGR (ORCPT + 99 others); Sat, 15 Apr 2023 06:06:17 -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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 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.39.2