linux/drivers/usb
Wesley Cheng 2b2da6574e usb: dwc3: Avoid unmapping USB requests if endxfer is not complete
If DWC3_EP_DELAYED_STOP is set during stop active transfers, then do not
continue attempting to unmap request buffers during dwc3_remove_requests().
This can lead to SMMU faults, as the controller has not stopped the
processing of the TRB.  Defer this sequence to the EP0 out start, which
ensures that there are no pending SETUP transactions before issuing the
endxfer.

Reviewed-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
Link: https://lore.kernel.org/r/20220901193625.8727-2-quic_wcheng@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-09-07 16:26:26 +02: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: cdns3: fix issue with rearming ISO OUT endpoint 2022-08-30 15:33:15 +02:00
chipidea usb: chipidea: Add support for VBUS control with PHY 2022-08-31 09:07:52 +02:00
class USB: cdc-acm: Add Icom PMR F3400 support (0c26:0020) 2022-08-19 11:12:43 +02:00
common usb: common: debug: Check non-standard control requests 2022-08-19 11:04:25 +02:00
core Merge 6.0-rc4 into usb-next 2022-09-05 08:03:23 +02:00
dwc2 usb: dwc2: fix wrong order of phy_power_on and phy_init 2022-08-30 15:31:16 +02:00
dwc3 usb: dwc3: Avoid unmapping USB requests if endxfer is not complete 2022-09-07 16:26:26 +02:00
early usb: early: xhci-dbc: Fix xdbc number parsing 2022-03-15 18:20:34 +01:00
gadget USB/ARM: Switch S3C2410 UDC to GPIO descriptors 2022-09-07 16:23:54 +02:00
host usb: clean up after dropping driver registration log spam 2022-09-05 13:23:28 +02: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: uss720: fix uninitialized variable rlen 2022-09-07 16:23:48 +02:00
mon
mtu3 Tracing updates for 5.20 / 6.0 2022-08-05 09:41:12 -07:00
musb musb: fix USB_MUSB_TUSB6010 dependency 2022-08-18 16:33:06 +02:00
phy usb: phy: tegra: switch to using devm_gpiod_get() 2022-09-05 13:09:13 +02:00
renesas_usbhs usb: renesas: Fix refcount leak bug 2022-06-21 16:39:03 +02:00
roles usb: roles: add helper usb_role_string() 2021-05-27 09:17:18 +02:00
serial USB: serial: ch341: fix disabled rx timer on older devices 2022-08-31 15:51:06 +02:00
storage Merge 6.0-rc4 into usb-next 2022-09-05 08:03:23 +02:00
typec Merge 6.0-rc4 into usb-next 2022-09-05 08:03:23 +02:00
usbip usbip: add USBIP_URB_* URB transfer flags 2022-08-31 09:07:53 +02:00
Kconfig usb: remove reference to deleted config STB03xxx 2021-08-18 15:32:19 +02:00
Makefile usb: host: remove line for obsolete config USB_HWA_HCD 2021-08-18 15:32:19 +02:00
usb-skeleton.c usb: usb-skeleton: Update min() to min_t() 2021-10-05 12:56:48 +02:00