From: sashiko-bot@kernel.org
To: "Lizhi Hou" <lizhi.hou@amd.com>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH V1] accel/amdxdna: Add support for AIE2 revision 9
Date: Tue, 29 Sep 2026 18:04:11 +0000 [thread overview]
Message-ID: <20260929180412.121351F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260929175428.925657-1-lizhi.hou@amd.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] amdxdna: missing sysfs string mapping for AIE2_DEV_REVISION_GRGH
--
commit b3b57d80604172a34fe04c44b6e2dfb08e2fd5da
Author: Lizhi Hou <lizhi.hou@amd.com>
accel/amdxdna: Add support for AIE2 revision 9
This commit adds AIE2_DEV_REVISION_GRGH to the list of supported AIE2
revisions so aie2_get_dev_revision() can recognize AIE2 revision 9 hardware.
> diff --git a/drivers/accel/amdxdna/aie2_msg_priv.h b/drivers/accel/amdxdna/aie2_msg_priv.h
> index fd65a4236d491..8ed2b5701dcc2 100644
> --- a/drivers/accel/amdxdna/aie2_msg_priv.h
> +++ b/drivers/accel/amdxdna/aie2_msg_priv.h
> @@ -530,6 +530,7 @@ enum aie2_dev_revision {
> AIE2_DEV_REVISION_GPT1,
> AIE2_DEV_REVISION_GPT2,
> AIE2_DEV_REVISION_GPT3,
> + AIE2_DEV_REVISION_GRGH,
[Severity: Medium]
Does AIE2_DEV_REVISION_GRGH also need to be added to the npu4_rev_vbnv_tbl
mapping array?
drivers/accel/amdxdna/npu4_regs.c:npu4_rev_vbnv_tbl[] {
...
{ AIE2_DEV_REVISION_GPT2, "NPU Gorgon Point 2" },
{ AIE2_DEV_REVISION_GPT3, "NPU Gorgon Point 3" },
{ 0 }
};
If it is omitted, when the sysfs 'vbnv' node is accessed for GRGH devices,
amdxdna_update_vbnv() fails to find a matching entry. This causes the driver
to fall back to a generic default string ('RyzenAI-npu4'), exposing an
inaccurate or missing specific board name to userspace.
> AIE2_DEV_REVISION_UNKN,
> };
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260929175428.925657-1-lizhi.hou@amd.com?part=1
prev parent reply other threads:[~2026-09-29 18:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-29 17:54 [PATCH V1] accel/amdxdna: Add support for AIE2 revision 9 Lizhi Hou
2026-09-29 17:54 ` Mario Limonciello
2026-09-29 18:04 ` sashiko-bot [this message]
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=20260929180412.121351F000FF@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=lizhi.hou@amd.com \
--cc=sashiko-reviews@lists.linux.dev \
/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