From: David Zhang <yidong.zhang@amd.com>
To: <quic_jhugo@quicinc.com>, <karol.wachowski@linux.intel.com>,
<max.zhen@amd.com>, <lizhi.hou@amd.com>, <ogabbay@kernel.org>,
<dri-devel@lists.freedesktop.org>, <linux-kernel@vger.kernel.org>
Cc: David Zhang <yidong.zhang@amd.com>, <sonal.santan@amd.com>,
<mario.limonciello@amd.com>
Subject: [PATCH V1 0/4] accel/amdxdna: Add AIE4 async events and TDR
Date: Sun, 29 Nov 2026 17:40:34 -0800 [thread overview]
Message-ID: <20261130014038.712239-1-yidong.zhang@amd.com> (raw)
In-Reply-To: <yidong.zhang@amd.com>
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
next reply other threads:[~2026-11-30 1:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 1:40 David Zhang [this message]
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:40 ` [PATCH V1 4/4] accel/amdxdna: Recover hung AIE4 contexts David 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=20261130014038.712239-1-yidong.zhang@amd.com \
--to=yidong.zhang@amd.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=karol.wachowski@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lizhi.hou@amd.com \
--cc=mario.limonciello@amd.com \
--cc=max.zhen@amd.com \
--cc=ogabbay@kernel.org \
--cc=quic_jhugo@quicinc.com \
--cc=sonal.santan@amd.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
all inboxes | Powered by JetHome®