Message ID | 20230924152332.2254305-1-j.neuschaefer@gmx.net |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp749799vqu; Sun, 24 Sep 2023 09:45:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGYTS7WCLUBr7DTNKCWpfceYDOIx/FcSRhLGRStxeipiWAad4H85JCgXu0UKJ7kvshh/s2N X-Received: by 2002:a05:6870:32d3:b0:1b0:43b6:e13b with SMTP id r19-20020a05687032d300b001b043b6e13bmr6777011oac.54.1695573919089; Sun, 24 Sep 2023 09:45:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695573919; cv=none; d=google.com; s=arc-20160816; b=rC0Ct029pm6D//yq1cHs9EziYgxRpw8ywDdTMRBsO/djSHcUz1Rx+ffGo/22MDMwYY cnY76VicQ0Mclt6O5Lk+GK8v/mOto4OBopxJJ3BikLD3nKnanS5YkZ/b8TiRVh8pRgXp /Z1srYMl1VdQyDQDj9Dw4ecWZNCT7oihIaOv4hxntBY9rYgtTJTFFsVVX10v/r3+BD7Z d2/OwfHwKEM7g5VnLWmeTqsQe/d+6aAvOFLAZ+/b4vAMBohcCZzALiXK7Gf7pY140b5Y kcjWz4GntZBMuGFb7dbhQS4rB/eV+KFyMs4jPX+c2XH0zVcGwg8R2vU5ieh9261i56QU 6O9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:ui-outboundreport:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=VWJpZ+oSlrRAZ/L4YkM+ezNHp+lQmYe2OL6seLUKkb4=; fh=3RYFVAoDvG5s0mHtQHrt/hxEFENj0NGWVrSChP5KrPg=; b=GCqfedEZ+q/6r6Ef9gVSwhznxHMXCQFsoy35fWY1FzIiGru+n7EzR1BPApYxKeBRxU G7lnSnyKiQkZC2nixWyf2WdGbC3LI9as2L85UZMYAwPpReYAenD4aYd+9XVpC/9vtzmM +X77B98tYop+1yP8pcOpxBInlXu3uLddzA5YziaO75a8w/JXwx0Y+6+DkxRXiYTp0mAW 0bS9zXmtHaL8xSn8Hn/m+0Bp3E145NaBDb/S2hUdMtPl7sTV3zIRZ6ogOqcYLk4C2hpg WomKPf6Ru6TvhSMh+plKHyU9xzw7GYcUhDQG9Ni7L6155wRDsLbFfqHyhbdLBEL194Cq gWUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=s31663417 header.b=Eret2Mka; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmx.net Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id 19-20020a631753000000b005789f94cd34si8103393pgx.636.2023.09.24.09.45.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Sep 2023 09:45:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=s31663417 header.b=Eret2Mka; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmx.net Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id BC975802F801; Sun, 24 Sep 2023 08:24:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229634AbjIXPYR (ORCPT <rfc822;pusanteemu@gmail.com> + 30 others); Sun, 24 Sep 2023 11:24:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjIXPYR (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 24 Sep 2023 11:24:17 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14E98B8; Sun, 24 Sep 2023 08:24:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1695569018; x=1696173818; i=j.neuschaefer@gmx.net; bh=s5gWdQpVH21Xx+9InxWsz6K6mgquCNB9iZycdR6gpYU=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=Eret2MkaH3SBWABhFMXlk84417zAEaOVNeeYXH7F9Fq4dzf3Zp7BQcmi0SYYWW0bqA9bhw23g8i nuhApZhp+yByiQJyoTt1XbR7/LyoeYthVbo6/GbDgsZ8m/uTbNsyFcKpT9Rq5SY0QAUmIxhx9AWtR F9sdKrQL5QHhJkrN3J7S+fd7qd7dJ+K3b70VKkXH0x0Nck9uTtgh+3f/yjguDTYF/T2ak7CHfx4h/ B+mbJah0wqhkuwHsWASnmFi3w3bCmEzDaR0JExPMXBCZJwgEqD56Bnxv2JLZ81dAR0M3PoVlc/1SS zjJdx4erucZ6Q29OEEjbFzqNeTLif4D5RMqw== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from probook ([89.0.47.152]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MDhlV-1qvBvB1Z6l-00Apx2; Sun, 24 Sep 2023 17:23:38 +0200 From: =?utf-8?q?Jonathan_Neusch=C3=A4fer?= <j.neuschaefer@gmx.net> To: dmaengine@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Wei Xu <xuwei5@hisilicon.com>, John Stultz <john.stultz@linaro.org>, =?utf-8?q?Jonathan_Neusch=C3=A4fer?= <j.neuschaefer@gmx.net>, Vinod Koul <vkoul@kernel.org>, linux-kernel@vger.kernel.org Subject: [PATCH] dmaengine: hisi: Simplify preconditions of CONFIG_K3_DMA Date: Sun, 24 Sep 2023 17:23:32 +0200 Message-Id: <20230924152332.2254305-1-j.neuschaefer@gmx.net> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:mO+5wHE0RmepwGCER4agAwL5sdZdkEmD7ddZjwOsYIJ3KcobDec wb3sIJdspptyosakZW9CkeABC3G/J1vWL9KND2I5KVKZ85sVDAnOGzC2hYA0ZkOtbNEg7DM f0D7YP9fOBJ7Gp9DpNYUECXz0eU1uNSR0keus4fg6t75lndIOM/ONygs49N0SehJOx0gdh7 wg12HGeE6B4xLjtsmhEMw== UI-OutboundReport: notjunk:1;M01:P0:nvmjNVhzPDU=;4OysFuZ81/aARekur98DArYf/2M 9eVX+uCJB5GJwtGCLsk078tv6WTI29wZzQVhWQURvgqxJ6AR0+kTR9WWEHBYLDXi7XwaEvgKK 7Ts1dPYdI8N9fi0B7cOdJvKRS0S2I9QuIBaxk6HbgK4EeiQg6pQk8ejO9V1jJHAYolQ9uuwER 6HXZnuhH3rFU5YyuAhtc+kFt+KcrMRRQiViOP6d4ZlgrhCtEi4uRas67nJuPWf99oOxk7G6AG 2u3RH4v6ILKIJlHwGXUyvyvhqaBferMW4klA0bzF5Ke9yf8OkhDss/uBrXUs2P1q2V38J6JPh OZrSi+ZW/TSUjKYpJIlI2y1BBrbwvXwyxpXpshZFAYXDCCQN4HhqTKLVd1Wgzj3pBObq2pM6v 8Ha59CKXBUDqhPHwvuVMOEelumkw4vVwN40CqUz16u0X2ZZ8Ld/pUuPwKhzarxH+p9fH+fiDo sJdQ9dgOVsYD8bLZWTh0ADlnUUx+0dbwUdZ1zpbnnXGt/Ry5jafOk3DxLva36iW5Qgw29Ko4l Z61KLwMJKiLJNYDNCVMWS4VR6W2OHDNBn6tXPSoQ6YYDlltj4Cu6hhgL7GhqMClLs+ijNAHjn rupPQtiYgQtqsfFXhDEjim1NjfxMqlqEsZc0I1JZQoU9cuoYUu+qSiPzhW0d51AKg2opqJzJa v7/VRAOHFkjQLrRB412ZF3KT3VMvb0nEDZnkR44Kh52h6UFujgYMaHp0H+bZHj+3VsROHYXbx x57W1O3b/In54de+iMygBNGwCBadRapXTrHDO6gMHf4DfHFjJ0qt4vgkNhntdgL1ljvfj6Q9g tjXPvJW3uhWe6HjiNotlgJq85mMgMuxpEYuErl0jQt+GIOFOsV5lSq4cdrFpO0p43abzFB+5x WDrAC7aw+0/uVdHSLcmrE1Na9wsyvy1O6omriZ/fSp1m6qJrbVEk6Jwx9aOcwYS1R2GZ7Mz3B ZSeMGfHveklIC1ITCJ+viDXfO9k= X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sun, 24 Sep 2023 08:24:13 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777938117692492679 X-GMAIL-MSGID: 1777938117692492679 |
Series |
dmaengine: hisi: Simplify preconditions of CONFIG_K3_DMA
|
|
Commit Message
Jonathan Neuschäfer
Sept. 24, 2023, 3:23 p.m. UTC
Commit e39a2329cfb09 ("Kconfig: Allow k3dma driver to be selected for
more then HISI3xx platforms") expanded the "depends on" line of K3_DMA
from "ARCH_HI3xxx" to "ARCH_HI3xxx || ARCH_HISI || COMPILE_TEST".
However, ARCH_HI3xxx implies ARCH_HISI, so it's unnecessary to list
both.
Instead, just list ARCH_HISI, which covers all HiSilicon platforms.
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
---
drivers/dma/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
2.40.1
Comments
On Sun, 24 Sep 2023 17:23:32 +0200, Jonathan Neuschäfer wrote: > Commit e39a2329cfb09 ("Kconfig: Allow k3dma driver to be selected for > more then HISI3xx platforms") expanded the "depends on" line of K3_DMA > from "ARCH_HI3xxx" to "ARCH_HI3xxx || ARCH_HISI || COMPILE_TEST". > However, ARCH_HI3xxx implies ARCH_HISI, so it's unnecessary to list > both. > > Instead, just list ARCH_HISI, which covers all HiSilicon platforms. > > [...] Applied, thanks! [1/1] dmaengine: hisi: Simplify preconditions of CONFIG_K3_DMA commit: 65b87548041ad70a8e26af08c0dda0b5893baf6b Best regards,
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index 4ccae1a3b8842..70ba506dabab5 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -362,7 +362,7 @@ config INTEL_IOATDMA config K3_DMA tristate "Hisilicon K3 DMA support" - depends on ARCH_HI3xxx || ARCH_HISI || COMPILE_TEST + depends on ARCH_HISI || COMPILE_TEST select DMA_ENGINE select DMA_VIRTUAL_CHANNELS help