Skip to content

usb: host-libusb and xhci fixes

Hans de Goede qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7usb-host-libusb: Fix reset handlinghw/usb/host-libusb.c+4 -60 replies
2/7usb-host-libusb: Configuration 0 may be a valid configurationhw/usb/host-libusb.c+4 -50 replies
3/7usb-host-libusb: Detach kernel drivers earlierhw/usb/host-libusb.c+5 -20 replies
4/7usb-hcd-xhci: Remove unused sstreamsm member from XHCIStreamContexthw/usb/hcd-xhci.c+0 -82 replies
5/7usb-hcd-xhci: Remove unused cancelled member from XHCITransferhw/usb/hcd-xhci.c+0 -50 replies
6/7usb-hcd-xhci: Report completion of active transfer with CC_STOPPED on ep stophw/usb/hcd-xhci.c+17 -80 replies
7/7usb-hcd-xhci: Update endpoint context dequeue pointer for streams toohw/usb/hcd-xhci.c+8 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/7] usb: host-libusb and xhci fixes

Hi Gerd,

Here is a set of fixes for host-libusb and xhci, mostly the result of me working on adding support for streams to qemu's host redirection code (and libusb and usbfs in the kernel).

I've this almost all working now. The 2 xhci fixes fixup error handling when the real uasp device I have errors out on some scsi command during probing which it does not like, with this fixed I can boot up a vm and use some data on the disk without any glitches.

Currently the handover from host -> guest does not work well though, I need to blacklist the host drivers so that the guest gets a pristine state device, but I believe I know how I can fix this now ...

Anyways these patches fix various generic issues, so please apply. I hope to have a patchset actually adding stream redirection soon.

Regards,

Hans