Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp2530310ybg; Fri, 31 Jul 2020 02:30:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtm019xLmgRANXA/Mq70tBNvawXGOD02qM4U/Tk8LKkMvrI5+YeOo125If4Taz54OrOHj0 X-Received: by 2002:a05:6402:2038:: with SMTP id ay24mr2988074edb.200.1596187858782; Fri, 31 Jul 2020 02:30:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596187858; cv=none; d=google.com; s=arc-20160816; b=LhlTJNtFwGLxRAJm0LGh4lzasXE52y46xy4JUQQJID5weh8ICI0VCig6P3Stx+Bnv9 d3XsH0hy9TCN9zZdnlZPR6sCBeVi+mdiQVyypFZVov2kcL1xaIlc/1PPkLqKan/3+ovE ty2ht9pWurKGR1VasEO7yJYtDtv9XGsL0lu8DbrkUml2ZHSItl/6C+KaWOuAPKqIVINV ngoGsDMQ9YbaH5J+BHCyDDfLDq34HoqWmye0pAJje3EDRBRqsvfoGZeBmS00ZziPaBHd tYwBp84WvCVAxRWiEFZkrSomil/84Y1r98TdNlmmeLRVcXXye9Cmy2Mo1ugBC1HCP4LG S8eA== 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=au+qktezYgw+jt5L5XG7E4RAshRFGuWcZYnfoHyoQQY=; b=vOu1lnLpuw082MkL2kO9kmB6XVUur3s5MXavQZSzeMxdSGY01NvYf7j6XYqhmP9LgC kQemL6LL5Nae1sa2FBp12Sw61TXZuJjem2duWw73M6xzPOQVhyeF2H8d2+mTYkggWRnJ l0Ji7HuVsz8zVWsQj4GZ/Mt8VJoSK37s3qYtVDqOm7rM85nAO+jpmG/Hf3VymPXE2mwU ItMFdT9txoxtjTF9AF82D9sAGmujAU+0+BTauzASEmlSf0VsP7M1OJrb73e+Uehaf1/m k9jPWLzi7l9dSTJy/xkU1a/0xTwRjYHO+YvgfE+8IcWPZbLGqCkyQ5pAoWlT2kwE9NgA lKOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mediatek.com header.s=dk header.b=DiYFsj2l; 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=fail (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 g22si4576457ejw.97.2020.07.31.02.30.35; Fri, 31 Jul 2020 02:30:58 -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=fail header.i=@mediatek.com header.s=dk header.b=DiYFsj2l; 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=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732871AbgGaJ1e (ORCPT + 99 others); Fri, 31 Jul 2020 05:27:34 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:65091 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1732094AbgGaJ1b (ORCPT ); Fri, 31 Jul 2020 05:27:31 -0400 X-UUID: cbbaf8822e424bddb1c75be84ac7d6c7-20200731 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=au+qktezYgw+jt5L5XG7E4RAshRFGuWcZYnfoHyoQQY=; b=DiYFsj2lfgst5j049P5VVFhtWVduxXYty6PAgtWFTp6+TIsF148sD43WcmGOEEXpltYvZgfkhhzNZ512aPm/Wigt+2oAo7Aiig8YALHB37x7oVtsa/+o4k7/8TH6BuSBM3KoH2T6cSUH/4H5Kc/WK9v3wfZm5VoiSxGe0cqFaro=; X-UUID: cbbaf8822e424bddb1c75be84ac7d6c7-20200731 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 367703745; Fri, 31 Jul 2020 17:27:25 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs02n1.mediatek.inc (172.21.101.77) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 31 Jul 2020 17:27:21 +0800 Received: from [172.21.77.33] (172.21.77.33) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 31 Jul 2020 17:27:22 +0800 Message-ID: <1596187643.17247.62.camel@mtkswgap22> Subject: Re: [PATCH v4] scsi: ufs: Quiesce all scsi devices before shutdown From: Stanley Chu To: Can Guo CC: , , , , , , , , , , , , 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 ( =?ISO-8859-1?Q?=1B$B{}G!9(=1B?= (B)" , 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, 31 Jul 2020 17:27:23 +0800 In-Reply-To: <1d74498da71ba54e23cd82ee6400dbd4@codeaurora.org> References: <20200724140140.18186-1-stanley.chu@mediatek.com> <84510fc12ada0de8284e6a689b7a2358@codeaurora.org> <1596183773.17247.60.camel@mtkswgap22> <1d74498da71ba54e23cd82ee6400dbd4@codeaurora.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 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 SGkgQ2FuLA0KDQpPbiBGcmksIDIwMjAtMDctMzEgYXQgMTY6NTggKzA4MDAsIENhbiBHdW8gd3Jv dGU6DQo+IEhpIFN0YW5sZXksDQo+IA0KPiBPbiAyMDIwLTA3LTMxIDE2OjIyLCBTdGFubGV5IENo dSB3cm90ZToNCj4gPiBIaSBDYW4sDQo+ID4gDQo+ID4gT24gTW9uLCAyMDIwLTA3LTI3IGF0IDE1 OjMwICswODAwLCBDYW4gR3VvIHdyb3RlOg0KPiA+PiBIaSBTdGFubGV5LA0KPiA+PiANCj4gPj4g T24gMjAyMC0wNy0yNCAyMjowMSwgU3RhbmxleSBDaHUgd3JvdGU6DQo+ID4+ID4gQ3VycmVudGx5 IEkvTyByZXF1ZXN0IGNvdWxkIGJlIHN0aWxsIHN1Ym1pdHRlZCB0byBVRlMgZGV2aWNlIHdoaWxl DQo+ID4+ID4gVUZTIGlzIHdvcmtpbmcgb24gc2h1dGRvd24gZmxvdy4gVGhpcyBtYXkgbGVhZCB0 byByYWNpbmcgYXMgYmVsb3cNCj4gPj4gPiBzY2VuYXJpb3MgYW5kIGZpbmFsbHkgc3lzdGVtIG1h eSBjcmFzaCBkdWUgdG8gdW5jbG9ja2VkIHJlZ2lzdGVyDQo+ID4+ID4gYWNjZXNzZXMuDQo+ID4+ ID4NCj4gPj4gPiBUbyBmaXggdGhpcyBraW5kIG9mIGlzc3Vlcywgc3BlY2lmaWNhbGx5IHF1aWVz Y2UgYWxsIFNDU0kgZGV2aWNlcw0KPiA+PiA+IGJlZm9yZSBVRlMgc2h1dGRvd24gdG8gYmxvY2sg YWxsIEkvTyByZXF1ZXN0I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