Message ID | 20230510060421.30982-1-zong.li@sifive.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp3394085vqo; Tue, 9 May 2023 23:07:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7d73EPRb4ipLwfaANa1sfHTHO+4K87XbBpF4vL2AZUceAJBwvvR5kuNdVrdcBciWdsb0U+ X-Received: by 2002:a05:6a00:1305:b0:63d:641f:5048 with SMTP id j5-20020a056a00130500b0063d641f5048mr19541437pfu.16.1683698863423; Tue, 09 May 2023 23:07:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683698863; cv=none; d=google.com; s=arc-20160816; b=fSyFqdviwnkPmuBy89KIQQohzPVhK5eTCpJ30zC6WB/7d4TeAnvJ3NsQh9H90xHrdQ A7R/ahZaxzE/okVyBoaBIzy008Gbe1xtuOyb8tpwS8bpqM0FcvUFbMdxzesINAYhFcIT 88tv86wXC8UhkPqjBU3A7+Gwr6DplYUJ5mPcVYaFF2P+OllPo5WrMvcFIiS7IBkHmke8 jn1kfGhDDhBSpDx/a9uATDIeeSqGljCCYoP1fNCTOLXTUrN6QybEol85vHg9bkfQgP/R aeX+bKYKTrLhh6NaYtGSzvdGPiMEKlXy+UgA9SAhx42WMCmyi5NW1xXe0N7w/qSImeGd iGhA== 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=Gu0Ww4Btm3ZJWmUm54OXSmR11HegrPdHhOCTMAKgm2g=; b=xGEk6at/P2xdEbPYibMyZ1l0jVg2YixqE+P4NPykx+gdBeuJ5hO55AkCX3RsCgIjlb 2ZB8j7LVoX9PADnQBU2pC/amBwqn72Zhud1wlRMHai/m2rPg9HNkzFDzbdbr6sgorstf nRJ3190d0Qly1iURs2StdBfxF3McfJgCt/9mqUg3k4rqbtJSoJMMnGY05GgLCM223/cZ EdfmilY/olGugdoOsAgSMz82vDvfnzyvGfZ1fDBR6YgHPYYQQLev0H4MawfPfMekcl0z SRuWQYcK3B/tfc2e8ifWx4k8lDstM7gssne9tFLMRXIFjY563V8BPbBCsPl8BW/Jmx8Y 34rA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=h8djJvjR; 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=REJECT sp=REJECT 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 x15-20020aa7940f000000b006466ef42dafsi4355037pfo.179.2023.05.09.23.07.29; Tue, 09 May 2023 23:07:43 -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=h8djJvjR; 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=REJECT sp=REJECT dis=NONE) header.from=sifive.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235902AbjEJGEb (ORCPT <rfc822;baris.duru.linux@gmail.com> + 99 others); Wed, 10 May 2023 02:04:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229902AbjEJGE2 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 10 May 2023 02:04:28 -0400 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E581640F8 for <linux-kernel@vger.kernel.org>; Tue, 9 May 2023 23:04:26 -0700 (PDT) Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-1aaf7067647so47333765ad.0 for <linux-kernel@vger.kernel.org>; Tue, 09 May 2023 23:04:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; t=1683698666; x=1686290666; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Gu0Ww4Btm3ZJWmUm54OXSmR11HegrPdHhOCTMAKgm2g=; b=h8djJvjR8ebEG6ImUF1nkveTqSFqxQK3NuyugJ0rvCgfuk3n7bOjbRYxjtXbDIo41c 9hkL5I3sSZAH4LWpU5Hz4rzaimszZBnNgQOeLWbHtCSvV7WE23HlCEltuB97H+lsxDhi T0Nr9HX8Syru1uaPiRtTS46v2moIsJGkvq2fkvbS9avnh5cZYPI/gMly6X4IibbUV9Ex V/dQFKHhfVsUE9F4bjL0+Da5GeBHVH47z3e2nCnG8iqSQwDFB78EZK5iy9Znzu0czH/C bkc9CPb8uKkFm5Hp+RwIdrNE6RB3gLGj+3o9CVYLr6Psz0nv+LzShMjkAsT7kk0uGH+m OjtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683698666; x=1686290666; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Gu0Ww4Btm3ZJWmUm54OXSmR11HegrPdHhOCTMAKgm2g=; b=cNsVWq/QyfBc6yjl7fXehFZDInbFkrL59euXpqjq5TsTOqooLB0stWZ74KSt6z1TuN VYu6P5xLHFaXb1GYxgJul3remqwQLLh2t9CU8E4LlBi848GMLf0/QTrI0d8EApUlp45/ 0IRTk83cAtV381ln/rIsvSTO4oKjh6aNYFPqCs5e4wGx06DgB/MFt032HKT6VNP4K50T HV+1oI/dZDRDxXKTru2zeC4RIxWAjyqVo0yLWjJ8ihpRRuHt3eeL9Rj7DMAlSgR9iuQb uPsBboQBIAq8l9UzUCTqdQ7o0wewM+3CVtw0O1V0oTpqF9sIDYdMZ5TTEn7CBG1C0dqn va7A== X-Gm-Message-State: AC+VfDzyH66tqKsU6c2pyYeiwL0/8JhXDZGJ3QuBsjdl0mba28soF87m pHYEslBWyMtVDiCowJNoEtmoLA== X-Received: by 2002:a17:902:c40a:b0:1ab:28ec:bf10 with SMTP id k10-20020a170902c40a00b001ab28ecbf10mr23310293plk.51.1683698666262; Tue, 09 May 2023 23:04:26 -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 io20-20020a17090312d400b001ab0a30c895sm2751424plb.202.2023.05.09.23.04.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 May 2023 23:04:25 -0700 (PDT) From: Zong Li <zong.li@sifive.com> To: vkoul@kernel.org, palmer@dabbelt.com, radhey.shyam.pandey@amd.com, dmaengine@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Zong Li <zong.li@sifive.com> Subject: [PATCH v2] dmaengine: xilinx: dma: remove arch dependency Date: Wed, 10 May 2023 06:04:21 +0000 Message-Id: <20230510060421.30982-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=unavailable 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765486219128866045?= X-GMAIL-MSGID: =?utf-8?q?1765486219128866045?= |
Series |
[v2] dmaengine: xilinx: dma: remove arch dependency
|
|
Commit Message
Zong Li
May 10, 2023, 6:04 a.m. UTC
As following patches, xilinx dma is also now architecture agnostic, and it can be compiled for several architectures. We have verified the CDMA on RISC-V platform, let's remove the ARCH dependency list instead of adding new ARCH. 'e8b6c54f6d57 ("net: xilinx: temac: Relax Kconfig dependencies")' 'd7eaf962a90b ("net: axienet: In kconfig remove arch dependency for axi_emac")' Signed-off-by: Zong Li <zong.li@sifive.com> Acked-by: Palmer Dabbelt <palmer@rivosinc.com> Suggested-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com> --- Changes in v2: - Remove ARCH dependency list instead of adding new ARCH drivers/dma/Kconfig | 1 - 1 file changed, 1 deletion(-)
Comments
Hi Zong,
kernel test robot noticed the following build errors:
[auto build test ERROR on vkoul-dmaengine/next]
[also build test ERROR on linus/master v6.4-rc1 next-20230510]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Zong-Li/dmaengine-xilinx-dma-remove-arch-dependency/20230510-140509
base: https://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git next
patch link: https://lore.kernel.org/r/20230510060421.30982-1-zong.li%40sifive.com
patch subject: [PATCH v2] dmaengine: xilinx: dma: remove arch dependency
config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20230511/202305110023.SRQHQ5Sg-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/intel-lab-lkp/linux/commit/5ffa30d0089e127bb702f8904856e05dfdee85d5
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Zong-Li/dmaengine-xilinx-dma-remove-arch-dependency/20230510-140509
git checkout 5ffa30d0089e127bb702f8904856e05dfdee85d5
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=s390 olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202305110023.SRQHQ5Sg-lkp@intel.com/
All errors (new ones prefixed by >>, old ones prefixed by <<):
>> ERROR: modpost: "devm_platform_ioremap_resource" [drivers/dma/xilinx/xilinx_dma.ko] undefined!
ERROR: modpost: "devm_platform_ioremap_resource" [drivers/dma/fsl-edma.ko] undefined!
ERROR: modpost: "devm_platform_ioremap_resource" [drivers/dma/idma64.ko] undefined!
ERROR: modpost: "devm_platform_ioremap_resource" [drivers/char/xillybus/xillybus_of.ko] undefined!
ERROR: modpost: "devm_memremap" [drivers/misc/open-dice.ko] undefined!
ERROR: modpost: "devm_memunmap" [drivers/misc/open-dice.ko] undefined!
ERROR: modpost: "devm_ioremap" [drivers/net/ethernet/altera/altera_tse.ko] undefined!
ERROR: modpost: "iounmap" [drivers/pcmcia/pcmcia.ko] undefined!
ERROR: modpost: "ioremap" [drivers/pcmcia/pcmcia.ko] undefined!
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index f5f422f9b850..daf20600a167 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -696,7 +696,6 @@ config XGENE_DMA config XILINX_DMA tristate "Xilinx AXI DMAS Engine" - depends on (ARCH_ZYNQ || MICROBLAZE || ARM64) select DMA_ENGINE help Enable support for Xilinx AXI VDMA Soft IP.