Message ID | 20230426074248.19336-1-zong.li@sifive.com (mailing list archive) |
---|---|
State | Handled Elsewhere |
Headers | show |
Series | dmaengine: xilinx: enable on RISC-V platform | expand |
Context | Check | Description |
---|---|---|
conchuod/cover_letter | success | Single patches do not need cover letters |
conchuod/tree_selection | success | Guessed tree name to be for-next at HEAD b09313dd2e72 |
conchuod/fixes_present | success | Fixes tag not required for -next series |
conchuod/maintainers_pattern | success | MAINTAINERS pattern errors before the patch: 1 and now 1 |
conchuod/verify_signedoff | success | Signed-off-by tag matches author and committer |
conchuod/kdoc | success | Errors and warnings before: 0 this patch: 0 |
conchuod/build_rv64_clang_allmodconfig | success | Errors and warnings before: 18 this patch: 18 |
conchuod/module_param | success | Was 0 now: 0 |
conchuod/build_rv64_gcc_allmodconfig | success | Errors and warnings before: 18 this patch: 18 |
conchuod/build_rv32_defconfig | success | Build OK |
conchuod/dtb_warn_rv64 | success | Errors and warnings before: 3 this patch: 3 |
conchuod/header_inline | success | No static functions without inline keyword in header files |
conchuod/checkpatch | success | total: 0 errors, 0 warnings, 0 checks, 8 lines checked |
conchuod/source_inline | success | Was 0 now: 0 |
conchuod/build_rv64_nommu_k210_defconfig | success | Build OK |
conchuod/verify_fixes | success | No Fixes tag |
conchuod/build_rv64_nommu_virt_defconfig | success | Build OK |
On Wed, 26 Apr 2023 00:42:48 PDT (-0700), zong.li@sifive.com wrote: > 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 <zong.li@sifive.com> > --- > 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. Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
On Wed, Apr 26, 2023 at 10:28 PM Palmer Dabbelt <palmer@dabbelt.com> wrote: > > On Wed, 26 Apr 2023 00:42:48 PDT (-0700), zong.li@sifive.com wrote: > > 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 <zong.li@sifive.com> > > --- > > 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. > > Acked-by: Palmer Dabbelt <palmer@rivosinc.com> Hi Palmer, Thanks for your review. Hi Vinod, Could I know if this patch also meets your expectations? If it does, would you please consider accepting it? Thanks.
> -----Original Message----- > From: linux-riscv <linux-riscv-bounces@lists.infradead.org> On Behalf Of > Zong Li > Sent: Wednesday, April 26, 2023 1:13 PM > To: vkoul@kernel.org; dmaengine@vger.kernel.org; linux- > kernel@vger.kernel.org; linux-riscv@lists.infradead.org > Cc: Zong Li <zong.li@sifive.com> > Subject: [PATCH] dmaengine: xilinx: enable on RISC-V platform > > 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 <zong.li@sifive.com> > --- > 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) Instead of adding one more dependency I think we can cleanup this dependency list. Similar changes done in ethernet subsystem. Please have a look at below commits: e8b6c54f6d57 net: xilinx: temac: Relax Kconfig dependencies d7eaf962a90b net: axienet: In kconfig remove arch dependency for axi_emac > select DMA_ENGINE > help > Enable support for Xilinx AXI VDMA Soft IP. > -- > 2.17.1 > > > _______________________________________________ > linux-riscv mailing list > linux-riscv@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-riscv
On Thu, May 4, 2023 at 10:17 PM Pandey, Radhey Shyam <radhey.shyam.pandey@amd.com> wrote: > > > -----Original Message----- > > From: linux-riscv <linux-riscv-bounces@lists.infradead.org> On Behalf Of > > Zong Li > > Sent: Wednesday, April 26, 2023 1:13 PM > > To: vkoul@kernel.org; dmaengine@vger.kernel.org; linux- > > kernel@vger.kernel.org; linux-riscv@lists.infradead.org > > Cc: Zong Li <zong.li@sifive.com> > > Subject: [PATCH] dmaengine: xilinx: enable on RISC-V platform > > > > 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 <zong.li@sifive.com> > > --- > > 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) > > Instead of adding one more dependency I think we can cleanup this > dependency list. Similar changes done in ethernet subsystem. Please > have a look at below commits: > Hi Pandey, Thanks for your tips, let me take a look at it, and give the next version. > e8b6c54f6d57 net: xilinx: temac: Relax Kconfig dependencies > d7eaf962a90b net: axienet: In kconfig remove arch dependency for axi_emac > > > select DMA_ENGINE > > help > > Enable support for Xilinx AXI VDMA Soft IP. > > -- > > 2.17.1 > > > > > > _______________________________________________ > > linux-riscv mailing list > > linux-riscv@lists.infradead.org > > http://lists.infradead.org/mailman/listinfo/linux-riscv
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.
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 <zong.li@sifive.com> --- drivers/dma/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)