Linux USB
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Michal Pecio" <michal.pecio@gmail.com>
Cc: linux-usb@vger.kernel.org
Subject: Re: [PATCH v2] usb: xhci: Work around the ASM3142 bulk UVC bug
Date: Wed, 02 Dec 2026 10:39:28 +0000	[thread overview]
Message-ID: <sashiko-outbox-245485@kernel.org> (raw)
In-Reply-To: <20261202113051.7587a314.michal.pecio@gmail.com>

> ASM3142 occasionally generates no event for a single-TRB bulk TD which
> is directly followed by a Link TRB. This affects USB3 UVC devices and
> makes them stop streaming within a few seconds with logs like:
> 
>   Event dma 0xffe5e000 for ep 6 comp_code 1 not part of TD at ffd0cfe0 - ffd0cfe0
>   Event dma 0xffe5e010 for ep 6 comp_code 1 not part of TD at ffd0cfe0 - ffd0cfe0
>   Event dma 0xffe5e020 for ep 6 comp_code 1 not part of TD at ffd0cfe0 - ffd0cfe0
>   Event dma 0xffe5e030 for ep 6 comp_code 1 not part of TD at ffd0cfe0 - ffd0cfe0
> 
> Only one line appears if the Link TRB toggles cycle; it seems that the
> HC fails to toggle its cycle state and stops processing queued TDs, but
> it ignores cycle of the first TRB in the segment and produces an event.
> If subsequent TRBs are stale and match the wrong cycle state, the whole
> ring is executed again - reliably triggered by keeping 2 URBs queued.
> 
> [ ... ]
> 
> Reported-and-tested-by: Alfie Frost <alfie@nightmail.uk>
> Closes: https://bugzilla.kernel.org/show_bug.cgi?id=222328
> Cc: stable@vger.kernel.org
> Signed-off-by: Michal Pecio <michal.pecio@gmail.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261202113051.7587a314.michal.pecio@gmail.com?part=1

      reply	other threads:[~2026-12-02 10:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02  9:12 [PATCH] usb: xhci: Work around the ASM3142 bulk UVC bug Michal Pecio
2026-12-02  9:21 ` sashiko-bot
2026-12-02 10:30 ` [PATCH v2] " Michal Pecio
2026-12-02 10:39   ` 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=sashiko-outbox-245485@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=michal.pecio@gmail.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