From: Claude Code Review Bot <claude-review@example.com>
To: dri-devel-reviews@example.com
Subject: Claude review: Introduce error threshold to drm_ras
Date: Fri, 05 Jun 2026 06:10:07 +1000 [thread overview]
Message-ID: <review-overall-20260604184849.1011985-1-raag.jadav@intel.com> (raw)
In-Reply-To: <20260604184849.1011985-1-raag.jadav@intel.com>
Overall Series Review
Subject: Introduce error threshold to drm_ras
Author: Raag Jadav <raag.jadav@intel.com>
Patches: 5
Reviewed: 2026-06-05T06:10:07.157843
---
This 4-patch series adds error threshold get/set support to the DRM RAS netlink infrastructure (patch 1), adds system controller mailbox-based error counter support for the Xe driver (patch 2), adds threshold get/set via the system controller mailbox (patch 3), and wires the threshold callbacks into the Xe DRM RAS nodes (patch 4).
The architecture is clean and follows the existing patterns well. The core drm_ras threshold code mirrors the existing counter code closely. However, there are several issues worth addressing:
**Major concerns:**
- Patch 4 only wires up threshold callbacks for correctable errors, not uncorrectable — this is asymmetric and unexplained.
- The `get_counter` response includes a `threshold` field but patch 2 never uses it, and patch 3 introduces a separate `GET_THRESHOLD` command — the relationship between these two is unclear.
- The `get_counter` function in patch 2 doesn't check `response.status` unlike `clear_counter` and `set_threshold`, which is inconsistent.
**Minor concerns:**
- Mixed initialization styles (`= {0}` in patch 2 vs `= {}` in patch 3).
- Patch 2 is marked "Do not review, CI only" but it's a dependency for the rest of the series and contains reviewable code that introduces new UAPI.
---
---
Generated by Claude Code Patch Reviewer
next prev parent reply other threads:[~2026-06-04 20:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-04 18:46 [PATCH v3 0/4] Introduce error threshold to drm_ras Raag Jadav
2026-06-04 18:46 ` [PATCH v3 1/4] drm/ras: Introduce error threshold Raag Jadav
2026-06-04 20:10 ` Claude review: " Claude Code Review Bot
2026-06-04 18:46 ` [PATCH v3 2/4] drm/xe/xe_ras: Add support for error counter Raag Jadav
2026-06-04 20:10 ` Claude review: " Claude Code Review Bot
2026-06-04 18:46 ` [PATCH v3 3/4] drm/xe/ras: Add support for error threshold Raag Jadav
2026-06-04 20:10 ` Claude review: " Claude Code Review Bot
2026-06-04 18:46 ` [PATCH v3 4/4] drm/xe/drm_ras: Wire up error threshold callbacks Raag Jadav
2026-06-04 20:10 ` Claude review: " Claude Code Review Bot
2026-06-04 20:10 ` Claude Code Review Bot [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-05-12 19:16 [PATCH v2 0/9] Introduce error threshold to drm_ras Raag Jadav
2026-05-16 2:54 ` Claude review: " Claude Code Review Bot
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=review-overall-20260604184849.1011985-1-raag.jadav@intel.com \
--to=claude-review@example.com \
--cc=dri-devel-reviews@example.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