Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1831352pxa; Thu, 6 Aug 2020 17:42:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyWUwI6h/Z7GvAmSKHnsMtRlDsWW8NJi1fJGHaoOioA06mpbc+9JsagPfa2bsm6tAdvz80Q X-Received: by 2002:a05:6402:1e2:: with SMTP id i2mr6438278edy.70.1596760951439; Thu, 06 Aug 2020 17:42:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596760951; cv=none; d=google.com; s=arc-20160816; b=rnOC5pk3SOsF9iRV1hQ66J9Eb/vvINBmezRUqv9/XY2ho2jhY14GKVWgcEBE2opV30 CJ0Q2tXGJI00TAEsXCgySGdvDHN+EvlBcAjKfwV/QgU7BnAoY2XsQYm2MgfO633VpR/8 taBmQ0DqIl2wnjz7PNjBBmXVXRLwIBQEp30GGCMxbuHEfudizTlz+IT2DXHjIRjbi1Ai sDy4W5Wo7HjxG2wDdU5cW8nl3Q2LOZLU/IgAyFUUZUa01egk4a2/2/id1fLh421AmfHY MpOPeQDNXTTo24JWddM10MHatIXI7O9dVp0vpcFUeZt2Hoiawuc1A6kH1/Ge537oH+nt 183w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=bnBFseN4rOUFAaYeG9/B7rSHa4Ze1CslHkpsIkYU4+w=; b=tRCZIeEILPRu+660GzPwQnLBVWRXA0M0olo73/3WJ2MqkTPnH+IHlDFmrJxHExo8cY dOkhss6JSNHN4aZshwbBdm9ra+qdTFZu88wR1jUgNhLKpDn4pASLJne3LlGAKHgFo6wj eA+cGyDCRUnMj55xI0riLfIpmJE8CKnuKe87yy9+1xHeK5Qpu8Qc+Ss5e0iFM133/d7T NNbGfId1R4zeJKT4aUHli5wmxmA8lfQS4Ydt5ZSfKQpncl8OkG5lnjBht/vsm/xeRexa n8MXYUsaswfIq+Tmkl3GNEzzGTSLCHFQTxiFocBIAIAERXCx3DmcKAKspJHgoBJTlVom LH2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Uax3yNJO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r20si4390077ejz.158.2020.08.06.17.42.08; Thu, 06 Aug 2020 17:42:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Uax3yNJO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726442AbgHGAj0 (ORCPT + 99 others); Thu, 6 Aug 2020 20:39:26 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:23367 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725998AbgHGAj0 (ORCPT ); Thu, 6 Aug 2020 20:39:26 -0400 X-UUID: 0ab91ec9b3684390b40d9aaae7d6a93d-20200807 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=bnBFseN4rOUFAaYeG9/B7rSHa4Ze1CslHkpsIkYU4+w=; b=Uax3yNJOKS687oP+vgorpNGrHft4mBgoFRdZ/T/x0+ZGZaOncz3BUvakL7OffvGOCR7fte02sssyoma8lEVtcbwydPzDfCE67Z/wINjdSpy62GHa200QK/UMC/OFG6SpyPGnUZjBu+mCghkAwaBUMTCkLy9VVrALVIE7xrz0KJo=; X-UUID: 0ab91ec9b3684390b40d9aaae7d6a93d-20200807 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1352188315; Fri, 07 Aug 2020 08:39:19 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 7 Aug 2020 08:39:18 +0800 Received: from [172.21.77.33] (172.21.77.33) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 7 Aug 2020 08:39:14 +0800 Message-ID: <1596760757.27829.8.camel@mtkswgap22> Subject: RE: [PATCH v2] scsi: ufs: Fix possible infinite loop in ufshcd_hold From: Stanley Chu To: Avri Altman CC: Can Guo , "linux-scsi@vger.kernel.org" , "martin.petersen@oracle.com" , "alim.akhtar@samsung.com" , "jejb@linux.ibm.com" , "bvanassche@acm.org" , "beanhuo@micron.com" , "asutoshd@codeaurora.org" , "matthias.bgg@gmail.com" , "linux-mediatek@lists.infradead.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Kuohong Wang =?UTF-8?Q?=28=E7=8E=8B=E5=9C=8B=E9=B4=BB=29?= , Peter Wang =?UTF-8?Q?=28=E7=8E=8B=E4=BF=A1=E5=8F=8B=29?= , Chun-Hung Wu =?UTF-8?Q?=28=E5=B7=AB=E9=A7=BF=E5=AE=8F=29?= , Andy Teng =?UTF-8?Q?=28=E9=84=A7=E5=A6=82=E5=AE=8F=29?= , Chaotian Jing =?UTF-8?Q?=28=E4=BA=95=E6=9C=9D=E5=A4=A9=29?= , CC Chou =?UTF-8?Q?=28=E5=91=A8=E5=BF=97=E6=9D=B0=29?= Date: Fri, 7 Aug 2020 08:39:17 +0800 In-Reply-To: References: <20200729024037.23105-1-stanley.chu@mediatek.com> <1596018374.17247.41.camel@mtkswgap22> <4cb7403fae7226b70a133d4a7ecee755@codeaurora.org> <1596095961.17247.51.camel@mtkswgap22> <1596518850.27829.5.camel@mtkswgap22> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-TM-SNTS-SMTP: 73F1E00256D1A908A1930FBC0D29440FFF3B4AA04CC0F12EC73470C9002285A42000:8 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgQXZyaSwNCg0KDQpPbiBUdWUsIDIwMjAtMDgtMDQgYXQgMDY6MTAgKzAwMDAsIEF2cmkgQWx0 bWFuIHdyb3RlOg0KPiA+IEhpIEF2cmksDQo+ID4gDQo+ID4gV291bGQgeW91IGhhdmUgYW55IHN1 Z2dlc3Rpb25zIGZvciB0aGlzIHBhdGNoPw0KPiA+IA0KPiA+IFdlIG5lZWQgdGhpcyBwYXRjaCB0 byBlbmFibGUgVUZTSENEX0NBUF9ISUJFUk44X1dJVEhfQ0xLX0dBVElORyBpbg0KPiA+IE1lZGlh VGVrIHBsYXRmb3JtLg0KPiA+IA0KPiA+IFRoYW5rcyBhIGxvdCwNCj4gPiANCj4gPiBTdGFubGV5 IENodQ0KPiBMZXQncyB1c2UgaXQgZm9yIG5vdyBhcyBhIHNob3J0LXRlcm0gV0EuDQo+IFBsZWFz ZSB3b3JrIHdpdGggQ2FuIG9uIGEgcHJvcGVyIGZpeCB0aGF0IHdpbGwgdXRpbGl6ZSBoaXMgaWRl YSB0byByZW1vdmUgdWZzaGNkX2hvbGQvcmVsZWFzZQ0KPiBGcm9tIHVmc2hjZF9zZW5kX3VpY19j bWQsIGF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