Re: [PATCH v2] usb: xhci: tegra: Add shutdown callback for Tegra XUSB

From: Haotien Hsu
Date: Thu Jul 27 2023 - 04:15:10 EST


On Tue, 2023-07-25 at 18:19 +0200, Greg Kroah-Hartman wrote:
> External email: Use caution opening links or attachments
>
>
> On Tue, Jul 18, 2023 at 05:14:25PM +0800, Haotien Hsu wrote:
> > From: Henry Lin <henryl@xxxxxxxxxx>
> >
> > 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@xxxxxxxxxx>
> > Signed-off-by: Haotien Hsu <haotienh@xxxxxxxxxx>
> > Acked-by: Thierry Reding <treding@xxxxxxxxxx>
> >
> > ---
> > V1 -> V2: Resend for the typo in the mailing list
> > ---
> > drivers/usb/host/xhci-tegra.c | 28 +++++++++++++++++++++-------
> > 1 file changed, 21 insertions(+), 7 deletions(-)
>
> Does not apply against 6.5-rc4 at all :(

I rebased the patch and sent it again.
I am sorry about that.