[PATCH v4 0/4] Support AMD CDX bus, for FPGA based CDX devices. The CDX
Ferruh Yigit
ferruh.yigit at amd.com
Fri May 12 12:25:23 CEST 2023
On 5/8/2023 12:18 PM, Nipun Gupta wrote:
> It uses sysfs interface and the vfio-cdx driver to discover
> and initialize the CDX devices.
>
> The CDX bus and VFIO support is available at Xilinx open source tree:
> https://github.com/Xilinx/linux-xlnx (drivers/cdx/ and drivers/vfio/cdx)
>
> Linux CDX bus patches has been added into linux next:
> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/drivers/cdx
>
> VFIO patches are also submitted in upstream:
> https://www.spinics.net/lists/kvm/msg310623.html
>
> 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.
>
> Changes v3->v4:
> - removed platform specific patch (adding config for ARM CDX)
> from this series
>
> Changes v2->v3:
> - merged cdx bus compilation enablement in the first patch
> - fixed issue reported by check-git-log.sh
> - updated release notes
> - updated offset to uint64_t instead of off_t in cdx_map_resource
>
> Changes v1->v2:
> - Moved file rte_cdx_bus.h to internal bus_cdx_driver.h
> and added this file to deivce_cdx_headers
> - Moved cdx.h to private.h
> - Removed rte_ prefix from the static symbols in .c files.
>
> Changes RFC->v1:
> - Marked few API's as internal which were not required
> to be provided to user.
>
> Nipun Gupta (4):
> 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
For series,
Acked-by: Ferruh Yigit <ferruh.yigit at amd.com>
More information about the dev
mailing list