The following changes since commit ac9a78681b921877518763ba0e89202254349d1b: Linux 6.4-rc1 (2023-05-07 13:34:35 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-6.4-rc3 for you to fetch changes up to ddaf098ea779b3c1302c7843f6ff01e89b1fd380: driver core: class: properly reference count class_dev_iter() (2023-05-19 11:03:36 +0100) ---------------------------------------------------------------- USB/Thunderbolt fixes for 6.4-rc3 Here are some USB fixes for 6.4-rc3, as well as a driver core fix that resolves a memory leak that shows up in USB devices easier than other subsystems. Included in here are: - driver core memory leak as reported and tested by syzbot and developers - dwc3 driver fixes for reported problems - xhci driver fixes for reported problems - USB gadget driver reverts to resolve regressions - usbtmc driver fix for syzbot reported problem - thunderbolt driver fixes for reported issues - other small USB fixes All of these, except for the driver core fix, have been in linux-next with no reported problems. The driver core fix was tested and verified to solve the issue by syzbot and the original reporter. Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> ---------------------------------------------------------------- Alan Stern (1): USB: usbtmc: Fix direction for 0-length ioctl control messages Badhri Jagan Sridharan (1): usb: typec: altmodes/displayport: fix pin_assignment_show Dan Carpenter (1): usb: dwc3: fix a test for error in dwc3_core_init() Francesco Dolcini (2): Revert "usb: gadget: udc: core: Prevent redundant calls to pullup" Revert "usb: gadget: udc: core: Invoke usb_gadget_connect only when started" Greg Kroah-Hartman (2): Merge tag 'thunderbolt-for-v6.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt into usb-linus driver core: class: properly reference count class_dev_iter() Jó Ágila Bitsch (1): usb: gadget: drop superfluous ':' in doc string Konrad Gräfe (1): usb: gadget: u_ether: Fix host MAC address case Linyu Yuan (1): usb: dwc3: fix gadget mode suspend interrupt handler issue Mario Limonciello (2): thunderbolt: Clear registers properly when auto clear isn't in use xhci-pci: Only run d3cold avoidance quirk for s2idle Mathias Nyman (1): xhci: Fix incorrect tracking of free space on transfer rings Maxime Bizon (1): usb-storage: fix deadlock when a scsi command timeouts more than once Roger Quadros (2): usb: dwc3: gadget: Improve dwc3_gadget_suspend() and dwc3_gadget_resume() usb: typec: tps6598x: Fix fault at module removal Udipto Goswami (1): usb: dwc3: debugfs: Resume dwc3 before accessing registers Weitao Wang (1): USB: UHCI: adjust zhaoxin UHCI controllers OverCurrent bit value drivers/base/class.c | 2 + drivers/thunderbolt/nhi.c | 29 +++++- drivers/thunderbolt/nhi_regs.h | 2 + drivers/usb/class/usbtmc.c | 2 + drivers/usb/dwc3/core.c | 2 +- drivers/usb/dwc3/core.h | 2 + drivers/usb/dwc3/debugfs.c | 109 ++++++++++++++++++++++ drivers/usb/dwc3/gadget.c | 79 +++++++++------- drivers/usb/gadget/function/u_ether.c | 3 + drivers/usb/gadget/udc/core.c | 151 +++++++++---------------------- drivers/usb/host/uhci-pci.c | 10 +- drivers/usb/host/xhci-pci.c | 12 ++- drivers/usb/host/xhci-ring.c | 29 +++++- drivers/usb/host/xhci.h | 2 +- drivers/usb/storage/scsiglue.c | 28 ++++-- drivers/usb/typec/altmodes/displayport.c | 4 + drivers/usb/typec/tipd/core.c | 3 + include/linux/device/class.h | 1 + include/linux/usb/composite.h | 2 +- 19 files changed, 309 insertions(+), 163 deletions(-)