|
|
Subscribe / Log in / New account

Add versal-pci driver

From:  Yidong Zhang <yidong.zhang-AT-amd.com>
To:  <arnd-AT-arndb.de>, <gregkh-AT-linuxfoundation.org>, <linux-kernel-AT-vger.kernel.org>
Subject:  [PATCH V0 0/3] Add versal-pci driver
Date:  Sun, 02 Mar 2025 20:43:09 -0800
Message-ID:  <20250303044313.679012-1-yidong.zhang@amd.com>
Cc:  Yidong Zhang <yidong.zhang-AT-amd.com>, <lizhi.hou-AT-amd.com>, <christophe.jaillet-AT-wanadoo.fr>
Archive-link:  Article

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




Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds