* Re: [PATCH] usb: xhci: tegra: Add shutdown callback for Tegra XUSB
[not found] <20230718072057.233011-1-haotienh@nvidia.com>
@ 2023-07-18 7:42 ` Thierry Reding
0 siblings, 0 replies; only message in thread
From: Thierry Reding @ 2023-07-18 7:42 UTC (permalink / raw)
To: Haotien Hsu
Cc: Mathias Nyman, Greg Kroah-Hartman, Jonathan Hunter, linux-usb,
linux-tegra, linux-kernel, Wayne Chang, JC Kuo, WK Tsai,
Henry Lin
[-- Attachment #1: Type: text/plain, Size: 931 bytes --]
On Tue, Jul 18, 2023 at 03:20:57PM +0800, Haotien Hsu wrote:
> From: Henry Lin <henryl@nvidia.com>
>
> If memory accesses by the Tegra XUSB controller are translated through
> the SMMU (System MMU), the hardware may continue accessing memory even
> after the SMMU translations have been disabled during the shutdown
> process and this can in turn cause unpredictable crashes.
> Fix this by adding a shutdown implementation that ensures the hardware
> is turned off during system reboot or shutdown.
>
> Signed-off-by: Henry Lin <henryl@nvidia.com>
> Signed-off-by: Haotien Hsu <haotienh@nvidia.com>
> ---
> drivers/usb/host/xhci-tegra.c | 28 +++++++++++++++++++++-------
> 1 file changed, 21 insertions(+), 7 deletions(-)
I just noticed that there's a typo in the linux-usb@vger.kernel.org
mailing list address, so you may want to resend this to make sure this
goes to the patch tracker and all.
Thierry
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] only message in thread