[PATCH V0 0/3] Add versal-pci driver

From: Yidong Zhang
Date: Sun Mar 02 2025 - 23:44:09 EST


This patchset introduces a new Linux Kernel Driver, versal-pci for AMD
Alevo Versal based PCIe Card.

The AMD Alevo Versal based PCIe Card, including V70 and RAVE, is the first
Alevo production card leveraging AMD XDNA architecture with AI Engines. It
is designed for AI inference efficiency and is tuned for video analytics
and natural language processing applications [1].

This versal-pci driver provides services, including:
- leveraging linux firmware and configfs framework to download management
firmware
- communicate with firmware running on the PCIe Card
- monitor device health

The driver is licensed under GPL-2.0.

The firmwares are distributed as a closed binary, delivered by AMD. Please
see [1] for more information.

[1] https://www.amd.com/en/products/accelerators/alveo/v70.html

Yidong Zhang (3):
drivers/misc/amd: Add new driver amd versal-pci
drivers/misc/amd: Add remote queue service
drivers/misc/amd: Add load base shell firmware

MAINTAINERS | 5 +
drivers/misc/Kconfig | 1 +
drivers/misc/Makefile | 1 +
drivers/misc/amd/Kconfig | 15 +
drivers/misc/amd/Makefile | 7 +
drivers/misc/amd/versal-pci-main.c | 313 ++++++++++++++
drivers/misc/amd/versal-pci-rm-queue.c | 314 ++++++++++++++
drivers/misc/amd/versal-pci-rm-queue.h | 21 +
drivers/misc/amd/versal-pci-rm-service.c | 497 +++++++++++++++++++++++
drivers/misc/amd/versal-pci-rm-service.h | 229 +++++++++++
drivers/misc/amd/versal-pci.h | 64 +++
11 files changed, 1467 insertions(+)
create mode 100644 drivers/misc/amd/Kconfig
create mode 100644 drivers/misc/amd/Makefile
create mode 100644 drivers/misc/amd/versal-pci-main.c
create mode 100644 drivers/misc/amd/versal-pci-rm-queue.c
create mode 100644 drivers/misc/amd/versal-pci-rm-queue.h
create mode 100644 drivers/misc/amd/versal-pci-rm-service.c
create mode 100644 drivers/misc/amd/versal-pci-rm-service.h
create mode 100644 drivers/misc/amd/versal-pci.h

--
2.34.1