Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1265760ybl; Fri, 31 Jan 2020 17:48:03 -0800 (PST) X-Google-Smtp-Source: APXvYqyJxQpAQ4isdb32FH3ygtrsjeW12xqaSKRWnKalCRI8203gtcHXLFw6SEPWVRrtAmRZrFig X-Received: by 2002:a9d:6183:: with SMTP id g3mr9659397otk.304.1580521683069; Fri, 31 Jan 2020 17:48:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580521683; cv=none; d=google.com; s=arc-20160816; b=oZnGylWjfQymyWoQeKvgtVSUWre8u1hnsKbvYGmM+LASDgsbGdNf1Bz8e2jerxBw9f jQV+xh4jtoGttdQ4NlkhOAOsgkLN+Jlxa2PPPGZw8i9K+W2PywatbJHX8PZGICSZQ0cu MfywR2a49wZ6V+8Vm8sLpl6uv+JS9vwesQvfvUfqCOmIKq7172cQ0qB3X4c232ZL2OSj jIGsByA+31+Z4ZZVj1sPnz03VQUQvI99ssTS8QBOG8ppK4qqK7qElp0VC8tGdtRTTyUX dLFOXSWOqtyQGzPKF24AtiX5HUIeJwaDQxX/50yF6R0eWzQYzgBgWyaICEc33RsHhd0+ ZVRQ== 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=bKHd1tAggSIYDv7JYfnCgulY1L3xWENBKRTIMPNCxIY=; b=GwOT9SPAPQj8US6KDIo2cN57joNEs7jMz+WYz0aClSJIjngIXL3OR9VVVm7JVh1fV7 1sIdWhn0RGrafaFnIB7we5qxxmnm+XYETB81e9GS/HtkaecUzteM+TO+szIExw9hcdiO avuj+wpc2291D0cqoH3wCJF74G/W1eamJw8F94sQCbB+R/G1wbEs35RklRyJmyzSDKol 9cOdwFQOne98dSWDkU8TCHC4cS5kntJaNSGv1p73NEmfDPJOFRBvpRurBwzaaIm2my3W jSbnBmg1wuIm0e+cTLK6PgM7N+xFXcSM66KjspKVeRmaFD9E/C8B2PD6mhCWi1MGRQAE JmqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=PnfObm0N; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id k205si1817444oib.64.2020.01.31.17.47.41; Fri, 31 Jan 2020 17:48:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=PnfObm0N; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726708AbgBABpY (ORCPT + 99 others); Fri, 31 Jan 2020 20:45:24 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:43910 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726488AbgBABpY (ORCPT ); Fri, 31 Jan 2020 20:45:24 -0500 X-UUID: 32a3becb29644f579ca0a4608131875e-20200201 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=bKHd1tAggSIYDv7JYfnCgulY1L3xWENBKRTIMPNCxIY=; b=PnfObm0NMA1GnJ3uWv5kD2RIpWjGCLw0RhHHAS7EUdh9M/+drlk5yzWbJ8nbi8SV4vlXxyQGqPjfvvMhInESy6rR72J75w7xsS9saOcdczd+4uByMN5/kXAOcH0eiofYmJyWg2HymZgit6t14xYKWMNte4H/Vj5nZ9lY65D/g6w=; X-UUID: 32a3becb29644f579ca0a4608131875e-20200201 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1724066920; Sat, 01 Feb 2020 09:45:18 +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.1395.4; Sat, 1 Feb 2020 09:44:04 +0800 Received: from [172.21.84.99] (172.21.84.99) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Sat, 1 Feb 2020 09:44:11 +0800 Message-ID: <1580521516.15794.10.camel@mtksdccf07> Subject: RE: [PATCH RESEND v3 4/4] scsi: ufs-mediatek: gate ref-clk during Auto-Hibern8 From: Stanley Chu To: Avri Altman CC: "linux-scsi@vger.kernel.org" , "martin.petersen@oracle.com" , "alim.akhtar@samsung.com" , "jejb@linux.ibm.com" , "beanhuo@micron.com" , "bvanassche@acm.org" , "andy.teng@mediatek.com" , "chun-hung.wu@mediatek.com" , "kuohong.wang@mediatek.com" , "linux-kernel@vger.kernel.org" , "cang@codeaurora.org" , "linux-mediatek@lists.infradead.org" , "peter.wang@mediatek.com" , "matthias.bgg@gmail.com" , "linux-arm-kernel@lists.infradead.org" , "asutoshd@codeaurora.org" Date: Sat, 1 Feb 2020 09:45:16 +0800 In-Reply-To: References: <20200129105251.12466-1-stanley.chu@mediatek.com> <20200129105251.12466-5-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: 1F82E7DC4A3A53250291462851AFB1ACF9319A87D203BA06A9D76D33D8EF52862000: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 SGkgQXZyaSwNCg0KT24gRnJpLCAyMDIwLTAxLTMxIGF0IDE4OjQ4ICswMDAwLCBBdnJpIEFsdG1h biB3cm90ZToNCj4gPiANCj4gPiArc3RhdGljIHUzMiB1ZnNfbXRrX2xpbmtfZ2V0X3N0YXRlKHN0 cnVjdCB1ZnNfaGJhICpoYmEpDQo+ID4gK3sNCj4gPiArICAgICAgIHUzMiB2YWw7DQo+ID4gKw0K PiA+ICsgICAgICAgdWZzaGNkX3dyaXRlbChoYmEsIDB4MjAsIFJFR19VRlNfREVCVUdfU0VMKTsN Cj4gPiArICAgICAgIHZhbCA9IHVmc2hjZF9yZWFkbChoYmEsIFJFR19VRlNfUFJPQkUpOw0KPiA+ ICsgICAgICAgdmFsID0gdmFsID4+IDI4Ow0KPiA+ICsNCj4gPiArICAgICAgIHJldHVybiB2YWw7 DQo+ID4gK30NCj4gQSBsaXR0bGUgYml0IHN0cmFuZ2UgdGhhdCB5b3UgYXJlIHJlbHlpbmcgb24g ZGVidWcgcmVnaXN0ZXJzIHRvIHNldHVwIHlvdXIgcmVmLWNsb2NrLg0KPiBJcyB0aGlzIHRoaXMg ZGVidWcgaW5mbyBpcyBhbHdheXMgYXZhaWxhYmxlPw0KPiANCg0KWWVzLCB0aGlzIHJlZ2lzdGVy IGlzIG9ubHkgZm9yIHRoaXMgcHVycG9zZSBub3cgKHF1ZXJ5IGxpbmsgc3RhdGUpIGFuZA0KYWx3 YXlzIGV4aXN0ZWQgaW4gTWVkaWFUZWsgVUZTIGhvc3QuDQoNClRoYW5rcywNClN0YW5sZXkNCg==