summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPrashanth K <prashanth.k@oss.qualcomm.com>2025-07-25 11:51:58 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-08-13 16:52:46 +0200
commit784ad808ae864490b93db0f650b8b6417eb7ce68 (patch)
tree53b3a7d210bddaaf14d4f09a7104a67046964408 /tools/perf/scripts/python
parent8f5ae30d69d7543eee0d70083daf4de8fe15d585 (diff)
downloadlinux-784ad808ae864490b93db0f650b8b6417eb7ce68.tar.gz
linux-784ad808ae864490b93db0f650b8b6417eb7ce68.zip
usb: dwc3: qcom: Add shutdown handler
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 <prashanth.k@oss.qualcomm.com> Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com> Link: https://lore.kernel.org/r/20250725062158.2418961-1-prashanth.k@oss.qualcomm.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions