From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D89DEC0015E for ; Tue, 25 Jul 2023 16:20:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231145AbjGYQUA (ORCPT ); Tue, 25 Jul 2023 12:20:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231452AbjGYQT5 (ORCPT ); Tue, 25 Jul 2023 12:19:57 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8327311A; Tue, 25 Jul 2023 09:19:54 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0A7F76179A; Tue, 25 Jul 2023 16:19:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1C647C433C8; Tue, 25 Jul 2023 16:19:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1690301993; bh=O0xlvC0v8lQMUfRa0bL717dXjSMBPnduOOvYxmERoaM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YkQVVV0LrvWEBH2nSBYEfC8MIQB/+Lmy4uFgqUgITvha9L6FktWN2G8r4iEmxae+E IRYT8DncnvnTDl5JATWB3V0MKWbLQCoCkTJpDpseps0jEb3OoDHwUyD/S7z5quSoWf CsA+A0Ek9RkCAeGIeMDWFZeMXk8x9OIHvQ4nxkOQ= Date: Tue, 25 Jul 2023 18:19:45 +0200 From: Greg Kroah-Hartman To: Haotien Hsu Cc: Mathias Nyman , Thierry Reding , Jonathan Hunter , linux-usb@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, Wayne Chang , JC Kuo , WK Tsai , Henry Lin Subject: Re: [PATCH v2] usb: xhci: tegra: Add shutdown callback for Tegra XUSB Message-ID: <2023072532-vacancy-headlock-46be@gregkh> References: <20230718091425.307589-1-haotienh@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230718091425.307589-1-haotienh@nvidia.com> Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org On Tue, Jul 18, 2023 at 05:14:25PM +0800, Haotien Hsu wrote: > From: Henry Lin > > 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 > Signed-off-by: Haotien Hsu > Acked-by: Thierry Reding > > --- > 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 :(