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

Yidong Zhang posted 3 patches 11 months, 1 week ago
There is a newer version of this series
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
[PATCH V0 0/3] Add versal-pci driver
Posted by Yidong Zhang 11 months, 1 week ago
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
Re: [PATCH V0 0/3] Add versal-pci driver
Posted by Greg KH 9 months, 3 weeks ago
On Sun, Mar 02, 2025 at 08:43:09PM -0800, Yidong Zhang wrote:
> 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].

accelerator drivers should be under drivers/accel/, please work with the
maintainers there to get it reviewed properly in that location.

thanks,

greg k-h
Re: [PATCH V0 0/3] Add versal-pci driver
Posted by Yidong Zhang 9 months, 3 weeks ago

On 4/15/25 07:11, Greg KH wrote:
> Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.
> 
> 
> On Sun, Mar 02, 2025 at 08:43:09PM -0800, Yidong Zhang wrote:
>> 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].
> 
> accelerator drivers should be under drivers/accel/, please work with the
> maintainers there to get it reviewed properly in that location.

Hi Greg,

We will work with drivers/accel community and send updated patches to 
them for further review.

Thank you so much for taking your time guiding us the right direction.

Thanks,
David

> 
> thanks,
> 
> greg k-h