The following changes since commit d6d5df1db6e9d7f8f76d2911707f7d5877251b02: Linux 5.4-rc5 (2019-10-27 13:19:19 -0400) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-5.4-rc6 for you to fetch changes up to d8eca64eec7103ab1fbabc0a187dbf6acfb2af93: usb: dwc3: gadget: fix race when disabling ep with cancelled xfers (2019-10-31 18:57:54 +0100) ---------------------------------------------------------------- USB fixes for 5.4-rc6 The USB sub-maintainers woke up this past week and sent a bunch of tiny fixes. Here are a lot of small patches that that resolve a bunch of reported issues in the USB core, drivers, serial drivers, gadget drivers, and of course, xhci :) All of these have been in linux-next with no reported issues. Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> ---------------------------------------------------------------- Alan Stern (4): USB: Skip endpoints with 0 maxpacket length usb-storage: Revert commit 747668dbc061 ("usb-storage: Set virt_boundary_mask to avoid SG overflows") UAS: Revert commit 3ae62a42090f ("UAS: fix alignment of scatter/gather segments") USB: gadget: Reject endpoints with 0 maxpacket value Arnd Bergmann (1): usb: dwc3: select CONFIG_REGMAP_MMIO Ben Dooks (Codethink) (5): usb: mtu3: fix missing include of mtu3_dr.h usb: cdns3: include host-export,h for cdns3_host_init usb: renesas_usbhs: fix __le16 warnings usb: renesas_usbhs: fix type of buf usb: xhci: fix __le32/__le64 accessors in debugfs code Chandana Kishori Chiluveru (1): usb: gadget: composite: Fix possible double free memory bug Cristian Birsan (1): usb: gadget: udc: atmel: Fix interrupt storm in FIFO mode. Felipe Balbi (1): usb: dwc3: gadget: fix race when disabling ep with cancelled xfers Greg Kroah-Hartman (1): Merge tag 'fixes-for-v5.4-rc5' of git://git.kernel.org/.../balbi/usb into usb-linus GwanYeong Kim (1): usbip: tools: Fix read_usb_vudc_device() error path handling Johan Hovold (5): USB: ldusb: fix ring-buffer locking USB: ldusb: use unsigned size format specifiers USB: ldusb: fix control-message timeout USB: serial: whiteheat: fix potential slab corruption USB: serial: whiteheat: fix line-speed endianness Mathias Nyman (1): xhci: Fix use-after-free regression in xhci clear hub TT implementation Navid Emamdoost (1): usb: dwc3: pci: prevent memory leak in dwc3_pci_probe Nikhil Badola (1): usb: fsl: Check memory resource before releasing it Peter Chen (1): usb: gadget: configfs: fix concurrent issue between composite APIs Roger Quadros (2): usb: cdns3: gadget: Don't manage pullups usb: cdns3: gadget: Fix g_audio use case when connected to Super-Speed host Samuel Holland (1): usb: xhci: fix Immediate Data Transfer endianness Sanket Parmar (1): usb: cdns3: gadget: reset EP_CLAIMED flag while unloading Suwan Kim (1): usbip: Fix free of unallocated memory in vhci tx Yinbo Zhu (1): usb: dwc3: remove the call trace of USBx_GFLADJ Yoshihiro Shimoda (2): usb: gadget: udc: renesas_usb3: Fix __le16 warnings usb: renesas_usbhs: Fix warnings in usbhsg_recip_handler_std_set_device() drivers/usb/cdns3/gadget.c | 37 ++++++--- drivers/usb/cdns3/host-export.h | 1 - drivers/usb/cdns3/host.c | 1 + drivers/usb/core/config.c | 5 ++ drivers/usb/dwc3/Kconfig | 1 + drivers/usb/dwc3/core.c | 3 +- drivers/usb/dwc3/dwc3-pci.c | 2 +- drivers/usb/dwc3/gadget.c | 6 ++ drivers/usb/gadget/composite.c | 4 + drivers/usb/gadget/configfs.c | 110 +++++++++++++++++++++++++-- drivers/usb/gadget/udc/atmel_usba_udc.c | 6 +- drivers/usb/gadget/udc/core.c | 11 +++ drivers/usb/gadget/udc/fsl_udc_core.c | 2 +- drivers/usb/gadget/udc/renesas_usb3.c | 11 +-- drivers/usb/host/xhci-debugfs.c | 24 +++--- drivers/usb/host/xhci-ring.c | 2 + drivers/usb/host/xhci.c | 54 ++++++++++--- drivers/usb/misc/ldusb.c | 13 ++-- drivers/usb/mtu3/mtu3_core.c | 1 + drivers/usb/renesas_usbhs/common.c | 12 +-- drivers/usb/renesas_usbhs/mod_gadget.c | 4 +- drivers/usb/serial/whiteheat.c | 13 +++- drivers/usb/serial/whiteheat.h | 2 +- drivers/usb/storage/scsiglue.c | 10 --- drivers/usb/storage/uas.c | 20 ----- drivers/usb/usbip/vhci_tx.c | 3 + tools/usb/usbip/libsrc/usbip_device_driver.c | 6 +- 27 files changed, 267 insertions(+), 97 deletions(-)