Re: [PATCH 0/6] xHCI: endpoint state maintainability and small fixes

From: Mathias Nyman
Date: Tue Mar 11 2025 - 11:46:25 EST


On 10.3.2025 10.36, Michal Pecio wrote:
These patches are mostly independent, except
- 2/6 depends on 1/6
- 6/6 depends on 4/5 and 5/6

It is assumed that issues with EP_STALLED are resolved like below.

They document assumptions currently made by xhci_urb_dequeue() and
xhci_handle_cmd_stop_ep() and clean up this code a little to make it
more maintainable.

Some potential issues with no known significant impact are fixed.
I haven't tagged them for stable. Maybe 5/6 could go, just in case?

Michal

I'll send a small fixup series to Greg for usb-next (6.15).

We are getting late in the cycle so I'll try to keep is as short as
possible. I'll cherry-pick 4/6 and 5/6 from this series to it.
Thanks
Mathias