Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp117641pxx; Tue, 27 Oct 2020 23:27:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwS+hMxhnHemsMFirXs4UIjXQVajype3dffqF7oxwUKxb3hKppzLwpkRaph4RvYU0qCd6Vk X-Received: by 2002:aa7:cd85:: with SMTP id x5mr6461534edv.0.1603866472078; Tue, 27 Oct 2020 23:27:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603866472; cv=none; d=google.com; s=arc-20160816; b=ftbtoJA9dRqwWHaJX912UE+rPBRPSCiCWq6OLOln7xyu0y5IKk7Wci8c2jO3CzIsob a+8ygLUT/DrdDnsht/9tNPyFNBn5s1XXnDp/wedRc0pvHu+ahSi8BiZ4YRdS6sfg4NK7 7aytnp4FAWpZ8F8MEt1keCor+wRwotFEHgaro/j5KvoPxwcA2Whced39OsG231w1MJnN CwfBkwDeMTmr08AjIDoKic/zoKqbocYe0syzuBRvzVrQrgBpbkGnG6gjimmkhfpeEbWf GOIagthwXnUxXchkCu4Q9Z9IJT2PWVkITgFofM9VjXwdXoH/BSrolieM+B0N7Zjjy5vJ QRTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=LDji51ZuVtXodbYhY6ntu2rO47u7vkwshUVSjF4m5dQ=; b=0y0bXLuoaNW2FAZQquzLQ0tHvKR65KNzJf/y5euTFYOTg+dE+go1/+0bhE6g4SRroY ygzWwy22tEwXKC+ZIf11B+jKCZQJxQCwOxVMgiR4sI2Drhat7Q5JZv5MFYRTYul7x/7K 8lk1p4QBEdkF3ZztMSj2OrEk1ERLZCVHSSxA2VnKrmJrt7xiJXL9rNshZoFLQWSaTZJt ZkRZcuHN4LosNF6qftdsZ1GUDd8okP98QlZokP57xFYw1XBxuVAKJCplNV/NsXn27bGw fggi9TsCRiCpo3RPes+2IDr5olMuPB8VrNrAwDCDgQAMJuUXsEsbqJbyBa1gs+OMbA90 uNIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=fXAhHZIg; 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 d7si2704001ejk.598.2020.10.27.23.27.30; Tue, 27 Oct 2020 23:27:52 -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=fXAhHZIg; 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 S2896219AbgJ0JwY (ORCPT + 99 others); Tue, 27 Oct 2020 05:52:24 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:48774 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2896060AbgJ0JwW (ORCPT ); Tue, 27 Oct 2020 05:52:22 -0400 X-UUID: f8e7e7ec608f441aa01c3ebdfbdb3071-20201027 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=LDji51ZuVtXodbYhY6ntu2rO47u7vkwshUVSjF4m5dQ=; b=fXAhHZIguYrWdZk7rzJue5/OdNv0iTdE03yTAcUgDMS+CqCRd6XDwSAqDpgzT9fTDJrT0WTolTGkrHA/vJ9YZhIbkjsUWU41xwBS+H2EehFJlfgu0zcQE13qOBHG+WkY9L7JOgmv7yofcRK+D6g5V0C0X5SaHh4SDQOPTfib9kE=; X-UUID: f8e7e7ec608f441aa01c3ebdfbdb3071-20201027 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 818533378; Tue, 27 Oct 2020 17:52:17 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 27 Oct 2020 17:52:14 +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; Tue, 27 Oct 2020 17:52:14 +0800 Message-ID: <1603792335.2104.12.camel@mtkswgap22> Subject: RE: [PATCH 3/4] scsi: ufs-mediatek: Fix flag of unipro low-power mode From: Stanley Chu To: Avri Altman CC: "linux-scsi@vger.kernel.org" , "martin.petersen@oracle.com" , "alim.akhtar@samsung.com" , "jejb@linux.ibm.com" , "matthias.bgg@gmail.com" , "bvanassche@acm.org" , "linux-mediatek@lists.infradead.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "kuohong.wang@mediatek.com" , "peter.wang@mediatek.com" , "chun-hung.wu@mediatek.com" , "andy.teng@mediatek.com" , "chaotian.jing@mediatek.com" , "cc.chou@mediatek.com" Date: Tue, 27 Oct 2020 17:52:15 +0800 In-Reply-To: References: <20200908064507.30774-1-stanley.chu@mediatek.com> <20200908064507.30774-4-stanley.chu@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-TM-SNTS-SMTP: 58549434F085AA0CF554C6FA97DDC7A7439B1FBB93D811B8F34E8BA4BBC087112000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgQXZyaSwNCg0KT24gU2F0LCAyMDIwLTA5LTE5IGF0IDA4OjA4ICswMDAwLCBBdnJpIEFsdG1h biB3cm90ZToNCj4gPiANCj4gPiBGb3JjaWJseSBsZWF2ZSBVbmlQcm8gbG93LXBvd2VyIG1vZGUg aWYgVUlDIGNvbW1hbmRzIGlzIGZhaWxlZC4NCj4gPiBUaGlzIG1ha2VzIGhiYV9lbmFibGVfZGVs YXlfdXMgYXMgY29ycmVjdCAoZGVmYXVsdCkgdmFsdWUgZm9yDQo+ID4gcmUtZW5hYmxpbmcgdGhl IGhvc3QuDQo+ID4gDQo+ID4gQXQgdGhlIHNhbWUgdGltZSwgY2hhbmdlIHR5cGUgb2YgcGFyYW1l dGVyICJscG0iIGluIGZ1bmN0aW9uDQo+ID4gdWZzX210a191bmlwcm9fc2V0X3BtKCkgdG8gImJv b2wiLg0KPiBTZW1hbnRpY2FsbHksIGJldHRlciBsZWF2ZSBpdCB1MzIgYXMgaXRzIGV2ZW50dWFs bHkgYXNzaWduZWQgdG8gdGhlIGFyZzMgb2YgdGhlIHVpYyBjb21tYW5kIA0KPiANCg0KVGhhbmtz IGZvciByZW1pbmRpbmcuDQpJIHdpbGwgdXNlIHNwZWNpZmljIHUzMiB2YWx1ZXMgd2hpbGUgc2Vu ZGluZyBhcmczIHRvIGZpeCB0aGlzLg0KDQo+ID4gDQo+ID4gU2lnbmVkLW9mZi1ieTogU3Rhbmxl eSBDaHUgPHN0YW5sZXkuY2h1QG1lZGlhdGVrLmNvbT4NCj4gPiAtLS0NCj4gPiAgZHJpdmVycy9z Y3NpL3Vmcy91ZnMtbWVkaWF0ZWsuYyB8IDIwICsrKysrKysrKysrKysrLS0tLS0tDQo+ID4gIDEg ZmlsZSBjaGFuZ2VkLCAxNCBpbnNlcnRpb25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