Skip to content

USB: a bunch of llm-found fixes

Greg Kroah-Hartman linux-usb lkml 1 version In review

Get series with b4
b4 am [email protected] change-id 20261027-llm-usb-e06293a1d353

Versions newest first

  1. v1 Latest19 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19usb: core: sysfs: take the port lock to read the BOSdrivers/usb/core/hub.c drivers/usb/core/sysfs.c drivers/usb/core/usb.h+39 -01 reply
2/19USB: core: signal the end of an sg request lastdrivers/usb/core/message.c+25 -111 reply
3/19usbip: vudc: free the unlink item if the send failsdrivers/usb/usbip/vudc_tx.c+1 -10 replies
4/19usb: host: oxu210hp-hcd: fix oxu_qh_alloc() deadlockdrivers/usb/host/oxu210hp-hcd.c+13 -100 replies
5/19usb: cdns3: switch the role unlocked on resumedrivers/usb/cdns3/cdns3-plat.c drivers/usb/cdns3/core.c drivers/usb/cdns3/core.h+43 -230 replies
6/19usb: gadget: snps_udc_plat: lock out the interruptdrivers/usb/gadget/udc/snps_udc_plat.c+4 -41 reply
7/19usb: gadget: bdc: the resume callback is optionaldrivers/usb/gadget/udc/bdc/bdc_udc.c+2 -10 replies
8/19usb: gadget: uvc: fix oops on a premature STREAMONdrivers/usb/gadget/function/uvc_video.c+4 -00 replies
9/19usb: gadget: f_fs: let the request keep its fencedrivers/usb/gadget/function/f_fs.c+7 -30 replies
10/19usb: host: ehci-orion: fix the probe without DTdrivers/usb/host/ehci-orion.c+4 -21 reply
11/19usb: typec: tcpm: don't wait for the VDM discovery workdrivers/usb/typec/tcpm/tcpm.c+12 -21 reply
12/19usb: typec: tcpci: don't act on unread alertsdrivers/usb/typec/tcpm/tcpci.c+47 -171 reply
13/19usb: typec: anx7411: zero on-stack alt mode descriptorsdrivers/usb/typec/anx7411.c drivers/usb/typec/class.c+2 -22 replies
14/19usb: typec: mux: it5205: fix oops on accessory modesdrivers/usb/typec/mux/it5205.c+10 -41 reply
15/19usb: typec: mux: tusb1046: fix oops on accessory modesdrivers/usb/typec/mux/tusb1046.c+10 -40 replies
16/19usb: renesas_usbhs: link URBs with interrupts disableddrivers/usb/renesas_usbhs/mod_host.c+7 -00 replies
17/19usb: renesas_usbhs: unlink the URB if it is not queueddrivers/usb/renesas_usbhs/mod_host.c+10 -20 replies
18/19usb: isp1760: wait for the TT clear in endpoint_disabledrivers/usb/isp1760/isp1760-hcd.c+11 -01 reply
19/19usb: dwc2: wait for the TT clear in endpoint_disabledrivers/usb/dwc2/hcd.c+15 -00 replies

Reviews trailers per patch

5 of 19 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRui Miguel SilvaHerve CodinaBenson LeungRomain GantoisAlan SternHeikki Krogerus
SeriesR-b
1/19
2/19
3/19
4/19
5/19
6/19R-b
7/19
8/19
9/19
10/19A-b
11/19R-b
12/19
13/19R-b R-b
14/19
15/19
16/19
17/19
18/19A-b
19/19

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v1 thread

Cover letter [PATCH 00/19] USB: a bunch of llm-found fixes

Here's a series of some small llm-found fixes that have been sent to me recently. Most of them are just minor bugfixes and locking cleanups, but they are good to have from what I can tell.

Submitting them here to get a solid Sashiko run and some second eyes on them before merging if all goes well.

---
Josef Bacik (19):
usb: core: sysfs: take the port lock to read the BOS
USB: core: signal the end of an sg request last
usbip: vudc: free the unlink item if the send fails
usb: host: oxu210hp-hcd: fix oxu_qh_alloc() deadlock
usb: cdns3: switch the role unlocked on resume
usb: gadget: snps_udc_plat: lock out the interrupt
usb: gadget: bdc: the resume callback is optional
usb: gadget: uvc: fix oops on a premature STREAMON
usb: gadget: f_fs: let the request keep its fence
usb: host: ehci-orion: fix the probe without DT
usb: typec: tcpm: don't wait for the VDM discovery work
usb: typec: tcpci: don't act on unread alerts
usb: typec: anx7411: zero on-stack alt mode descriptors
usb: typec: mux: it5205: fix oops on accessory modes
usb: typec: mux: tusb1046: fix oops on accessory modes
usb: renesas_usbhs: link URBs with interrupts disabled
usb: renesas_usbhs: unlink the URB if it is not queued
usb: isp1760: wait for the TT clear in endpoint_disable
usb: dwc2: wait for the TT clear in endpoint_disable

 drivers/usb/cdns3/cdns3-plat.c          |  8 +++--
 drivers/usb/cdns3/core.c                | 55 +++++++++++++++++-----------
 drivers/usb/cdns3/core.h                |  3 ++
 drivers/usb/core/hub.c                  | 32 +++++++++++++++++
 drivers/usb/core/message.c              | 36 +++++++++++++------
 drivers/usb/core/sysfs.c                |  4 +++
 drivers/usb/core/usb.h                  |  3 ++
 drivers/usb/dwc2/hcd.c                  | 15 ++++++++
 drivers/usb/gadget/function/f_fs.c      | 10 ++++--
 drivers/usb/gadget/function/uvc_video.c |  4 +++
 drivers/usb/gadget/udc/bdc/bdc_udc.c    |  3 +-
 drivers/usb/gadget/udc/snps_udc_plat.c  |  8 ++---
 drivers/usb/host/ehci-orion.c           |  6 ++--
 drivers/usb/host/oxu210hp-hcd.c         | 23 ++++++------
 drivers/usb/isp1760/isp1760-hcd.c       | 11 ++++++
 drivers/usb/renesas_usbhs/mod_host.c    | 19 ++++++++--
 drivers/usb/typec/anx7411.c             |  2 +-
 drivers/usb/typec/class.c               |  2 +-
 drivers/usb/typec/mux/it5205.c          | 14 +++++---
 drivers/usb/typec/mux/tusb1046.c        | 14 +++++---
 drivers/usb/typec/tcpm/tcpci.c          | 64 ++++++++++++++++++++++++---------
 drivers/usb/typec/tcpm/tcpm.c           | 14 ++++++--
 drivers/usb/usbip/vudc_tx.c             |  2 +-
 23 files changed, 266 insertions(+), 86 deletions(-)

---
base-commit: d135ab453a7400a34930bdda1ef4bdc8acfac80e
change-id: 20261027-llm-usb-e06293a1d353

Best regards,

Signature · 1 line
Greg Kroah-Hartman <[email protected]>