linux/drivers/usb/host
Mathias Nyman efe3e3ae5a xhci: dbc: Flush queued requests before stopping dbc
Flush dbc requests when dbc is stopped and transfer rings are freed.
Failure to flush them lead to leaking memory and dbc completing odd
requests after resuming from suspend, leading to error messages such as:

[   95.344392] xhci_hcd 0000:00:0d.0: no matched request

Cc: stable <stable@kernel.org>
Fixes: dfba2174dc ("usb: xhci: Add DbC support in xHCI driver")
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20250627144127.3889714-5-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-06-28 17:20:25 +02:00
..
Kconfig USB: host: omap: Do not enable by default during compile testing 2025-04-25 13:20:23 +02:00
Makefile xhci: sideband: add initial api to register a secondary interrupter entity 2025-04-11 13:02:29 +02:00
bcma-hcd.c
ehci-atmel.c
ehci-brcm.c
ehci-dbg.c
ehci-exynos.c
ehci-fsl.c usb: ehci-fsl: Fix use of private data to avoid -Wflex-array-member-not-at-end warning 2025-04-11 16:08:33 +02:00
ehci-fsl.h
ehci-grlib.c
ehci-hcd.c usb: ehci: Switch to use hrtimer_setup() 2025-02-18 11:19:02 +01:00
ehci-hub.c
ehci-mem.c
ehci-mv.c
ehci-npcm7xx.c
ehci-omap.c
ehci-orion.c
ehci-pci.c
ehci-platform.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
ehci-ppc-of.c
ehci-ps3.c
ehci-q.c
ehci-sched.c
ehci-sh.c
ehci-spear.c
ehci-st.c
ehci-sysfs.c
ehci-timer.c
ehci-xilinx-of.c
ehci.h
fhci-dbg.c
fhci-hcd.c
fhci-hub.c
fhci-mem.c
fhci-q.c
fhci-sched.c
fhci-tds.c
fhci.h
fsl-mph-dr-of.c
isp116x-hcd.c
isp116x.h
isp1362-hcd.c treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
isp1362.h
max3421-hcd.c
octeon-hcd.c
octeon-hcd.h
ohci-at91.c
ohci-da8xx.c
ohci-dbg.c
ohci-exynos.c
ohci-hcd.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
ohci-hub.c treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
ohci-mem.c
ohci-nxp.c
ohci-omap.c
ohci-pci.c USB: OHCI: Add quirk for LS7A OHCI controller (rev 0x02) 2025-04-11 16:21:20 +02:00
ohci-platform.c
ohci-ppc-of.c
ohci-ps3.c
ohci-pxa27x.c
ohci-q.c
ohci-s3c2410.c
ohci-sa1111.c
ohci-sm501.c
ohci-spear.c
ohci-st.c
ohci.h
oxu210hp-hcd.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
pci-quirks.c USB: pci-quirks: Fix HCCPARAMS register error for LS7A EHCI 2025-02-14 09:18:14 +01:00
pci-quirks.h
r8a66597-hcd.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
r8a66597.h
sl811-hcd.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
sl811.h
sl811_cs.c
ssb-hcd.c
uhci-debug.c
uhci-grlib.c
uhci-hcd.c treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
uhci-hcd.h
uhci-hub.c
uhci-pci.c
uhci-platform.c usb: uhci-platform: Make the clock really optional 2025-05-01 17:39:16 +02:00
uhci-q.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
xen-hcd.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
xhci-caps.h usb: xhci: move doorbell array pointer assignment 2025-05-21 12:35:32 +02:00
xhci-dbg.c
xhci-dbgcap.c xhci: dbc: Flush queued requests before stopping dbc 2025-06-28 17:20:25 +02:00
xhci-dbgcap.h xhci: dbc: Avoid event polling busyloop if pending rx transfers are inactive. 2025-05-05 16:30:45 +02:00
xhci-dbgtty.c xhci: dbctty: disable ECHO flag by default 2025-06-28 17:20:22 +02:00
xhci-debugfs.c usb: xhci: Add debugfs support for xHCI port bandwidth 2025-05-21 12:35:31 +02:00
xhci-debugfs.h
xhci-ext-caps.c
xhci-ext-caps.h
xhci-histb.c usb: xhci: change xhci_resume() parameters to explicit the desired info 2025-03-14 09:18:02 +01:00
xhci-hub.c usb: xhci: remove '0' write to write-1-to-clear register 2025-05-21 12:35:33 +02:00
xhci-mem.c usb: xhci: quirk for data loss in ISOC transfers 2025-06-28 17:19:57 +02:00
xhci-mtk-sch.c
xhci-mtk.c treewide: Switch/rename to timer_delete[_sync]() 2025-04-05 10:30:12 +02:00
xhci-mtk.h
xhci-mvebu.c usb: host: xhci-plat: mvebu: use ->quirks instead of ->init_quirk() func 2025-03-14 09:18:02 +01:00
xhci-mvebu.h usb: host: xhci-plat: mvebu: use ->quirks instead of ->init_quirk() func 2025-03-14 09:18:02 +01:00
xhci-pci-renesas.c
xhci-pci.c usb: xhci: quirk for data loss in ISOC transfers 2025-06-28 17:19:57 +02:00
xhci-pci.h
xhci-plat.c xhci: Disable stream for xHC controller with XHCI_BROKEN_STREAMS 2025-06-28 17:20:01 +02:00
xhci-plat.h usb: host: xhci-plat: allow upper layers to signal power loss 2025-03-14 09:18:02 +01:00
xhci-port.h
xhci-rcar.c
xhci-ring.c Revert "usb: xhci: Implement xhci_handshake_check_state() helper" 2025-06-19 12:41:35 +02:00
xhci-rzv2m.c
xhci-rzv2m.h
xhci-sideband.c usb: host: xhci: Notify xHCI sideband on transfer ring free 2025-04-11 13:02:30 +02:00
xhci-tegra.c usb: host: tegra: Prevent host controller crash when OTG port is used 2025-05-01 17:37:25 +02:00
xhci-trace.c
xhci-trace.h
xhci.c Revert "usb: xhci: Implement xhci_handshake_check_state() helper" 2025-06-19 12:41:35 +02:00
xhci.h usb: xhci: quirk for data loss in ISOC transfers 2025-06-28 17:19:57 +02:00