Re: [PATCH 2/4] usb-serial: chunk data to wMaxPacketSize

2020-03-13 Thread Samuel Thibault
Jason Andryuk, le jeu. 12 mars 2020 08:55:21 -0400, a ecrit: > usb-serial has issues with xHCI controllers where data is lost in the > VM. Inspecting the URBs in the guest, EHCI starts every 64 byte boundary > (wMaxPacketSize) with a header. EHCI hands packets into > usb_serial_token_in() with

[PATCH 2/4] usb-serial: chunk data to wMaxPacketSize

2020-03-12 Thread Jason Andryuk
usb-serial has issues with xHCI controllers where data is lost in the VM. Inspecting the URBs in the guest, EHCI starts every 64 byte boundary (wMaxPacketSize) with a header. EHCI hands packets into usb_serial_token_in() with size 64, so these cannot cross the 64 byte boundary. The xHCI