mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] PCI: cadence: j721e: Add support for PCI NTB functionality
@ 2026-02-20 10:10 Aksh Garg
  2026-02-20 10:15 ` Siddharth Vadapalli
  2026-03-05  4:55 ` Manivannan Sadhasivam
  0 siblings, 2 replies; 3+ messages in thread
From: Aksh Garg @ 2026-02-20 10:10 UTC (permalink / raw)
  To: linux-pci, lpieralisi, kwilczynski, mani, robh, bhelgaas,
	s-vadapalli, arnd, mpillai, hans.zhang, unicorn_wang, kishon
  Cc: linux-kernel, danishanwar, a-garg7

Configure Non-Transparent Bridge (NTB) components to build along with
J721E PCIe controller driver to add support for PCI NTB functionality
in TI SoCs.

NTB_NETDEV allows to setup a virtual ethernet interface over the
NTB Transport layer, enabling connected systems to communicate with
each other using standard network protocols and transfer data as
ethernet traffic over the link.

Signed-off-by: Aksh Garg <a-garg7@ti.com>
---
 drivers/pci/controller/cadence/Kconfig | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/pci/controller/cadence/Kconfig b/drivers/pci/controller/cadence/Kconfig
index 9e651d545973..2da9d4ed3ed0 100644
--- a/drivers/pci/controller/cadence/Kconfig
+++ b/drivers/pci/controller/cadence/Kconfig
@@ -76,6 +76,10 @@ config PCI_J721E_HOST
 	depends on ARCH_K3 || COMPILE_TEST
 	depends on OF
 	select PCI_J721E
+	imply NTB
+	imply NTB_TRANSPORT
+	imply NTB_EPF
+	imply NTB_NETDEV
 	help
 	  Say Y here if you want to support the TI J721E PCIe platform
 	  controller in host mode. TI J721E PCIe controller uses Cadence PCIe
@@ -87,6 +91,7 @@ config PCI_J721E_EP
 	depends on OF
 	depends on PCI_ENDPOINT
 	select PCI_J721E
+	imply PCI_EPF_NTB
 	help
 	  Say Y here if you want to support the TI J721E PCIe platform
 	  controller in endpoint mode. TI J721E PCIe controller uses Cadence PCIe
-- 
2.34.1


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

* Re: [PATCH] PCI: cadence: j721e: Add support for PCI NTB functionality
  2026-02-20 10:10 [PATCH] PCI: cadence: j721e: Add support for PCI NTB functionality Aksh Garg
@ 2026-02-20 10:15 ` Siddharth Vadapalli
  2026-03-05  4:55 ` Manivannan Sadhasivam
  1 sibling, 0 replies; 3+ messages in thread
From: Siddharth Vadapalli @ 2026-02-20 10:15 UTC (permalink / raw)
  To: Aksh Garg
  Cc: linux-pci, lpieralisi, kwilczynski, mani, robh, bhelgaas, arnd,
	mpillai, hans.zhang, unicorn_wang, kishon, linux-kernel,
	danishanwar, s-vadapalli

On Fri, 2026-02-20 at 15:40 +0530, Aksh Garg wrote:
> Configure Non-Transparent Bridge (NTB) components to build along with
> J721E PCIe controller driver to add support for PCI NTB functionality
> in TI SoCs.
> 
> NTB_NETDEV allows to setup a virtual ethernet interface over the
> NTB Transport layer, enabling connected systems to communicate with
> each other using standard network protocols and transfer data as
> ethernet traffic over the link.
> 
> Signed-off-by: Aksh Garg <a-garg7@ti.com>

Reviewed-by: Siddharth Vadapalli <s-vadapalli@ti.com>

Regards,
Siddharth.

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

* Re: [PATCH] PCI: cadence: j721e: Add support for PCI NTB functionality
  2026-02-20 10:10 [PATCH] PCI: cadence: j721e: Add support for PCI NTB functionality Aksh Garg
  2026-02-20 10:15 ` Siddharth Vadapalli
@ 2026-03-05  4:55 ` Manivannan Sadhasivam
  1 sibling, 0 replies; 3+ messages in thread
From: Manivannan Sadhasivam @ 2026-03-05  4:55 UTC (permalink / raw)
  To: Aksh Garg
  Cc: linux-pci, lpieralisi, kwilczynski, robh, bhelgaas, s-vadapalli,
	arnd, mpillai, hans.zhang, unicorn_wang, kishon, linux-kernel,
	danishanwar

On Fri, Feb 20, 2026 at 03:40:30PM +0530, Aksh Garg wrote:
> Configure Non-Transparent Bridge (NTB) components to build along with
> J721E PCIe controller driver to add support for PCI NTB functionality
> in TI SoCs.
> 

Driver Kconfig is not the place to select your usecase specific drivers. Drivers
should only select drivers that they themselves need it, not the end usecase.

So please do it in your distro config or arch defconfig as you see fit.

- Mani

> NTB_NETDEV allows to setup a virtual ethernet interface over the
> NTB Transport layer, enabling connected systems to communicate with
> each other using standard network protocols and transfer data as
> ethernet traffic over the link.
> 
> Signed-off-by: Aksh Garg <a-garg7@ti.com>
> ---
>  drivers/pci/controller/cadence/Kconfig | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/drivers/pci/controller/cadence/Kconfig b/drivers/pci/controller/cadence/Kconfig
> index 9e651d545973..2da9d4ed3ed0 100644
> --- a/drivers/pci/controller/cadence/Kconfig
> +++ b/drivers/pci/controller/cadence/Kconfig
> @@ -76,6 +76,10 @@ config PCI_J721E_HOST
>  	depends on ARCH_K3 || COMPILE_TEST
>  	depends on OF
>  	select PCI_J721E
> +	imply NTB
> +	imply NTB_TRANSPORT
> +	imply NTB_EPF
> +	imply NTB_NETDEV
>  	help
>  	  Say Y here if you want to support the TI J721E PCIe platform
>  	  controller in host mode. TI J721E PCIe controller uses Cadence PCIe
> @@ -87,6 +91,7 @@ config PCI_J721E_EP
>  	depends on OF
>  	depends on PCI_ENDPOINT
>  	select PCI_J721E
> +	imply PCI_EPF_NTB
>  	help
>  	  Say Y here if you want to support the TI J721E PCIe platform
>  	  controller in endpoint mode. TI J721E PCIe controller uses Cadence PCIe
> -- 
> 2.34.1
> 

-- 
மணிவண்ணன் சதாசிவம்

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

end of thread, other threads:[~2026-03-05  4:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-20 10:10 [PATCH] PCI: cadence: j721e: Add support for PCI NTB functionality Aksh Garg
2026-02-20 10:15 ` Siddharth Vadapalli
2026-03-05  4:55 ` Manivannan Sadhasivam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®