Re: [PATCH] usb: dwc3: qcom: Add shutdown handler
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2025-07-25 08:48:03
Also in:
lkml
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2025-07-25 08:48:03
Also in:
lkml
On Fri, Jul 25, 2025 at 11:51:58AM +0530, Prashanth K wrote:
Currently during system reboot, SMMU disables its translations while devices like USB may still be actively using DMA buffers. This can lead to NOC errors and system crashes due to invalid memory access. Address this by adding a shutdown callback to dwc3-qcom, which ensures proper teardown of UDC stack and prevents DWC3 controller from accessing memory after SMMU translation is disabled. Reuse the existing remove callback for this purpose. Signed-off-by: Prashanth K <redacted> --- drivers/usb/dwc3/dwc3-qcom.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
What commit id does this fix? Or is this just a new feature? thanks, greg k-h