Applied to drm-misc-next
On 5/5/26 09:09, Lizhi Hou wrote:
> This series extends amdxdna with initial support for AIE4 Virtual Functions
> and the user-visible execution path.
>
> Move message buffer allocation and device metadata collection to aie.c,
> allowing both AIE2 and AIE4 devices to reuse common code.
>
> Testing:
> PF + VF: Probe AIE4 PF, enable SR-IOV, bind VF devices, and run
> end-to-end workloads from a userspace application.
>
> Regression: Validate existing AIE2 regression tests.
>
> David Zhang (5):
> accel/amdxdna: Add initial support for AIE4 VF
> accel/amdxdna: Init AIE4 device partition
> accel/amdxdna: Add AIE4 VF hardware context create and destroy
> accel/amdxdna: Add command doorbell and wait support
> accel/amdxdna: Add AIE4 metadata query support
>
> Nishad Saraf (1):
> accel/amdxdna: Add AIE4 work buffer initialization
>
> drivers/accel/amdxdna/Makefile | 1 +
> drivers/accel/amdxdna/aie.c | 79 ++++++
> drivers/accel/amdxdna/aie.h | 31 +++
> drivers/accel/amdxdna/aie2_ctx.c | 4 +-
> drivers/accel/amdxdna/aie2_error.c | 7 +-
> drivers/accel/amdxdna/aie2_message.c | 51 +---
> drivers/accel/amdxdna/aie2_pci.c | 54 +---
> drivers/accel/amdxdna/aie2_pci.h | 28 --
> drivers/accel/amdxdna/aie4_ctx.c | 333 ++++++++++++++++++++++++
> drivers/accel/amdxdna/aie4_host_queue.h | 24 ++
> drivers/accel/amdxdna/aie4_message.c | 55 ++++
> drivers/accel/amdxdna/aie4_msg_priv.h | 98 +++++++
> drivers/accel/amdxdna/aie4_pci.c | 310 +++++++++++++++++-----
> drivers/accel/amdxdna/aie4_pci.h | 37 ++-
> drivers/accel/amdxdna/amdxdna_ctx.c | 40 +++
> drivers/accel/amdxdna/amdxdna_ctx.h | 7 +-
> drivers/accel/amdxdna/amdxdna_gem.c | 5 +-
> drivers/accel/amdxdna/amdxdna_pci_drv.c | 25 +-
> drivers/accel/amdxdna/amdxdna_pci_drv.h | 4 +
> drivers/accel/amdxdna/npu3_regs.c | 25 +-
> include/uapi/drm/amdxdna_accel.h | 24 +-
> 21 files changed, 1042 insertions(+), 200 deletions(-)
> create mode 100644 drivers/accel/amdxdna/aie4_ctx.c
> create mode 100644 drivers/accel/amdxdna/aie4_host_queue.h
>