Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp523388ybv; Fri, 7 Feb 2020 03:53:27 -0800 (PST) X-Google-Smtp-Source: APXvYqyEW5ZDkAHlMIXmhRVyThdEyP1xF8AiPaTCcjN4wzM8u/oJwdPUxEnOCqSfh9Fla09v7c2r X-Received: by 2002:aca:ddc2:: with SMTP id u185mr1831078oig.24.1581076407293; Fri, 07 Feb 2020 03:53:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1581076407; cv=pass; d=google.com; s=arc-20160816; b=Qg9d/Cj5McSksiu26QhwxD4CXbxFuYfNEd23JnAqiPq1L54XTvxmJqxjNGRnnHRHxR 5etIqbx6PRL9v5p5Z+gRprdhBKgu2NhDzIXQsX7qOH81juSPD4qGvppVVEJY6Nfp8r5Q YaNvqFKvyEj8cf6QWqft4kbtYqTBKriWwS3J2XshN2dgZxlSqEaOYvsreJwhNzW3ft6o yZ9toB18k5vTXM9Q2+fMbSRScKmXIQRJVXAEA2XG2oOqaHnDBh3Aiw97A8oniyjxu1Pm CegoO+yvE5S7seJNBzX1Wdl1Xj2fnUl+80fhKHTgIXP5JuPzePWBfOZgGZv52XpihtbI 1jrQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :wdcipoutbound:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature:ironport-sdr:dkim-signature; bh=7JvqbgDRKRepoNrQpOvxzpbeaHw2H2qrK0DjCcAYfMY=; b=dWtNi4EtuJNGwM+o8sMVaMQcgfNT0+0Zav5p91yRAYf+ITPeDsqbQInKtxm3bC4FpI FyrsaHx/h7wMdpXgMzURDMgozpEJuNYtYHKSkK3iMoVwXf/9NQd8Aq/RG+2PcMVlzG7q dFgw58+4z54k+M+Lbb9QKjVjiGTfIpfIMGxhaSG+UO1u8KebdvKvOYyEe792xjyBg8DM D2s/tC5bLRJ6vaL0bTAEcw3iVxvTq6iwPlfdyDT5DtR603olhejrHIAtBfDv5Q1iXWW9 fTznF5bejRpEERRX/90YYdtl5f0DLAXNC3imTLqeaAzcFt9L4AfUDWq5ilSCgiLXzWN6 ShFQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=HugGRueY; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=JCdnuea3; arc=pass (i=1 spf=pass spfdomain=wdc.com dkim=pass dkdomain=wdc.com dmarc=pass fromdomain=wdc.com); 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=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s11si1456204otd.245.2020.02.07.03.53.14; Fri, 07 Feb 2020 03:53:27 -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=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=HugGRueY; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=JCdnuea3; arc=pass (i=1 spf=pass spfdomain=wdc.com dkim=pass dkdomain=wdc.com dmarc=pass fromdomain=wdc.com); 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=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727045AbgBGLvg (ORCPT + 99 others); Fri, 7 Feb 2020 06:51:36 -0500 Received: from esa1.hgst.iphmx.com ([68.232.141.245]:38129 "EHLO esa1.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726867AbgBGLvg (ORCPT ); Fri, 7 Feb 2020 06:51:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1581076295; x=1612612295; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=7JvqbgDRKRepoNrQpOvxzpbeaHw2H2qrK0DjCcAYfMY=; b=HugGRueYkc1QDZPF9vOA99iu9oH9hjxHNxxkgjt7DOTvDzfIZRNqWuFO AHL7VnbQXFBZWNm/Gb0u/1RrmwezF/2cRB7Lrsfcohgvioy6ZTh038514 IX4n9tFqjUKccdWzllyVvObmP768oithMeL0HX+bNfZOmQcvgRenU9VeR MWn0aQHH+dUyDoe1iJvm+FhTS7NPcoO5n+nIhYQP/Wt8PNaK0AgNk8gJL nsRqEbSct+L7DoZBsre72R51F+EOuqaPXiXE+8wF+BbscBidrxa9FldEj xsTb+udzgjSZF2Wwuijn3xIzhHGltBpQ1R5kHztatp77FzMpQ7HaLFD/i Q==; IronPort-SDR: BdFeLyp+V364DIcYxnn1L4lO10uUBuADUaa96c4qw8R9LLrAoJl4c33ifimf/wVpmWq7cetpg1 ctFpjeClG8PHH3ViDmq1SR0O+ofSbosbZdUagX3gAPq9R3ZPbh6LRjfR0Y1kRL0K3o0YTGzI0x ARIbG1jqbb9qAi55u68g+Wq0SqZ867oFEBL/KI9RTVrUkayKUkqwDlnhD1pVVeWqW2svkePuLN FRkW/C3b7zt8A7srkInz84+2R2KzJZ7joKVP60UKZulC7X3FguR5QXV2hnq/IrjqafvWc/CMZ6 RmI= X-IronPort-AV: E=Sophos;i="5.70,413,1574092800"; d="scan'208";a="237332414" Received: from mail-dm6nam11lp2171.outbound.protection.outlook.com (HELO NAM11-DM6-obe.outbound.protection.outlook.com) ([104.47.57.171]) by ob1.hgst.iphmx.com with ESMTP; 07 Feb 2020 19:51:33 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YAWR+T2KG8OIcY/VkrDaEyGRLVwBj7hCxYaH+JPKRg8D38eJfx5Ojm5sW5T3SyaxZMx2X+U3GRMJ4SgxsD4A2zRSr0q+fNberBXywaKFbQAbGVDHHGNzq3hY49mXAHfzt2gBbkFReaMxdeY435lHqW3/mAxjW3uRfZZvqP7S6h6mW2vO/p0rzIrH4sxsdi7SANntv26LNhGmWXlzEFHfr/EiJTz4HTb7xLIggu/YLYHwuGdnPYM9E+he53bDRQaLSYuAJL+1H0nmH6+891tepXg3mP7as04LIfXdxTsR3nur/1isc48Ew2T5HCe0LZw6NjzhzHM5HwirXGNj+xcsPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7JvqbgDRKRepoNrQpOvxzpbeaHw2H2qrK0DjCcAYfMY=; b=O2WcppJGk3nU7OG2TeMMKxrXeCasQPJ3EFcbG7QWriwaxt+3wUn2hAN9f7GSTyDPsI8H/wVIW4HSdrXXpuZQwvxr0zKJb9WtJzYNdXJet5qKxP3KNqdw93DG9aMaHEruToN/GlXSnsNWqimFTVDcIpHMSjnUOKY98FxMias6ZRh5bYglxDgLj9hCls+0liPM3sSfqToo9h+0jofy0GJ6ODsjxr7xFGTffVKHehnmfuZKYhTQZoBBwTgTm15/8HrzQ1tB/+FoTgAzlwZSguwyUD+vqpT/RrcjTZGDe+hRGyiOPDpxo4uS1OWqgdAjHHaEKgFVtGdzN65bvzPtoDGIkA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wdc.com; dmarc=pass action=none header.from=wdc.com; dkim=pass header.d=wdc.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector2-sharedspace-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7JvqbgDRKRepoNrQpOvxzpbeaHw2H2qrK0DjCcAYfMY=; b=JCdnuea3REoijYaYOkXPo4GnN1WwhsaZz+sGMmWvoxi+AY2TgM9XB6ZRjpYFvx73ujI39UaNt1ePk1Foyvlf+f/JBFYg52UbFf6tYCurGTtEAzn1jmwPuyz/WQLEqCnSbJ6A3s39W5i+XdZGbs69px7U1ASsZM2WimTN/XkXdJE= Received: from MN2PR04MB6991.namprd04.prod.outlook.com (10.186.144.209) by MN2PR04MB6256.namprd04.prod.outlook.com (20.178.249.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2707.23; Fri, 7 Feb 2020 11:51:32 +0000 Received: from MN2PR04MB6991.namprd04.prod.outlook.com ([fe80::3885:5fac:44af:5de7]) by MN2PR04MB6991.namprd04.prod.outlook.com ([fe80::3885:5fac:44af:5de7%7]) with mapi id 15.20.2707.020; Fri, 7 Feb 2020 11:51:32 +0000 From: Avri Altman To: Stanley Chu , "linux-scsi@vger.kernel.org" , "martin.petersen@oracle.com" , "alim.akhtar@samsung.com" , "jejb@linux.ibm.com" , "beanhuo@micron.com" CC: "asutoshd@codeaurora.org" , "cang@codeaurora.org" , "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" Subject: RE: [PATCH v1 1/2] scsi: ufs: ufs-mediatek: fix TX LCC disabling timing Thread-Topic: [PATCH v1 1/2] scsi: ufs: ufs-mediatek: fix TX LCC disabling timing Thread-Index: AQHV3YTNtuZK4xh4g0avcKgj0kme+KgPnotA Date: Fri, 7 Feb 2020 11:51:32 +0000 Message-ID: References: <20200207070357.17169-1-stanley.chu@mediatek.com> <20200207070357.17169-2-stanley.chu@mediatek.com> In-Reply-To: <20200207070357.17169-2-stanley.chu@mediatek.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Avri.Altman@wdc.com; x-originating-ip: [77.137.114.194] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 6ffb25cf-de4e-4aea-f1d1-08d7abc41348 x-ms-traffictypediagnostic: MN2PR04MB6256: x-microsoft-antispam-prvs: wdcipoutbound: EOP-TRUE x-ms-oob-tlc-oobclassifiers: OLM:2958; x-forefront-prvs: 0306EE2ED4 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(4636009)(376002)(136003)(366004)(396003)(39860400002)(346002)(199004)(189003)(71200400001)(5660300002)(6506007)(316002)(8936002)(2906002)(52536014)(33656002)(478600001)(26005)(7416002)(558084003)(186003)(55016002)(9686003)(7696005)(86362001)(66946007)(66556008)(76116006)(4326008)(66476007)(54906003)(66446008)(64756008)(81156014)(8676002)(81166006)(110136005);DIR:OUT;SFP:1102;SCL:1;SRVR:MN2PR04MB6256;H:MN2PR04MB6991.namprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 77hneixuK/VoH/VoBMlua/LeXoYwkFED5iizP85hbCEpoUuAJrPW7tsRm2BsARuEIW8IhTy0GwU8R3JFJQXZSxWIYUOwFmD8ShK21Pg7yjNixHjrCO5+l6+18OV8+h617yIwjlLCGhgJIZjxFfs+JvkaLGpNMvOjngk/ATLHfvrwE15qJ7Y3RnzH5EsapUIOgWRW2tyKo1n7oLFNerO0PGbfUGX4BrdmSVb4IuthF+eziI+UlUHC+NeMPR5aSlmJnV7H2H8O/zn53Wyr5A1BymM1fhCvc4LtED1RTECj7OpuiLB3uX5AMSoJd/szH3fn9JoxwLVi1Z09MN6uNUuepCZ7rC70h4UZl/DwefyWCPqA5+qjAQ2LlXLLHagdvRc2E6qqvlAsufmvLltmDFyoVyseJb7Jlojo2ItVuq11IKhMdOO4fteeDGmUDF57HAyg x-ms-exchange-antispam-messagedata: o5Ls9GzLhCtzAHunXBo+M6x2Bg0VuT2NIhpSdRyr54DjZOLoUDAa9F5lFuiCfmjkv/DMj78quBVVErFHdUlaHeVdNGHb6ElhR6fBUqDR3fsYOX8yqQ+ZW+OMEw1BSroyMRPH/RxxvjCevY5mL6yDXw== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6ffb25cf-de4e-4aea-f1d1-08d7abc41348 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Feb 2020 11:51:32.1283 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: tv4BQIa/CwpzhgOG0jItlvAXc0zlOQDtvtyoEjQ8cmP7RxY2GXQRIaXM2xOoc8Eoz7XkGzm0Yx6Q0GAEFm8RBg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR04MB6256 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > MediaTek UFS host requires TX LCC to be disabled in both host > and device sides. This can be done by disabling host's local TX LCC > before link startup. Correct TX LCC disabling timing in MediaTek > UFS driver. >=20 > Signed-off-by: Stanley Chu Reviewed-by: Avri Altman