[GIT PULL] USB driver fixes for 4.14-rc4
From: Greg KH
Date: Tue Oct 03 2017 - 08:21:19 EST
The following changes since commit 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e:
Linux 4.14-rc1 (2017-09-16 15:47:51 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.14-rc4
for you to fetch changes up to 80c82ffebd2ec3f91a2daa24b561392de7fda895:
Merge tag 'fixes-for-v4.14-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb into usb-linus (2017-09-29 10:25:46 +0200)
----------------------------------------------------------------
USB fixes for 4.14-rc4
Here are a number of USB fixes for 4.14-rc4 to resolved reported issue.
There's a bunch of stuff in here based on the great work Andrey
Konovalov is doing in fuzzing the USB stack. Lots of bug fixes when
dealing with corrupted USB descriptors that we've never seen in "normal"
operation, but is now ensuring the stack is much more hardened overall.
There's also the usual XHCI and gadget driver fixes as well, and a build
error fix, and a few other minor things, full details in the shortlog.
All of these have been in linux-next with no reported issues.
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
----------------------------------------------------------------
Adam Wallis (1):
usb: host: xhci-plat: allow sysdev to inherit from ACPI
Alan Stern (9):
usb-storage: fix bogus hardware error messages for ATA pass-thru devices
usb-storage: unusual_devs entry to fix write-access regression for Seagate external drives
USB: uas: fix bug in handling of alternate settings
USB: gadgetfs: fix copy_to_user while holding spinlock
USB: gadgetfs: Fix crash caused by inadequate synchronization
USB: g_mass_storage: Fix deadlock when driver is unbound
USB: dummy-hcd: fix connection failures (wrong speed)
USB: dummy-hcd: fix infinite-loop resubmission bug
USB: dummy-hcd: Fix erroneous synchronization change
Andrey Konovalov (2):
uwb: ensure that endpoint is interrupt
uwb: properly check kthread_run return value
Arnd Bergmann (1):
usb: gadget: dummy: fix nonsensical comparisons
Baolin Wang (1):
usb: dwc3: of-simple: Add compatible for Spreadtrum SC9860 platform
Bjørn Mork (1):
USB: cdc-wdm: ignore -EPIPE from GetEncapsulatedResponse
Dan Carpenter (2):
USB: devio: Prevent integer overflow in proc_do_submiturb()
USB: devio: Don't corrupt user memory
Dmitry Fleytman (1):
usb: Increase quirk delay for USB devices
Felipe Balbi (1):
usb: dwc3: ep0: fix DMA starvation by assigning req->trb on ep0
Greg Kroah-Hartman (4):
USB: fix out-of-bounds in usb_set_configuration
Merge tag 'fixes-for-v4.14-rc2' of git://git.kernel.org/.../balbi/usb into usb-linus
USB: core: harden cdc_parse_cdc_header
Merge tag 'fixes-for-v4.14-rc3' of git://git.kernel.org/.../balbi/usb into usb-linus
Jim Dickerson (1):
usb: pci-quirks.c: Corrected timeout values used in handshake
John Keeping (1):
usb: gadget: ffs: handle I/O completion in-order
Kai-Heng Feng (1):
Revert "xhci: Limit USB2 port wake support for AMD Promontory hosts"
Lu Baolu (1):
usb: xhci: Free the right ring in xhci_add_endpoint()
Mathias Nyman (4):
xhci: fix finding correct bus_state structure for USB 3.1 hosts
xhci: fix wrong endpoint ESIT value shown in tracing
xhci: Fix sleeping with spin_lock_irq() held in ASmedia 1042A workaround
xhci: set missing SuperSpeedPlus Link Protocol bit in roothub descriptor
Nicolas Ferre (1):
usb: gadget: udc: atmel: set vbus irqflags explicitly
Randy Dunlap (1):
usb: gadget: udc: fix snps_udc_plat.c build errors
Roger Quadros (1):
usb: gadget: core: fix ->udc_set_speed() logic
Yoshihiro Shimoda (6):
usb: gadget: function: printer: avoid spinlock recursion
usb: gadget: udc: renesas_usb3: fix for no-data control transfer
usb: gadget: udc: renesas_usb3: fix Pn_RAMMAP.Pn_MPKT value
usb: gadget: udc: renesas_usb3: Fix return value of usb3_write_pipe()
usb: renesas_usbhs: fix the BCLR setting condition for non-DCP pipe
usb: renesas_usbhs: fix usbhsf_fifo_clear() for RX direction
drivers/usb/class/cdc-wdm.c | 4 +-
drivers/usb/core/config.c | 16 +++++--
drivers/usb/core/devio.c | 11 ++++-
drivers/usb/core/hub.c | 2 +-
drivers/usb/core/message.c | 4 ++
drivers/usb/dwc3/dwc3-of-simple.c | 1 +
drivers/usb/dwc3/ep0.c | 7 +++
drivers/usb/gadget/function/f_fs.c | 17 ++++++--
drivers/usb/gadget/function/f_mass_storage.c | 27 +++---------
drivers/usb/gadget/function/f_mass_storage.h | 14 ------
drivers/usb/gadget/function/f_printer.c | 7 ++-
drivers/usb/gadget/function/u_fs.h | 1 +
drivers/usb/gadget/legacy/inode.c | 46 +++++++++++++++++---
drivers/usb/gadget/legacy/mass_storage.c | 26 ++---------
drivers/usb/gadget/udc/Kconfig | 1 +
drivers/usb/gadget/udc/atmel_usba_udc.c | 4 +-
drivers/usb/gadget/udc/core.c | 3 +-
drivers/usb/gadget/udc/dummy_hcd.c | 65 +++++++++++++++++++++++-----
drivers/usb/gadget/udc/renesas_usb3.c | 19 ++++++--
drivers/usb/host/pci-quirks.c | 10 ++---
drivers/usb/host/xhci-hub.c | 14 ++++--
drivers/usb/host/xhci-pci.c | 12 -----
drivers/usb/host/xhci-plat.c | 16 ++++---
drivers/usb/host/xhci.c | 3 +-
drivers/usb/host/xhci.h | 10 +++--
drivers/usb/renesas_usbhs/fifo.c | 21 +++++++--
drivers/usb/storage/transport.c | 14 +++++-
drivers/usb/storage/uas-detect.h | 15 ++++---
drivers/usb/storage/uas.c | 10 ++---
drivers/usb/storage/unusual_devs.h | 7 +++
drivers/uwb/hwa-rc.c | 2 +
drivers/uwb/uwbd.c | 12 +++--
include/uapi/linux/usb/ch9.h | 1 +
33 files changed, 277 insertions(+), 145 deletions(-)