linux/drivers/usb
Mathias Nyman a157512097 xhci: Prevent infinite loop in transaction errors recovery for streams
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-11-30 12:10:48 +01:00
..
atm usb: move from strlcpy with unused retval to strscpy 2022-08-19 11:08:54 +02:00
c67x00 USB: c67x00: remove unnecessary check of res 2022-05-12 11:36:46 +02:00
cdns3 usb: cdnsp: fix lack of ZLP for ep0 2022-11-29 08:56:09 +01:00
chipidea Merge 6.1-rc6 into usb-next 2022-11-21 10:37:10 +01:00
class USB/Thunderbolt changes for 6.1-rc1 2022-10-07 16:48:26 -07:00
common usb: ulpi: use DEFINE_SHOW_ATTRIBUTE to simplify ulpi_regs 2022-09-27 10:36:54 +02:00
core xhci: disable U3 suspended ports in S4 hibernate poweroff_late stage 2022-11-30 12:10:48 +01:00
dwc2 usb: dwc2: platform: Improve error reporting for problems during .remove() 2022-10-22 13:24:27 +02:00
dwc3 usb: dwc3: Fix race between dwc3_set_mode and __dwc3_set_mode 2022-11-29 13:27:49 +01:00
early usb: early: xhci-dbc: Fix xdbc number parsing 2022-03-15 18:20:34 +01:00
fotg210 usb: fotg210-udc: Remove a useless assignment 2022-11-22 17:26:23 +01:00
gadget Revert "usb: gadget: hid: Convert to use list_count()" 2022-11-30 12:06:51 +01:00
host xhci: Prevent infinite loop in transaction errors recovery for streams 2022-11-30 12:10:48 +01:00
image usb/image: fix repeated words in comments 2022-07-27 14:33:53 +02:00
isp1760 usb: isp1760: Fix out-of-bounds array access 2022-05-19 18:10:59 +02:00
misc usb: misc: onboard_usb_hub: Drop obsolete dependency on COMPILE_TEST 2022-11-29 08:56:09 +01:00
mon usb: mon: make mmapped memory read only 2022-09-22 15:52:29 +02:00
mtu3 usb: mtu3: fix failed runtime suspend in host only mode 2022-09-30 13:55:48 +02:00
musb usb: musb: Drop old unused am35x glue layer 2022-11-29 08:56:09 +01:00
phy usb: isp1301-omap: Convert to i2c's .probe_new() 2022-11-22 17:33:27 +01:00
renesas_usbhs usb: renesas: Fix refcount leak bug 2022-06-21 16:39:03 +02:00
roles usb: roles: fix of node refcount leak in usb_role_switch_is_parent() 2022-11-29 08:56:08 +01:00
serial USB: serial: option: add u-blox LARA-L6 modem 2022-11-16 17:19:43 +01:00
storage USB/Thunderbolt changes for 6.1-rc1 2022-10-07 16:48:26 -07:00
typec usb: typec: Add partner PD object wrapper 2022-11-29 08:56:09 +01:00
usbip usb/usbip: Fix v_recv_cmd_submit() to use PIPE_BULK define 2022-11-11 10:28:42 +01:00
Kconfig usb: fotg210: Collect pieces of dual mode controller 2022-11-09 12:38:09 +01:00
Makefile usb: fotg210: Collect pieces of dual mode controller 2022-11-09 12:38:09 +01:00
usb-skeleton.c usb: add usb_set_intfdata() documentation 2022-11-29 08:56:09 +01:00