Received: by 2002:a17:90b:8d0:0:0:0:0 with SMTP id ds16csp383004pjb; Wed, 22 Jul 2020 02:20:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0OLCMG0iqYAWc93+P+/U6xf0zsrNc8kZIzmYjZZ598Lc7y4PtiSCy37zfx+lCnVOGMCu+ X-Received: by 2002:a17:906:c83c:: with SMTP id dd28mr28831110ejb.420.1595409637127; Wed, 22 Jul 2020 02:20:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595409637; cv=none; d=google.com; s=arc-20160816; b=um2QBgyg1pr8a/SMWJpN3+KNBA4YukFixz5RTHcOEQLN9KakFBiQTKELZblxdqUULu 3NNnRYxXMR0tZi/ol+T/7PkrDUen36xEZzYVnfD+WVj1fidHm1EDJadmg7NySjOZhHfu UkHRleCnnMIHH2Y9dHGwjPWwRCGjm14X/qBNcat7yF1QsJBvt4J/3lAcH5KHowJUXWz3 2KiO3SwSw19oqFRb9fR7vTCaZE8/JiusNO2wNYtM5Hs0/uT+i0eYftVqTsmsCYqJcHFW hNGrHResytppS/EMKEkU60dBQJ/kfCkAWg3js14PSn0FILpYX6ssK6jWHLlg2ZsemAUb Slmw== 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=6BSWLjcQJzdicOh0iBZ0z0jDe5KmBxrTiIAJXKTT0yY=; b=OB/4H4WlBkYlLV1thg6+sAZwbLCHBjj5IkdezekKfkpoObQttBwZSqO3Gu3m9zIwbE MXCyQuKrdpoq5i9QX3pSOl8s9CGIBMLFfWDL51UXpojvJ1GTWdMM0dLA4jAI0mFRYHQl ASEl72iYe5VNsYDiWdU6uv3WZpyA5206jE/5yZtSwqrfT0sG4J7oPYnQXjLUigvM/CPl c5VAlyQyoPvcGlzOy7VAmWJxQ979MYL5SnQvQM3RGot76YVg/B9nm6Pqiz/42josrIHZ sMWD/tpyKjMOLqy7kHo4BDkQMBmwMHCvoNx+g6QShYNg2+cspBs2o+sDXxx2JulHsW9Z 5Jig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=F8TvUub3; 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 si13si14565871ejb.188.2020.07.22.02.20.13; Wed, 22 Jul 2020 02:20:37 -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=F8TvUub3; 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 S1731341AbgGVJTB (ORCPT + 99 others); Wed, 22 Jul 2020 05:19:01 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:10770 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726153AbgGVJTB (ORCPT ); Wed, 22 Jul 2020 05:19:01 -0400 X-UUID: 9922f839a53142569b16b70e9c5ff42c-20200722 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=6BSWLjcQJzdicOh0iBZ0z0jDe5KmBxrTiIAJXKTT0yY=; b=F8TvUub3E4fv4ZsqsRwVO/j7J3BkfuRadQnfsWNmvzq3nCePYpCuTi5NWj2PHR4uhYXEmwINOWsp6/dlC5cuSryIpvRJvbqFrd95lrzfCGoBgfXUU+4LvVoDez2CJ/SDk42WveH8LRDfo9fASRW+cbOoKrXP34DvkfHNJdXFJXs=; X-UUID: 9922f839a53142569b16b70e9c5ff42c-20200722 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1504375447; Wed, 22 Jul 2020 17:18:56 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 22 Jul 2020 17:18:53 +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; Wed, 22 Jul 2020 17:18:54 +0800 Message-ID: <1595409534.27178.19.camel@mtkswgap22> Subject: Re: [RFC PATCH v3] scsi: ufs: Quiesce all scsi devices before shutdown From: Stanley Chu To: Bart Van Assche CC: , , , , , , , , , , , , , , , , , Date: Wed, 22 Jul 2020 17:18:54 +0800 In-Reply-To: <2465978d-28d3-e30f-248e-87333c789743@acm.org> References: <20200706132218.21171-1-stanley.chu@mediatek.com> <2465978d-28d3-e30f-248e-87333c789743@acm.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-TM-SNTS-SMTP: 1AEDC1CB880B4B35E07F8D0ADB4D38C01629038D20821CCF56DBF8140A0C9EA52000: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 SGkgQmFydCwNCg0KT24gU2F0LCAyMDIwLTA3LTExIGF0IDIwOjIxIC0wNzAwLCBCYXJ0IFZhbiBB c3NjaGUgd3JvdGU6DQo+I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