All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V1 0/4] accel/amdxdna: Add AIE4 async events and TDR
@ 2026-11-30  1:40 David Zhang
  2026-11-30  1:40 ` [PATCH V1 1/4] accel/amdxdna: Add AIE4 async event buffers David Zhang
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: David Zhang @ 2026-11-30  1:40 UTC (permalink / raw)
  To: quic_jhugo, karol.wachowski, max.zhen, lizhi.hou, ogabbay,
	dri-devel, linux-kernel
  Cc: David Zhang, sonal.santan, mario.limonciello

This series adds AIE4 async event handling and timeout detection and
recovery (TDR) for AIE4 hardware contexts.

- Register AIE4 async event buffers with firmware.
- Reset an AIE4 context on a context error reported by firmware, and
  keep the last one for the last async error query.
- Handle AIE4 firmware notifications, which report the context errors
  that have no async event buffer, including all errors on a VF.
- Recover hung AIE4 contexts, detected the way AIE2 detects TDR;
  raise the job timeout to 10s.

This series applies on top of drm-misc-next.

David Zhang (3):
  accel/amdxdna: Add AIE4 async event buffers
  accel/amdxdna: Add AIE4 context recovery
  accel/amdxdna: Recover hung AIE4 contexts

Nishad Saraf (1):
  accel/amdxdna: Handle AIE4 firmware notifications

 drivers/accel/amdxdna/Makefile          |   1 +
 drivers/accel/amdxdna/aie4_ctx.c        | 310 ++++++++++---
 drivers/accel/amdxdna/aie4_error.c      | 558 ++++++++++++++++++++++++
 drivers/accel/amdxdna/aie4_message.c    |  59 ++-
 drivers/accel/amdxdna/aie4_msg_priv.h   | 111 +++++
 drivers/accel/amdxdna/aie4_pci.c        | 162 ++++---
 drivers/accel/amdxdna/aie4_pci.h        |  69 ++-
 drivers/accel/amdxdna/amdxdna_ctx.h     |   1 +
 drivers/accel/amdxdna/amdxdna_error.h   |  10 +
 drivers/accel/amdxdna/amdxdna_mailbox.c |  18 +
 drivers/accel/amdxdna/amdxdna_mailbox.h |  17 +
 11 files changed, 1179 insertions(+), 137 deletions(-)
 create mode 100644 drivers/accel/amdxdna/aie4_error.c


base-commit: 5ce32a0c94a827ff44ee60898c28060714dcff75
-- 
2.34.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-11-30  1:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30  1:40 [PATCH V1 0/4] accel/amdxdna: Add AIE4 async events and TDR David Zhang
2026-11-30  1:40 ` [PATCH V1 1/4] accel/amdxdna: Add AIE4 async event buffers David Zhang
2026-11-30  1:40 ` [PATCH V1 2/4] accel/amdxdna: Add AIE4 context recovery David Zhang
2026-11-30  1:40 ` [PATCH V1 3/4] accel/amdxdna: Handle AIE4 firmware notifications David Zhang
2026-11-30  1:48   ` sashiko-bot
2026-11-30  1:40 ` [PATCH V1 4/4] accel/amdxdna: Recover hung AIE4 contexts David Zhang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.