From patchwork Wed Apr 26 07:42:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zong Li X-Patchwork-Id: 87701 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp76514vqo; Wed, 26 Apr 2023 01:03:11 -0700 (PDT) X-Google-Smtp-Source: AKy350Y4Y+FXrUvV+1SVQsFz25Wy4udcmNYJ3AUGq2oM/3fUMz0kne48QxlWKPejKWkI/O2M6KbN X-Received: by 2002:a05:6a00:1401:b0:636:e52f:631e with SMTP id l1-20020a056a00140100b00636e52f631emr26518704pfu.1.1682496191223; Wed, 26 Apr 2023 01:03:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682496191; cv=none; d=google.com; s=arc-20160816; b=ijesNXH8nr8rZK/9lbBqEcN+zyUpZriKMiQFuReVDjmFLGVWK4/Wcm7S7uNIUFiver RFMmn/rRjtk8RHjpuljd/PvNVvO8QRb4DlLKmnLszc2ky8XqGUP3uq7yFjWu5EkM4LOD Ko2vsZgfnwEWUISCrBMLhyXHFF9dqfqlihp4iABFG+oMc4fj5zu/DeXK8AEu2O9I8Slf xYnOfREuo81CRaKy07iCtmMPZcKbUI5AWuX+yYI7eGCd0WuvI5JC8qf4oJfDnyxQP4El 0aFZYR3/mqyAo6aub9wb99kO3d75sC01hik5c7Rgs9AsTEWSPLbicNOrQJeLqTJBHott ruKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=C36X7PBYU803ZQK1FU7eiGRzdw+WQCze/9eRJF/8+00=; b=xdNihU9mgOPn+wlv1kGPeLKNUK9Tih23lFB27WQPj6lvJPjXhOC971eFacQ0yfGhJ9 D1tounCiShFgn1IthL8cmIxRnXSO9AfCcWLnCEhrmIJs6ebqGpuh/5/av/ldWWzArnyB cX07HIf5lbjtJT5PhfvI1w0L/fU61q8bZ7OPYFt4ps58X9OTDFqZB+qDgknxdXCFGs4F ZSuicO/UVHrYZBEKXGme4puLkAqqNINeOYnducDFO92iduu+ufl9OW9r2TYWFTIdRe5T fIRLbyF4hNr2EK8gxC6bYOcDcc6f1LvWanZnVbIsPRAOmXdJMWKau9jKPkgw3OrPdaaz cW6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=IC6fDc25; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=sifive.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 23-20020a631957000000b005031abe8d8bsi15060474pgz.745.2023.04.26.01.02.57; Wed, 26 Apr 2023 01:03:11 -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=@sifive.com header.s=google header.b=IC6fDc25; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=sifive.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239819AbjDZHnE (ORCPT + 99 others); Wed, 26 Apr 2023 03:43:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239805AbjDZHnA (ORCPT ); Wed, 26 Apr 2023 03:43:00 -0400 Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88D46198E for ; Wed, 26 Apr 2023 00:42:52 -0700 (PDT) Received: by mail-pf1-x434.google.com with SMTP id d2e1a72fcca58-63b46186c03so8034794b3a.3 for ; Wed, 26 Apr 2023 00:42:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; t=1682494972; x=1685086972; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=C36X7PBYU803ZQK1FU7eiGRzdw+WQCze/9eRJF/8+00=; b=IC6fDc25yro72PytcOu2G5j5Th/XQhlmGVC7qt0vdjRonXlE2ITrOMTDVanbbihTUw QiF5Ga3RYOoEUcJKU0w4zcYFbeichVNo4BQm8/h6ReDxlBLuSV2dG4LcoOI/Xcc6tB9A K6L54zLAUkOEOpxAg9rKLi6Iul/xc2jxU2KAl7NZUNvhG4/sFPnjBQE7aiNr5tZ8qTve 43NafeZIVgk9i+kKCHiH6MlfKeeHpMd5u2Mg1z6DSzVM0vhwcdqbwff5N+RwRv+5o/cs +/pL2IU4IO2mKZTpwdqiO3M/zMUDqRiZMGcJCHqJC9WSWWQ6F77n541PSrg4yElaoJe6 +O4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682494972; x=1685086972; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=C36X7PBYU803ZQK1FU7eiGRzdw+WQCze/9eRJF/8+00=; b=QqveFMaQfhk50tkRubkj35sGkUyT0W80dKSI3NhaV9Ql51dgRnZljUDIgEeqodpyJZ w9JWVM/BvnjVVyKn9weFx5SOlpUPhDF3ZPaosVA2rCOKE8KrXeAXXCtEQcIw+ARQ7YuJ feYqR4WGh0qKWE4SvvzOWxg9FK0m+Ui/hwy4+xDHCBtI4DQ535Se+B458inA0EpFr68Y kdT3vE0y3tNy+wkSbEKkxUmQ+YydPZUvL4bjhZ3F6HN0ZJJPnXU5joGFIvLRVTdDV397 cLHTjhypnXLLkGxjVnOSOWRWNOCe7SZHrfFQs3ybra1bLW/iA/Z8/sfmYjBiTUQEteUx Uz4A== X-Gm-Message-State: AC+VfDyVN+uwZRUH+qaRt3Wx9Vcw+g8aGrkeMfDoXaBl5byw9toIQqlL +GudVoGFHVcR8EXHztLi637S/g== X-Received: by 2002:a05:6a00:10d4:b0:640:f519:e1cc with SMTP id d20-20020a056a0010d400b00640f519e1ccmr3521646pfu.34.1682494971956; Wed, 26 Apr 2023 00:42:51 -0700 (PDT) Received: from hsinchu26.internal.sifive.com (59-124-168-89.hinet-ip.hinet.net. [59.124.168.89]) by smtp.gmail.com with ESMTPSA id 123-20020a621881000000b00627df85cd72sm10384179pfy.199.2023.04.26.00.42.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Apr 2023 00:42:51 -0700 (PDT) From: Zong Li To: vkoul@kernel.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Cc: Zong Li Subject: [PATCH] dmaengine: xilinx: enable on RISC-V platform Date: Wed, 26 Apr 2023 07:42:48 +0000 Message-Id: <20230426074248.19336-1-zong.li@sifive.com> X-Mailer: git-send-email 2.17.1 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764225125980991785?= X-GMAIL-MSGID: =?utf-8?q?1764225125980991785?= Enable the xilinx dmaengine driver on RISC-V platform. We have verified the CDMA on RISC-V platform, enable this configuration to allow build on RISC-V. Signed-off-by: Zong Li Acked-by: Palmer Dabbelt --- drivers/dma/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index fb7073fc034f..816f619804b9 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -695,7 +695,7 @@ config XGENE_DMA config XILINX_DMA tristate "Xilinx AXI DMAS Engine" - depends on (ARCH_ZYNQ || MICROBLAZE || ARM64) + depends on (ARCH_ZYNQ || MICROBLAZE || ARM64 || RISCV) select DMA_ENGINE help Enable support for Xilinx AXI VDMA Soft IP.