public inbox for drm-ai-reviews@public-inbox.freedesktop.org
 help / color / mirror / Atom feed
From: Claude Code Review Bot <claude-review@example.com>
To: dri-devel-reviews@example.com
Subject: Claude review: drm/vkms: Backport generic vblank timer to fix ABBA deadlock
Date: Tue, 26 May 2026 07:07:30 +1000	[thread overview]
Message-ID: <review-overall-20260525131610.608273-1-w15303746062@163.com> (raw)
In-Reply-To: <20260525131610.608273-1-w15303746062@163.com>

Overall Series Review

Subject: drm/vkms: Backport generic vblank timer to fix ABBA deadlock
Author: w15303746062@163.com
Patches: 12
Reviewed: 2026-05-26T07:07:30.521650

---

This mbox contains two submissions from Mingyu Wang:

1. **A standalone patch** (May 15) — a minimal fix using `hrtimer_try_to_cancel()` to address an ABBA deadlock in the vkms vblank timer.
2. **A 5-patch series** (May 25) — cherry-picks of Thomas Zimmermann's mainline commits that backport the generic DRM vblank timer infrastructure to 6.18.y, replacing the custom vkms timer entirely.

The series is the correct approach, as confirmed by discussion with Greg KH and Maarten Lankhorst on the mailing list. The standalone patch was the earlier attempt that was superseded. The cherry-picks correspond to well-tested mainline commits with proper Reviewed-by/Tested-by tags.

**Positives:**
- The dependency chain is correctly ordered (infrastructure first, conversion second, followup fixes last).
- Each patch has a proper mainline commit reference for traceability.
- The series resolves a real syzkaller-found ABBA deadlock between `vblank_time_lock` and the hrtimer callback.
- The code in drm-next confirms these exact changes already landed upstream.

**Concerns:**
- This is a substantial amount of new infrastructure for a stable backport (~470 lines added). While the maintainers approved this approach, it carries more regression risk than the minimal fix.
- The series was noted as not applying cleanly to drm-next (expected, since drm-next already has these commits), but the submitter claims it applies cleanly to 6.18.y — this should be verified by the stable maintainers.
- Minor process note: the backporter (Mingyu Wang) does not add their own Signed-off-by on the cherry-picked patches, which is conventional for `git cherry-pick -x` but some stable trees expect an explicit sign-off from the submitter.

**Verdict:** The series looks technically correct as a faithful backport of mainline commits. Acceptable for 6.18.y stable if it applies cleanly there.

---

---
Generated by Claude Code Patch Reviewer

  parent reply	other threads:[~2026-05-25 21:07 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-15 13:18 [PATCH 6.18.y] drm/vkms: Fix ABBA deadlock in vblank disable and timer callback w15303746062
2026-05-15 15:09 ` Greg KH
2026-05-16  2:43   ` w15303746062
2026-05-16  9:51     ` Greg KH
2026-05-18  2:22       ` w15303746062
2026-05-25  8:55         ` Maarten Lankhorst
2026-05-25 13:16           ` [PATCH 6.18.y 0/5] drm/vkms: Backport generic vblank timer to fix ABBA deadlock w15303746062
2026-05-25 13:16             ` [PATCH 6.18.y 1/5] drm/vblank: Add vblank timer w15303746062
2026-05-25 13:16             ` [PATCH 6.18.y 2/5] drm/vblank: Add CRTC helpers for simple use cases w15303746062
2026-05-25 13:16             ` [PATCH 6.18.y 3/5] drm/vkms: Convert to DRM's vblank timer w15303746062
2026-05-25 13:16             ` [PATCH 6.18.y 4/5] drm/atomic: Increase timeout in drm_atomic_helper_wait_for_vblanks() w15303746062
2026-05-25 13:16             ` [PATCH 6.18.y 5/5] drm/vblank: Fix kernel docs for vblank timer w15303746062
2026-05-25 21:07             ` Claude Code Review Bot [this message]
2026-05-25 21:07         ` Claude review: Re:Re: Re: [PATCH 6.18.y] drm/vkms: Fix ABBA deadlock in vblank disable and timer callback Claude Code Review Bot
2026-05-25 21:07       ` Claude review: " Claude Code Review Bot
2026-05-25 21:07     ` Claude review: " Claude Code Review Bot
2026-05-25 21:07   ` Claude review: " Claude Code Review Bot
2026-05-15 23:05 ` Claude review: " Claude Code Review Bot
2026-05-15 23:05 ` Claude Code Review Bot
  -- strict thread matches above, loose matches on Subject: below --
2026-05-26 13:31 [PATCH v2 6.18.y 0/5] drm/vkms: Backport generic vblank timer to fix ABBA deadlock w15303746062
2026-05-27  4:49 ` 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-20260525131610.608273-1-w15303746062@163.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