drivers/vfio/cdx

VFIO passthrough for AMD/Xilinx CDX bus devices on Versal Adaptive SoCs

Provides userspace and virtual-machine passthrough access to devices on the CDX bus, a custom interconnect AMD/Xilinx uses on its Versal Adaptive SoC platforms (FPGA-plus-CPU chips aimed at networking, datacenter, and embedded workloads). It lets hypervisors or DPDK-style userspace applications drive FPGA-attached functions directly, similar to how VFIO already works for PCI devices.

keep conf=0.84 deploy=low replacement=none subsystem=vfio category=virtualization
84%

recommendation

It should stay because the code is young (added in 2023), still receiving real maintenance into 2026 including race-condition and null-pointer fixes, and there is no alternative path for passing CDX-bus devices through to virtual machines or userspace. AMD continues to ship current Versal silicon and even packages a cdx-controller module in its own release artifacts, so although the deployed base is small and specialized, the hardware is actively sold and the driver has a clear ongoing purpose.

repository signals

5 files
622 source lines
12 commits, 5y
+681 / −30 lines added / removed, 5y
8 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 12 total · active in 9/61 months
2021 2022 2023 2024 2025 2026 2021-04: 0 commits · +0 −0 2021-05: 0 commits · +0 −0 2021-06: 0 commits · +0 −0 2021-07: 0 commits · +0 −0 2021-08: 0 commits · +0 −0 2021-09: 0 commits · +0 −0 2021-10: 0 commits · +0 −0 2021-11: 0 commits · +0 −0 2021-12: 0 commits · +0 −0 2022-01: 0 commits · +0 −0 2022-02: 0 commits · +0 −0 2022-03: 0 commits · +0 −0 2022-04: 0 commits · +0 −0 2022-05: 0 commits · +0 −0 2022-06: 0 commits · +0 −0 2022-07: 0 commits · +0 −0 2022-08: 0 commits · +0 −0 2022-09: 0 commits · +0 −0 2022-10: 0 commits · +0 −0 2022-11: 0 commits · +0 −0 2022-12: 0 commits · +0 −0 2023-01: 0 commits · +0 −0 2023-02: 0 commits · +0 −0 2023-03: 0 commits · +0 −0 2023-04: 0 commits · +0 −0 2023-05: 1 commit · +287 −0 2023-06: 0 commits · +0 −0 2023-07: 0 commits · +0 −0 2023-08: 1 commit · +0 −1 2023-09: 1 commit · +58 −1 2023-10: 2 commits · +2 −1 2023-11: 0 commits · +0 −0 2023-12: 0 commits · +0 −0 2024-01: 0 commits · +0 −0 2024-02: 0 commits · +0 −0 2024-03: 0 commits · +0 −0 2024-04: 1 commit · +298 −2 2024-05: 0 commits · +0 −0 2024-06: 0 commits · +0 −0 2024-07: 0 commits · +0 −0 2024-08: 0 commits · +0 −0 2024-09: 0 commits · +0 −0 2024-10: 0 commits · +0 −0 2024-11: 0 commits · +0 −0 2024-12: 1 commit · +1 −1 2025-01: 0 commits · +0 −0 2025-02: 0 commits · +0 −0 2025-03: 0 commits · +0 −0 2025-04: 0 commits · +0 −0 2025-05: 0 commits · +0 −0 2025-06: 0 commits · +0 −0 2025-07: 0 commits · +0 −0 2025-08: 1 commit · +19 −1 2025-09: 0 commits · +0 −0 2025-10: 0 commits · +0 −0 2025-11: 2 commits · +12 −19 2025-12: 0 commits · +0 −0 2026-01: 0 commits · +0 −0 2026-02: 2 commits · +4 −4 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. spinics.net

    Public mailing-list traffic shows active 2026 maintenance for vfio/cdx, including race and NULL-dereference fixes.

  2. cateee.net

    LKDDb shows CONFIG_VFIO_CDX exists from Linux 6.5 through current development kernels, indicating an actively carried in-tree driver rather than abandoned legacy code.

  3. kernel.org

    Kernel ABI docs still document sysfs for the CDX bus, showing the underlying bus/subsystem remains part of current kernel interfaces.

  4. amd.com

    AMD still markets current Versal Adaptive SoCs, a contemporary product family plausibly hosting CDX-based devices.

  5. edf.amd.com

    AMD/Xilinx release artifacts include a cdx-controller kernel module package, indicating vendor-supported deployments rather than purely historical hardware.

codex reasoning notes (technical)

Local shell inspection (`rg` in-tree) confirmed this is a real driver: Kconfig entry, `module_driver(...)`, and VFIO ops for CDX bus devices. Local `git -c safe.directory=... log -- drivers/cdx drivers/vfio/cdx` showed creation in 2023 and substantive updates through 2026-02, so there is no sign of stagnation. Web search found the spinics thread with active 2026 bug-fix work and no removal/deprecation discussion. Web search also found LKDDb and current kernel ABI docs showing CDX remains present upstream. AMD product pages and release-package indexes obtained via web search indicate the surrounding AMD/Xilinx adaptive-SoC ecosystem is still current, but specialized; that supports `deployments_today = low` rather than medium/high. No natural replacement driver exists for VFIO access to CDX-bus devices, so removal/deprecation is not justified.