FROMGIT: usb: host: xhci: Notify xHCI sideband on transfer ring free
In the case of handling a USB bus reset, the xhci_discover_or_reset_device can run without first notifying the xHCI sideband client driver to stop or prevent the use of the transfer ring. It was seen that when a bus reset situation happened, the USB offload driver was attempting to fetch the xHCI transfer ring information, which was already freed. Tested-by:Puma Hsu <pumahsu@google.com> Tested-by:
Daehwan Jung <dh10.jung@samsung.com> Signed-off-by:
Wesley Cheng <quic_wcheng@quicinc.com> Acked-by:
Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20250409194804.3773260-6-quic_wcheng@quicinc.com Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Bug: 392112015 (cherry picked from commit b85a2ebd https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-next) Change-Id: I18db3b33fcd8ea495165d1a4d235c05aac8dfd93 Signed-off-by:
Wesley Cheng <quic_wcheng@quicinc.com>
Loading
Please sign in to comment