From: sashiko-bot@kernel.org
To: "Rodrigo Vivi" <rodrigo.vivi@intel.com>, dri-devel@lists.freedesktop.org
Cc: intel-xe@lists.freedesktop.org
Subject: Re: [PATCH v6 1/3] drm/ras: Check the node type in node lookups
Date: Fri, 27 Nov 2026 18:24:46 +0000 [thread overview]
Message-ID: <sashiko-outbox-238067@kernel.org> (raw)
In-Reply-To: <20261127181750.806528-6-rodrigo.vivi@intel.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] drm/ras: missing Fixes trailer for node type check in
drm_ras_node_get()
--
commit 9258f81bad25ef1d7e2f5db2a77f4c65a38c081f
Author: Rodrigo Vivi <rodrigo.vivi@intel.com>
> drm/ras: Check the node type in node lookups
>
> drm_ras_node_get() returns a node of any type. The telemetry handlers
> check the type themselves, but the error-counter ones do not, so an
> error-counter operation on a telemetry node fails with -EOPNOTSUPP or
> walks its empty counter range, instead of reporting -ENOENT.
>
> Pass the expected type to drm_ras_node_get(), so a node of another
> type is not found, and drop the type checks of the telemetry handlers.
>
> Suggested-by: Riana Tauro <riana.tauro@intel.com>
> Acked-by: Zack McKevitt <zachary.mckevitt@oss.qualcomm.com>
> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
[Severity: Low]
Since commit c95c93b6e26c ("drm/drm_ras: Extend DRM RAS interface to
include telemetry nodes") allowed telemetry nodes in drm_ras_xa without
checking node->type in the error-counter handlers, should this include a
Fixes tag?
Fixes: c95c93b6e26c ("drm/drm_ras: Extend DRM RAS interface to include telemetry nodes")
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261127181750.806528-5-rodrigo.vivi@intel.com?part=1
next prev parent reply other threads:[~2026-11-27 18:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-27 18:17 [PATCH v6 0/3] drm/xe: Expose retired VRAM pages via drm-ras Rodrigo Vivi
2026-11-27 18:17 ` [PATCH v6 1/3] drm/ras: Check the node type in node lookups Rodrigo Vivi
2026-11-27 18:24 ` sashiko-bot [this message]
2026-11-27 18:17 ` [PATCH v6 2/3] drm/ras: Add retired-pages node type Rodrigo Vivi
2026-11-27 18:17 ` [PATCH v6 3/3] drm/xe: Expose retired VRAM pages via drm-ras Rodrigo Vivi
2026-11-27 18:27 ` ✗ CI.checkpatch: warning for drm/xe: Expose retired VRAM pages via drm-ras (rev6) Patchwork
2026-11-27 18:29 ` ✓ CI.KUnit: success " Patchwork
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=sashiko-outbox-238067@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=rodrigo.vivi@intel.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