NTB: Add support for EPF PCI Non-Transparent Bridge
authorKishon Vijay Abraham I <kishon@ti.com>
Mon, 1 Feb 2021 19:58:07 +0000 (01:28 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 23 Feb 2021 20:12:53 +0000 (14:12 -0600)
commit812ce2f8d14ea791edd88c36ebcc9017bf4c88cb
tree9aeb6ca446f9b7c2f0f6c8847a4966f1f581fc41
parent599f86872f9ce8a0a0bd111a23442b18e8ee7059
NTB: Add support for EPF PCI Non-Transparent Bridge

Add support for EPF PCI Non-Transparent Bridge (NTB) devices.  This driver
is platform independent and may be used by any platform that has multiple
PCI endpoint instances configured using the pci-epf-ntb driver.  The driver
connnects to the standard NTB subsystem interface. The EPF NTB device has a
configurable number of memory windows (max 4), a configurable number of
doorbells (max 32), and a configurable number of scratch-pad registers.

Link: https://lore.kernel.org/r/20210201195809.7342-16-kishon@ti.com
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
drivers/ntb/hw/Kconfig
drivers/ntb/hw/Makefile
drivers/ntb/hw/epf/Kconfig [new file with mode: 0644]
drivers/ntb/hw/epf/Makefile [new file with mode: 0644]
drivers/ntb/hw/epf/ntb_hw_epf.c [new file with mode: 0644]