All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dmaengine: xilinx: enable on RISC-V platform
@ 2023-04-26  7:42 ` Zong Li
  0 siblings, 0 replies; 10+ messages in thread
From: Zong Li @ 2023-04-26  7:42 UTC (permalink / raw)
  To: vkoul, dmaengine, linux-kernel, linux-riscv; +Cc: Zong Li

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.
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH] dmaengine: xilinx: enable on RISC-V platform
@ 2023-04-26  7:42 ` Zong Li
  0 siblings, 0 replies; 10+ messages in thread
From: Zong Li @ 2023-04-26  7:42 UTC (permalink / raw)
  To: vkoul, dmaengine, linux-kernel, linux-riscv; +Cc: Zong Li

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.
-- 
2.17.1


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [PATCH] dmaengine: xilinx: enable on RISC-V platform
  2023-04-26  7:42 ` Zong Li
@ 2023-04-26 14:28   ` Palmer Dabbelt
  -1 siblings, 0 replies; 10+ messages in thread
From: Palmer Dabbelt @ 2023-04-26 14:28 UTC (permalink / raw)
  To: zong.li; +Cc: vkoul, dmaengine, linux-kernel, linux-riscv, zong.li

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>

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] dmaengine: xilinx: enable on RISC-V platform
@ 2023-04-26 14:28   ` Palmer Dabbelt
  0 siblings, 0 replies; 10+ messages in thread
From: Palmer Dabbelt @ 2023-04-26 14:28 UTC (permalink / raw)
  To: zong.li; +Cc: vkoul, dmaengine, linux-kernel, linux-riscv, zong.li

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>

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] dmaengine: xilinx: enable on RISC-V platform
  2023-04-26 14:28   ` Palmer Dabbelt
@ 2023-05-04  9:12     ` Zong Li
  -1 siblings, 0 replies; 10+ messages in thread
From: Zong Li @ 2023-05-04  9:12 UTC (permalink / raw)
  To: Palmer Dabbelt; +Cc: vkoul, dmaengine, linux-kernel, linux-riscv

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.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] dmaengine: xilinx: enable on RISC-V platform
@ 2023-05-04  9:12     ` Zong Li
  0 siblings, 0 replies; 10+ messages in thread
From: Zong Li @ 2023-05-04  9:12 UTC (permalink / raw)
  To: Palmer Dabbelt; +Cc: vkoul, dmaengine, linux-kernel, linux-riscv

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.

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: [PATCH] dmaengine: xilinx: enable on RISC-V platform
  2023-04-26  7:42 ` Zong Li
@ 2023-05-04 14:17   ` Pandey, Radhey Shyam
  -1 siblings, 0 replies; 10+ messages in thread
From: Pandey, Radhey Shyam @ 2023-05-04 14:17 UTC (permalink / raw)
  To: Zong Li, vkoul, dmaengine, linux-kernel, linux-riscv

> -----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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: [PATCH] dmaengine: xilinx: enable on RISC-V platform
@ 2023-05-04 14:17   ` Pandey, Radhey Shyam
  0 siblings, 0 replies; 10+ messages in thread
From: Pandey, Radhey Shyam @ 2023-05-04 14:17 UTC (permalink / raw)
  To: Zong Li, vkoul, dmaengine, linux-kernel, linux-riscv

> -----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

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] dmaengine: xilinx: enable on RISC-V platform
  2023-05-04 14:17   ` Pandey, Radhey Shyam
@ 2023-05-05  0:36     ` Zong Li
  -1 siblings, 0 replies; 10+ messages in thread
From: Zong Li @ 2023-05-05  0:36 UTC (permalink / raw)
  To: Pandey, Radhey Shyam; +Cc: vkoul, dmaengine, linux-kernel, 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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH] dmaengine: xilinx: enable on RISC-V platform
@ 2023-05-05  0:36     ` Zong Li
  0 siblings, 0 replies; 10+ messages in thread
From: Zong Li @ 2023-05-05  0:36 UTC (permalink / raw)
  To: Pandey, Radhey Shyam; +Cc: vkoul, dmaengine, linux-kernel, 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

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-05-05  0:36 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-26  7:42 [PATCH] dmaengine: xilinx: enable on RISC-V platform Zong Li
2023-04-26  7:42 ` Zong Li
2023-04-26 14:28 ` Palmer Dabbelt
2023-04-26 14:28   ` Palmer Dabbelt
2023-05-04  9:12   ` Zong Li
2023-05-04  9:12     ` Zong Li
2023-05-04 14:17 ` Pandey, Radhey Shyam
2023-05-04 14:17   ` Pandey, Radhey Shyam
2023-05-05  0:36   ` Zong Li
2023-05-05  0:36     ` Zong Li

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.