Skip to content

xhci fixes for usb-linus

Mathias Nyman linux-usb stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10usb: xhci: Fix ep0 maxpacket update on enabled slotsdrivers/usb/host/xhci.c+5 -00 replies
2/10xhci: check for halted host before accessing virt devices in xhci_check_args()drivers/usb/host/xhci.c+15 -30 replies
3/10xhci: Give back URB under lock in xhci_urb_dequeue()drivers/usb/host/xhci.c+1 -10 replies
4/10xhci: Fix reporting incorrect supported speeds in roothub BOS descriptordrivers/usb/host/xhci-hub.c+11 -40 replies
5/10xhci: sideband: avoid use-after-free of stale virt device pointerdrivers/usb/host/xhci-sideband.c include/linux/usb/xhci-sideband.h+34 -160 replies
6/10xhci: sideband: check virt device under xhci lock when stopping endpointsdrivers/usb/host/xhci-sideband.c drivers/usb/host/xhci.c drivers/usb/host/xhci.h+87 -910 replies
7/10usb: xhci: tegra: Fix missing semi-colondrivers/usb/host/xhci-tegra.c+1 -10 replies
8/10usb: xhci: Demote isoch buffer overrun message to debug leveldrivers/usb/host/xhci-ring.c+3 -30 replies
9/10xhci: fix use-after-free for errors mid TD on empty halted ringsdrivers/usb/host/xhci-ring.c+1 -00 replies
10/10xhci: fix NULL pointer dereference of rhub_port in xhci_urb_enqueue()drivers/usb/host/xhci.c+5 -20 replies

Reviews trailers per patch

2 of 10 patches have a Reviewed-by or Acked-by.

PatchAnton BulakhSelvarasu GanesanAkash MWesley Cheng
1/10
2/10
3/10
4/10T-b
5/10R-b T-b T-b
6/10R-b T-b T-b
7/10
8/10
9/10
10/10

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

Read the v1 thread

Cover letter [PATCH 00/10] xhci fixes for usb-linus

Hi Greg

A set of xhci fixes for usb-linus, many are related to cases where a usb device is reset as part of re-enumeration (retry), or recovery from failed resume. These are fixes like the sideband use-after-free patches and xhci ep0 context mangling fix.

Some generic fixes like avoiding dev_warn floods, and reporting current USB3 supported speeds correctly on a set of xHCI hosts.

Thanks
Mathias

Alex Kononov (1):
usb: xhci: Demote isoch buffer overrun message to debug level

Chien Kun Niu (1):
xhci: Give back URB under lock in xhci_urb_dequeue()

Jon Hunter (1):
usb: xhci: tegra: Fix missing semi-colon

Mathias Nyman (6):
xhci: check for halted host before accessing virt devices in
xhci_check_args()
xhci: Fix reporting incorrect supported speeds in roothub BOS
descriptor
xhci: sideband: avoid use-after-free of stale virt device pointer
xhci: sideband: check virt device under xhci lock when stopping
endpoints
xhci: fix use-after-free for errors mid TD on empty halted rings
xhci: fix NULL pointer dereference of rhub_port in xhci_urb_enqueue()

Michal Pecio (1):
usb: xhci: Fix ep0 maxpacket update on enabled slots

 drivers/usb/host/xhci-hub.c       |  15 ++-
 drivers/usb/host/xhci-ring.c      |   7 +-
 drivers/usb/host/xhci-sideband.c  | 151 ++++++++++++++++++++++--------
 drivers/usb/host/xhci-tegra.c     |   2 +-
 drivers/usb/host/xhci.c           |  87 +++++------------
 drivers/usb/host/xhci.h           |   2 -
 include/linux/usb/xhci-sideband.h |   4 +-
 7 files changed, 155 insertions(+), 113 deletions(-)
Signature · 1 line
2.43.0