This adds support for isoc endpoints to gadget zero, and for super speed isoc endpoints to the usbtest module. We have used something similar to this for testing our super speed device and host controllers, but it would be easier (and require less support) to have this in the mainline kernel. I have tested this with the Synopsys device and host, at high speed and super speed. It still needs testing with a UDC that doesn't support super speed or isoc, to make sure the simple case is not broken. V2 fixes a panic when the USB cable is pulled while transfers are still active. It also changes the loop count in source_sink_start_ep() from 4 to 8, so isoc transfers will work when using the dwc3 device controller. V3: Remove changes to gzero's bulk ep bMaxBurst value. Split two non-isoc fixes for usbtest into a separate patch. Do not modify default usbtest parameters for gzero target unless 'need_iso' command-line switch is given. Paul Zimmerman (3): usb: gadget: add isochronous support to gadget zero usb: usbtest: two super speed fixes for usbtest usb: usbtest: add super speed isoc support to usbtest drivers/usb/gadget/f_loopback.c | 4 +- drivers/usb/gadget/f_sourcesink.c | 413 ++++++++++++++++++++++++++++++++----- drivers/usb/gadget/g_zero.h | 5 +- drivers/usb/gadget/zero.c | 19 ++- drivers/usb/misc/usbtest.c | 69 +++++-- 5 files changed, 426 insertions(+), 84 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html