Linux USB
 help / color / mirror / Atom feed
* [PATCH 0/7] usb: xhci: command queueing cleanups
@ 2026-12-01 19:41 Niklas Neronin
  2026-12-01 19:41 ` [PATCH 1/7] usb: xhci: simplify xhci_get_input_control_ctx() Niklas Neronin
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Niklas Neronin @ 2026-12-01 19:41 UTC (permalink / raw)
  To: mathias.nyman; +Cc: linux-usb, Niklas Neronin

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2026-12-01 19:52 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01 19:41 [PATCH 0/7] usb: xhci: command queueing cleanups Niklas Neronin
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox