linux/drivers/usb
Mathias Nyman c3c115368e xhci: Prevent infinite loop in transaction errors recovery for streams
commit a157512097 upstream.

Make sure to also limit the amount of soft reset retries for transaction
errors on streams in cases where the transaction error event doesn't point
to any specific TRB.

In these cases we don't know the TRB or stream ring, but we do know which
endpoint had the error.

To keep error counting simple and functional, move the current err_count
from ring structure to endpoint structure.

Cc: stable@vger.kernel.org
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20221130091944.2171610-6-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-12-31 13:33:10 +01:00
..
atm
c67x00
cdns3 usb: cdnsp: fix lack of ZLP for ep0 2022-12-31 13:33:09 +01:00
chipidea usb: chipidea: fix deadlock in ci_otg_del_timer 2022-11-09 12:34:18 +01:00
class USB/Thunderbolt changes for 6.1-rc1 2022-10-07 16:48:26 -07:00
common
core usb: core: hcd: Fix return value check in usb_hcd_setup_local_mem() 2022-12-31 13:32:41 +01:00
dwc2
dwc3 usb: dwc3: qcom: Fix memory leak in dwc3_qcom_interconnect_init 2022-12-31 13:33:10 +01:00
early
gadget usb: gadget: f_hid: fix refcount leak on error path 2022-12-31 13:32:41 +01:00
host xhci: Prevent infinite loop in transaction errors recovery for streams 2022-12-31 13:33:10 +01:00
image
isp1760
misc fbdev: sisfb: use explicitly signed char 2022-10-24 20:28:41 +02:00
mon
mtu3
musb usb: musb: omap2430: Fix probe regression for missing resources 2022-12-31 13:32:39 +01:00
phy USB/Thunderbolt changes for 6.1-rc1 2022-10-07 16:48:26 -07:00
renesas_usbhs
roles usb: roles: fix of node refcount leak in usb_role_switch_is_parent() 2022-12-31 13:32:41 +01:00
serial USB: serial: f81534: fix division by zero on line-speed change 2022-12-21 17:48:08 +01:00
storage usb: storage: Add check for kcalloc 2022-12-31 13:32:42 +01:00
typec usb: typec: wusb3801: fix fwnode refcount leak in wusb3801_probe() 2022-12-31 13:32:42 +01:00
usbip
Kconfig
Makefile
usb-skeleton.c