From: Niklas Neronin <niklas.neronin@linux.intel.com>
To: mathias.nyman@linux.intel.com
Cc: linux-usb@vger.kernel.org,
Niklas Neronin <niklas.neronin@linux.intel.com>
Subject: [PATCH 0/7] usb: xhci: command queueing cleanups
Date: Tue, 1 Dec 2026 20:41:27 +0100 [thread overview]
Message-ID: <20261201194134.265480-1-niklas.neronin@linux.intel.com> (raw)
This series cleans up xHCI command construction and queueing, removes
some command-specific special cases, and simplifies the Configure
Endpoint / Evaluate Context paths.
The final patch removes the command ring reservation for so-called
"must succeed" commands. There does not appear to be a documented
requirement for reserving command ring space for these commands, and a
full command ring already prevents further command progress. Removing
the reservation also eliminates the stream allocation limit that
depended on it.
Niklas Neronin (7):
usb: xhci: simplify xhci_get_input_control_ctx()
usb: xhci: add xhci_queue_set_deq() helper
usb: xhci: simplify prepare_ring()
usb: xhci: split Configure Endpoint and Evaluate Context handling
usb: xhci: clear EP_GETTING_NO_STREAMS when freeing streams fails
usb: xhci: remove pre-allocated free streams command
usb: xhci: remove command ring TRB reservation
drivers/usb/host/xhci-mem.c | 28 +--
drivers/usb/host/xhci-ring.c | 98 ++++-----
drivers/usb/host/xhci-trace.h | 10 +
drivers/usb/host/xhci.c | 387 +++++++++++++---------------------
drivers/usb/host/xhci.h | 14 +-
5 files changed, 202 insertions(+), 335 deletions(-)
--
2.50.1
next reply other threads:[~2026-12-01 19:41 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-01 19:41 Niklas Neronin [this message]
2026-12-01 19:41 ` [PATCH 1/7] usb: xhci: simplify xhci_get_input_control_ctx() Niklas Neronin
2026-12-01 19:47 ` sashiko-bot
2026-12-01 19:41 ` [PATCH 2/7] usb: xhci: add xhci_queue_set_deq() helper Niklas Neronin
2026-12-01 19:41 ` [PATCH 3/7] usb: xhci: simplify prepare_ring() Niklas Neronin
2026-12-01 19:41 ` [PATCH 4/7] usb: xhci: split Configure Endpoint and Evaluate Context handling Niklas Neronin
2026-12-01 19:41 ` [PATCH 5/7] usb: xhci: clear EP_GETTING_NO_STREAMS when freeing streams fails Niklas Neronin
2026-12-01 19:52 ` sashiko-bot
2026-12-01 19:41 ` [PATCH 6/7] usb: xhci: remove pre-allocated free streams command Niklas Neronin
2026-12-01 19:41 ` [PATCH 7/7] usb: xhci: remove command ring TRB reservation Niklas Neronin
2026-12-01 19:52 ` [PATCH 0/7] usb: xhci: command queueing cleanups sashiko-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=20261201194134.265480-1-niklas.neronin@linux.intel.com \
--to=niklas.neronin@linux.intel.com \
--cc=linux-usb@vger.kernel.org \
--cc=mathias.nyman@linux.intel.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 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.