Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp4687381rwo; Tue, 25 Jul 2023 09:28:46 -0700 (PDT) X-Google-Smtp-Source: APBJJlF6G564kTE9faXVZfpNuPJ4a7xGVNAfXYxmzPT5Wm5nFnP5s9EhlHRc9esZ7dZP/RQEciOJ X-Received: by 2002:a05:6a20:549e:b0:12e:7ff9:b612 with SMTP id i30-20020a056a20549e00b0012e7ff9b612mr17113165pzk.45.1690302526387; Tue, 25 Jul 2023 09:28:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690302526; cv=none; d=google.com; s=arc-20160816; b=GNR/p/M8UaTyqY5ZdVMh4HmM+Jnedtn2qH/qkMAh+Pc7ZOOLYlfGofuyIYu7cV3Zwq xzOXeoIOyOz4W/quIV0HGpHh2+mXRK4OEOHWAz1uVcWOTgStLZIQHxpxcoxnT3j8sUYo ZZ3svCEj8W3hKluxsZjsb8IQZxB/1g2b9Fc5l4cMbDvLN81/tD1ffL8b4pk+9WjnoWBr ymiQQx9uXaBvyuiXtJ8VOZYNahb0ZFTA0FSlCBdFPHdokdqeYnK2jG+75yePyqfcB346 T59kMncgM8/oiqcw4tSc4UpwPwZ7i60WbTUxoaKtioMyqzU5u4sU3XDW3SRD3fkZHjQs 9x4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=8dm2O+1x5Qy9hKyenzSCLwqat5b/S+Azg6xCynLiQ70=; fh=lbec3sJNzL+tE0cjwjc7LP6L/WB57Y/YzMSr3tg6ZJE=; b=S6A7BQEJ7JLg2B36aVzV3wSsINfn59i57iMft3/ibW+XFotpH3UlGDs2fwG03hp4+M secQrhp5C0g5K0FaC4O9LH6/AlXVXMLo0NELXXPuPuhZUY58UiTkPyNNIitL/FKRAcGn ETQuNh9Gh2z/rGRmTw2XJOUMlldjwRfHuuevgWmHUJto5htQE5oGGMVZQC8dVNT9xHXx nRM7kMoq/+b19U4pYyG2lqDhrYbgJarrnEvy0f9UDtDCudJc8mz/eEyJsr5FDeFbFal3 NekPtUBNIMkEGQD07kI7WxpvkltCBkdPXPUr2FAq3m/fIroXAIV7TxLxr6JJrjx1INEy EPIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YkQVVV0L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s8-20020a056a0008c800b00677eac1cd9dsi12213441pfu.329.2023.07.25.09.28.32; Tue, 25 Jul 2023 09:28:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YkQVVV0L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231361AbjGYQUA (ORCPT + 99 others); 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> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 :(