linux-fpga.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Zhang <yidong.zhang@amd.com>
To: <linux-kernel@vger.kernel.org>, <linux-fpga@vger.kernel.org>,
	<mdf@kernel.org>, <hao.wu@intel.com>, <yilun.xu@intel.com>
Cc: Yidong Zhang <yidong.zhang@amd.com>, <lizhi.hou@amd.com>
Subject: [PATCH V1 0/3] Add new driver for AMD Versal PCIe Card
Date: Mon, 7 Oct 2024 14:55:53 -0700	[thread overview]
Message-ID: <20241007215556.3023089-1-yidong.zhang@amd.com> (raw)

From: Yidong Zhang <yidong.zhang@amd.com>

This patchset introduces a new Linux Kernel Driver, amd-vmgmt for AMD Alevo
Versal based PCIe Card. The driver is based on Linux fpga driver framework.

The AMD Alevo Versal based PCIe Card, including V70, 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 amd-vmgmt driver provides services, including:
  - leveraging linux firmware and FPGA framework to download management
    firmware
  - program additional bit-streams for AMD Xilinx specific hardware
  - communicate with PCIe user function
  - communicate with firmware running on the PCIe Card
  - monitor device health

The driver is licensed under GPL-2.0 except for UAPI header which is
licensed GPL-2.0 WITH Linux-syscall-note.

The firmware and bit-streams 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/fpga/amd: Add new driver for AMD Versal PCIe card
  drivers/fpga/amd: Add communication with firmware
  drivers/fpga/amd: Add remote queue service APIs

 MAINTAINERS                       |   7 +
 drivers/fpga/Kconfig              |   3 +
 drivers/fpga/Makefile             |   3 +
 drivers/fpga/amd/Kconfig          |  17 +
 drivers/fpga/amd/Makefile         |   8 +
 drivers/fpga/amd/vmgmt-comms.c    | 344 +++++++++++++++
 drivers/fpga/amd/vmgmt-comms.h    |  14 +
 drivers/fpga/amd/vmgmt-rm-queue.c | 378 ++++++++++++++++
 drivers/fpga/amd/vmgmt-rm-queue.h |  15 +
 drivers/fpga/amd/vmgmt-rm.c       | 543 +++++++++++++++++++++++
 drivers/fpga/amd/vmgmt-rm.h       | 222 ++++++++++
 drivers/fpga/amd/vmgmt.c          | 696 ++++++++++++++++++++++++++++++
 drivers/fpga/amd/vmgmt.h          | 103 +++++
 include/uapi/linux/vmgmt.h        |  25 ++
 14 files changed, 2378 insertions(+)
 create mode 100644 drivers/fpga/amd/Kconfig
 create mode 100644 drivers/fpga/amd/Makefile
 create mode 100644 drivers/fpga/amd/vmgmt-comms.c
 create mode 100644 drivers/fpga/amd/vmgmt-comms.h
 create mode 100644 drivers/fpga/amd/vmgmt-rm-queue.c
 create mode 100644 drivers/fpga/amd/vmgmt-rm-queue.h
 create mode 100644 drivers/fpga/amd/vmgmt-rm.c
 create mode 100644 drivers/fpga/amd/vmgmt-rm.h
 create mode 100644 drivers/fpga/amd/vmgmt.c
 create mode 100644 drivers/fpga/amd/vmgmt.h
 create mode 100644 include/uapi/linux/vmgmt.h

-- 
2.34.1


             reply	other threads:[~2024-10-07 21:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-07 21:55 David Zhang [this message]
2024-10-18  6:19 ` [PATCH V1 0/3] Add new driver for AMD Versal PCIe Card Xu Yilun
2024-11-12  0:23   ` Yidong Zhang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241007215556.3023089-1-yidong.zhang@amd.com \
    --to=yidong.zhang@amd.com \
    --cc=hao.wu@intel.com \
    --cc=linux-fpga@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lizhi.hou@amd.com \
    --cc=mdf@kernel.org \
    --cc=yilun.xu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).