RFC add support for CDX bus
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest6 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | bus/cdx: introduce cdx busMAINTAINERS drivers/ drivers/ +5 more | +1332 | 0 replies | |
| 1/6 | bus/cdx: introduce cdx busMAINTAINERS drivers/ drivers/ +5 more | +1337 | 0 replies | |
| 2/6 | bus/cdx: add dma map and unmap supportdrivers/ | +40 | 0 replies | |
| 2/6 | bus/cdx: add dma map and unmap supportdrivers/ | +40 | 0 replies | |
| 3/6 | bus/cdx: add support for MSIdrivers/ drivers/ drivers/ +5 more | +281 | 0 replies | |
| 3/6 | bus/cdx: add support for MSIdrivers/ drivers/ drivers/ +5 more | +274 | 0 replies | |
| 4/6 | bus/cdx: support plug unplug and dev iteratordrivers/ drivers/ | +133 | 0 replies | |
| 4/6 | bus/cdx: support plug unplug and dev iteratordrivers/ drivers/ | +133 | 0 replies | |
| 5/6 | bus: enable cdx busdrivers/ | +1 | 0 replies | |
| 5/6 | bus: enable cdx busdrivers/ | +1 | 0 replies | |
| 6/6 | config/arm: add AMD CDXconfig/ config/ | +32 | 0 replies | |
| 6/6 | config/arm: add AMD CDXconfig/ config/ | +31 | 0 replies |
Reviews trailers per patch
None of the 12 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Ferruh Yigit |
|---|---|
| Series | A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b |
| 1/6 | |
| 1/6 | |
| 2/6 | |
| 2/6 | |
| 3/6 | |
| 3/6 | |
| 4/6 | |
| 4/6 | |
| 5/6 | |
| 5/6 | |
| 6/6 | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC PATCH 0/6] add support for CDX bus
Support AMD CDX bus, for FPGA based CDX devices. The CDX devices are memory mapped on system bus for embedded CPUs.
It uses sysfs interface and the vfio-cdx driver to discover and initialize the CDX devices.
The patches are intended for DPDK 23.07 release, and have been sent as an RFC as patches are yet to be merged in Linux.
Linux CDX bus patches has been submitted at:
https://lore.kernel.org/lkml/[email protected]/T/
CDX is a Hardware Architecture designed for AMD FPGA devices. It consists of mechanism for interaction between FPGA, Firmware and the APUs (Application CPUs).
Firmware resides on RPU (Realtime CPUs) which interacts with the FPGA program manager and the APUs. The RPU provides memory-mapped interface (RPU if) which is used to communicate with APUs.
VFIO CDX driver provides the CDX device resources like MMIO and interrupts to map to user-space. DPDK CDX bus uses sysfs interface and the vfio-cdx driver to discover and initialize the CDX devices for user-space applications.
Nipun Gupta (6):
bus/cdx: introduce cdx bus
bus/cdx: add dma map and unmap support
bus/cdx: add support for MSI
bus/cdx: support plug unplug and dev iterator
bus: enable cdx bus
config/arm: add AMD CDX
MAINTAINERS | 5 + config/arm/arm64_cdx_linux_gcc | 17 + config/arm/meson.build | 15 + drivers/bus/cdx/cdx.c | 737 +++++++++++++++++++++++++ drivers/bus/cdx/cdx.h | 54 ++ drivers/bus/cdx/cdx_logs.h | 37 ++ drivers/bus/cdx/cdx_vfio.c | 606 ++++++++++++++++++++ drivers/bus/cdx/meson.build | 13 + drivers/bus/cdx/rte_bus_cdx.h | 245 ++++++++ drivers/bus/cdx/version.map | 21 + drivers/bus/meson.build | 1 + lib/eal/common/eal_common_interrupts.c | 21 + lib/eal/common/eal_interrupts.h | 1 + lib/eal/include/rte_interrupts.h | 32 ++ lib/eal/version.map | 2 + 15 files changed, 1807 insertions(+) create mode 100644 config/arm/arm64_cdx_linux_gcc create mode 100644 drivers/bus/cdx/cdx.c create mode 100644 drivers/bus/cdx/cdx.h create mode 100644 drivers/bus/cdx/cdx_logs.h create mode 100644 drivers/bus/cdx/cdx_vfio.c create mode 100644 drivers/bus/cdx/meson.build create mode 100644 drivers/bus/cdx/rte_bus_cdx.h create mode 100644 drivers/bus/cdx/version.map
Signature · 1 line
2.25.1