Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp6512504rwp; Tue, 18 Jul 2023 01:13:30 -0700 (PDT) X-Google-Smtp-Source: APBJJlH9+vM50cbp/IYzcumYK6MulylWnv4wbjRVpqPOCdNXjKlz5FOrjgcskbE/X/2L4Db8Ovli X-Received: by 2002:a05:6a00:8ce:b0:681:919f:bf69 with SMTP id s14-20020a056a0008ce00b00681919fbf69mr16554759pfu.0.1689668009454; Tue, 18 Jul 2023 01:13:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689668009; cv=none; d=google.com; s=arc-20160816; b=zBJYcSaGa2RyIh6RbsC1OZUbRyjtRmLhS+HMqRxTgcDqyuM1mI5VquBbVir9AzFbM3 ATmOIhZu90HOKTIV2s7weD4ce1r01OTiEA+bSc8qDAWF68QRmjPW7e7RmN5ulLSThe9g iqAgd2mNa5TwmRbZOehZor5vp92nXT6meYK7/tYe0JlpOhtzS4zTC6bTnpFWEsc6gPco g1yqXleU1N2pcO9Q6z4zS6DmdF/3jCfsgAY3vJWYukd35Qkq6ILPm6V3/fiCPEA8ZgHH n5+BLKKgNxGxeD7u1/QLIa1xz2ldK3yj3sb7Jj1hTOMwQzGdxU743Ec6F2aXe6fbUfkD Lelw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=V6CEt4B1fiWeTE+geiMZjI5qydRTvLiaSco1FgfeUmY=; fh=9fsk0oH5A6GS/VYBAM8v2rOYZYaoCAZKWKoEw/qHZFY=; b=OISLjewehpADrwsFYfUybEtPEQvUjOhReqmNIIxOZvfRuXwPQwQiQa9+UIFNXv8vBo r+4fvYYX8zMRYHEEBVLFPtEHV8/KWBt9bfDBgsphwdur/q5FB4qSddbO8ZTy6efaSnz9 K5UeqTqdxEhbCj9DtZnMQgTICcdDzppfrKdC8QAbW6Mz5eW6TbdNvt0VKIX/9crIhzhr 9THKpKTLJafU7uU/qB28xPdioLPw7opZZE2tXZNUQ3XYFxejvVelc2WZyNMoineXxwF2 iGqx6zP3sLEREjio4HaJaBx8uArO4p4NDqC9xSRPXgsffq/JfI7HsvEDTTg+LHjpBnJN Eaqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=V2rWDQk8; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cb12-20020a056a00430c00b00666b7377d65si1204457pfb.389.2023.07.18.01.13.17; Tue, 18 Jul 2023 01:13:29 -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=@gmail.com header.s=20221208 header.b=V2rWDQk8; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231799AbjGRHm3 (ORCPT + 99 others); Tue, 18 Jul 2023 03:42:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231316AbjGRHmZ (ORCPT ); Tue, 18 Jul 2023 03:42:25 -0400 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24CC610FC; Tue, 18 Jul 2023 00:42:22 -0700 (PDT) Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-52173d4e9f9so4458423a12.0; Tue, 18 Jul 2023 00:42:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689666140; x=1692258140; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=V6CEt4B1fiWeTE+geiMZjI5qydRTvLiaSco1FgfeUmY=; b=V2rWDQk8E/ABfOMfMDHDxfVngQWN75ZYx7R48wiPpD4Zlg8u9Q7xX33AJFk46fxR3B pGK+4Z/43tGuISlZOznN9e2LLU5DeSvxqoHVxhedJdq+OU3nBREwW6gTKc1pu/Rz6K0l rXmq2aPXyLVg1z78jtoRHD0JxtK3nRFQptk6xUaLu08F/wPNbw/UByteIIoDP86MgzAy DE8Pvn4thpfKpvGnsVEyPWAxmrDcRIXUb+U+KUmaQK5qo6t20w5fLbR0Jd1+07ziK7YK QjbA4pBHsEBac7pIEM1dIloLvGZpT2PVOJyGyC2MMDO25Az4AFPvJk1XS7CHrYk/hT92 3clg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689666140; x=1692258140; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=V6CEt4B1fiWeTE+geiMZjI5qydRTvLiaSco1FgfeUmY=; b=b6o+i8m8TO7ElYF6+/8oLyUCVnPolttfCySROM0GCMnCLdFkmTrbGPTG47Jw9SYpCw 9KKV7XoaF9krVpJ3/XO1PXOown8KJbhjNWaCpukSAZMIklZkoASQheDIhqCokdGK6odc 9zbFQetSrxUjtLlgsUNxPSBeTD+EogUQeg2xeiT00hgUxByHnPn+PdrV+NFkNZphzhIn H3lB5hvjdIuhE5ZtQxEDevLerAcMlqqdkERm00jcFENZDF+PTH6mHvKdFhO1svAU8fDR X71s9Wim8C4O538+Zg/zCHacni9/i4P+tFxK+andodEREJIXmvTDTPPK9oODVssxTsqY UmtA== X-Gm-Message-State: ABy/qLbYDlJhDL1x9SDtPiLBaIshNtXhjXCnchGA3jzVOfMcuvGJDjx8 p4Aujqi8RriTJObJa0EHlaU= X-Received: by 2002:a50:ee0e:0:b0:51d:9ddf:f0f6 with SMTP id g14-20020a50ee0e000000b0051d9ddff0f6mr13518393eds.36.1689666140279; Tue, 18 Jul 2023 00:42:20 -0700 (PDT) Received: from orome (p200300e41f4b7100f22f74fffe1f3a53.dip0.t-ipconnect.de. [2003:e4:1f4b:7100:f22f:74ff:fe1f:3a53]) by smtp.gmail.com with ESMTPSA id i15-20020aa7c70f000000b0051a2d2f82fdsm816558edq.6.2023.07.18.00.42.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Jul 2023 00:42:19 -0700 (PDT) Date: Tue, 18 Jul 2023 09:42:18 +0200 From: Thierry Reding To: Haotien Hsu Cc: Mathias Nyman , Greg Kroah-Hartman , 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] usb: xhci: tegra: Add shutdown callback for Tegra XUSB Message-ID: References: <20230718072057.233011-1-haotienh@nvidia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="i1iMksCSr7RDaYjM" Content-Disposition: inline In-Reply-To: <20230718072057.233011-1-haotienh@nvidia.com> User-Agent: Mutt/2.2.10 (2023-03-25) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 --i1iMksCSr7RDaYjM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 18, 2023 at 03:20:57PM +0800, Haotien Hsu wrote: > From: Henry Lin >=20 > 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. >=20 > Signed-off-by: Henry Lin > Signed-off-by: Haotien Hsu > --- > 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 --i1iMksCSr7RDaYjM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAmS2QloACgkQ3SOs138+ s6Efdw/+JJgyH70jYy1UUCT2AkarMe45v3dXfFD+Rpr1irftfLTX57TAqQUEBTpV 4wsvkLQNR/PtRdDO2XCddHmfhWRrf06RNpznVGyfUJo0CZ1HZ/Hd79K1aASUBDI0 1eVs58qaCCtU238XJOpdqhNqqpfw2Hm3T0Dnm82vJ6QUODvtF/lp4HNUn8ByCTch aH7W+U0rcFS+sHewLLdY9tpA/+i9VO5dGzLKsYwIny7f9bkNGp5igv4VLqyyH278 pMhjxuzvo/EZbaAqQrwxnrjEPVJHSOas2LabX3yL/0+EScQXV29SkDregRCoFLis dJ8mzFcQuVKe9lys/XDOVuEdUo5Rf/qCedEWQjzlxAWa9T1ZXXnH0RvMCT2ttvj0 WD1tHyYYeeHM4JCzpUvmM8jjfcpNUfspVIqSsVuAne3fAtyLzbjl3BqMzg+QSEW7 vebi0SReY86kgwAbdgmo3BxR1kp/e5i9/LESUhNnfaqZ18TmP9DzOl+IhvYMzBcq /EFX7L+KDIqRCQgqMJz4QsQWkT2Pky1M9XHEkJKVe5TqiPQPlUfi9ugP1SQc+BPc L9m9Fk9xbzq8vBGMyAb2aKpAAec4Ngs4l9zeigvCM1VPCiMXXTyu1iKGb7musgGT cSlkkZBKQlLO+NVq/ZxV9n9hhCJ+5wK+QvNqO5NxhdW/CGLDcAc= =BU6p -----END PGP SIGNATURE----- --i1iMksCSr7RDaYjM--