All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@kernel.org
To: linux-usb@vger.kernel.org
Subject: [Bug 218890] reset SuperSpeed USB device number 2 using xhci_hcd
Date: Wed, 29 May 2024 15:39:04 +0000	[thread overview]
Message-ID: <bug-218890-208809-ljL7VkHudB@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-218890-208809@https.bugzilla.kernel.org/>

https://bugzilla.kernel.org/show_bug.cgi?id=218890

--- Comment #9 from Mathias Nyman (mathias.nyman@linux.intel.com) ---
Traces show xhci driver sets the length of the cancelled 512 byte bulk transfer 
incorrectly.

I'll attach a patch for that.

The 255 byte control transfer case is not that clear.
It stops on the data stage with a 'stopped' completion code, with 'len' field
indicating residual untransferred bytes is 0.

 827.939738: xhci_handle_event: EVENT: TRB 00000001511921e0 status 'Stopped'
len 0 slot 2 ep 1 type 'Transfer Event' flags e:c

 827.939747: xhci_handle_transfer: CTRL: Buffer 00000001023cff00 length 255 TD
size 0 intr 0 type 'Data Stage' flags i:i:c:s:I:e:C

It's also unclear why these transfers don't go through

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

  parent reply	other threads:[~2024-05-29 15:39 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-25 10:02 [Bug 218890] New: reset SuperSpeed USB device number 2 using xhci_hcd bugzilla-daemon
2024-05-25 13:54 ` [Bug 218890] " bugzilla-daemon
2024-05-28  0:19 ` bugzilla-daemon
2024-05-28  1:08 ` bugzilla-daemon
2024-05-28  9:02 ` bugzilla-daemon
2024-05-29 10:40 ` bugzilla-daemon
2024-05-29 11:38 ` bugzilla-daemon
2024-05-29 11:39 ` bugzilla-daemon
2024-05-29 11:46 ` bugzilla-daemon
2024-05-29 15:39 ` bugzilla-daemon [this message]
2024-05-29 15:42 ` bugzilla-daemon
2024-05-30 11:44 ` bugzilla-daemon
2024-05-30 15:20 ` bugzilla-daemon
2024-05-30 15:28 ` bugzilla-daemon
2024-05-30 17:08 ` bugzilla-daemon
2024-05-30 19:03   ` Alan Stern
2024-05-31  1:44     ` Martin K. Petersen
2024-05-31  8:39       ` Pierre Tomon
2024-06-04 12:49         ` Mathias Nyman
2024-06-04 14:45         ` [PATCH] scsi: sd: Use READ(16) when reading block zero on large capacity disks Martin K. Petersen
2024-06-04 14:49           ` Alan Stern
2024-06-04 17:00           ` Bart Van Assche
2024-06-04 17:30             ` Martin K. Petersen
2024-06-05  2:25             ` [PATCH v2] " Martin K. Petersen
2024-06-05 19:15               ` Bart Van Assche
2024-05-30 18:55 ` [Bug 218890] reset SuperSpeed USB device number 2 using xhci_hcd bugzilla-daemon
2024-06-20 13:56 ` bugzilla-daemon
2024-06-21 19:53 ` bugzilla-daemon

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=bug-218890-208809-ljL7VkHudB@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@kernel.org \
    --cc=linux-usb@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.