Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9035491pxu; Mon, 28 Dec 2020 05:03:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJwbkmSXM6+uLS0LKxUSXRH3vps+RGH+7tv2hT8tgb4tfOAzpItjvd23FxVCeNzP1a17IkDO X-Received: by 2002:a50:8741:: with SMTP id 1mr42687836edv.349.1609160623834; Mon, 28 Dec 2020 05:03:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1609160623; cv=pass; d=google.com; s=arc-20160816; b=gNVxGGNSYvZlalX0G8avUAOS87U1EZ2DaUAmBDR8OqKRW6HTBDmaecD04a8UCxDaz+ akOx22u9D6RBwOyTorRpPjAgYfl9iT9sywMlNj3XDbJ/Y/54DqE05vn3G5e4TW6JDEtz oaPgb1XS4aIbWEZg0P+DL23rps0eLplKUh6Kp97m2zGgN42hnH+xZpBz3FGjGPtTFOsP jf7GjD6k4mo7Y1Y7+rC4KRzEbI1AngUKNoZ+3aPxTTxlM0kdfvS20gbr05jAGy8M5+yb PXOOr/ZskzGiZposZQFxmVRRgjnLsUDh6/bXLN3wuggGMW/uesrb2IVZJCbOK38Xw2rG uuEw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence: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=8GXfwboeRQXyegt0P1ZqPiHGrq+VYz20x6Ng7HfH8kQ=; b=EV6tsR9wsjoXQs5GGpJHzWWoxizxCvTjg5cQzzwVHxNWHLKepFeXYTN/YBFvf4RK2X IUD4JT+GXuJRSGCq4uhL8cwBoimP4fJQZx+9luN/8a8OcGGgEy5CPgHFSn4xkrkf6jCK MxCPr2/A8xtuNxAL+qlpxAiAivu4VRsAURHxq1bRrkBBLe6Ps8f2PTMLq6fdwDiOBLe2 HVNohK0+r8jamWeXc4Y2Bd3tiPYPW+VyXu7wufuaDs19rUPAuHHPp0sw+78T10j+OptM 9YAXN6nUGHDDdhxcprwmRf+ZS4sa2tmMMl4SVKy4TLSP2TPRJfyih0armgop068g05+e Klsg== ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=FajtCoXl; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=N0TXkxtK; arc=pass (i=1 spf=pass spfdomain=wdc.com dkim=pass dkdomain=wdc.com dmarc=pass fromdomain=wdc.com); 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=wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b5si19013981edz.214.2020.12.28.05.03.20; Mon, 28 Dec 2020 05:03:43 -0800 (PST) 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=@wdc.com header.s=dkim.wdc.com header.b=FajtCoXl; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=N0TXkxtK; arc=pass (i=1 spf=pass spfdomain=wdc.com dkim=pass dkdomain=wdc.com dmarc=pass fromdomain=wdc.com); 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=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729849AbgL1NBr (ORCPT + 99 others); Mon, 28 Dec 2020 08:01:47 -0500 Received: from esa4.hgst.iphmx.com ([216.71.154.42]:7627 "EHLO esa4.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729524AbgL1NAq (ORCPT ); Mon, 28 Dec 2020 08:00:46 -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=1609160445; x=1640696445; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=8GXfwboeRQXyegt0P1ZqPiHGrq+VYz20x6Ng7HfH8kQ=; b=FajtCoXl3uqQKwT0zs5p5BfXtPrSPe+xgH5quqH0irEVMooINKVHK9hi kD8ZiMgCJ0EHX9sYO4ls0gPXI5SBvFeUP08/6J4n80f3MAr1SmJ/4m9FN bQMIggTe2eYvYGxWDQwWOykTgi2hFkzE4EjNbk3Zq+MxUNdCqPb6FtEyo 56kqWEWkDRdfcekqFaVCmdIuWF2ti9WTpFwZFHOYwnPgTKb8BbYzpAN7J WGdzMXeLFAP+RbJez3nR3A+/Q/RJLtozKnf2ulJMUWlssG8pXXyVSHrzn A0PqJ/0/0QpI9J7fET8si65CPqc8+3Y7gpAbtQek395PbILigKjtsqQj/ Q==; IronPort-SDR: trp/8wDWdj5XAXaAbfArU/P5M0kHfGW1zsHuRPdkBTKlG45L1wMjspfsg6GHmYLhnCP+Ry7OmH QkKh0/YQh9NlqrkfTGAubidUqP45RpTcdgR5gIpNeV0kTBC4TMhaqbZRp20snKJ7eS1OZb/K97 vntkBl/0r71n+Dxjfs8Em+OrsudC/nFQRSFOZLEMYAWM1gj0y/g4IZIZArZNBdImfTw4eAxjbG KlZWwc1QGYljpHNBWDkTVtmdO/tql4UJrauGH9Qo5Z5KwJ8wDDR+Frbrt7kQSDW2CIJoB5iONb Bq4= X-IronPort-AV: E=Sophos;i="5.78,455,1599494400"; d="scan'208";a="156158953" Received: from mail-co1nam11lp2171.outbound.protection.outlook.com (HELO NAM11-CO1-obe.outbound.protection.outlook.com) ([104.47.56.171]) by ob1.hgst.iphmx.com with ESMTP; 28 Dec 2020 20:59:37 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ErX13RUYWBEbaaq7Jdiui4olJXzfRM3HjdlfIle6FF2nA30ReSSjSyp8RPrAxVvId3j4L5354uOXQOYTx5dB6EyEFK48dzoqoC1OKmtdOcqKq8UhU/iNYpA9CEdM9uDUN0gkzV5zf7KV6wG3udnLDgENxiOvhJcfIrasuqrQWTRmdn4JL1XpZMgt4LSlN4djSTSQltKi5GLccc1zCMi/RH0UE3QzbNFsGqFVkIp0rzVNL31/ohxwwsj1NBRETa5kFB3dRvCF4v8KZvZWS+c1y+q8m9BeB/a7lqFhsr+sLtdLTZS3qywkc3TtyFESfJCXiPzJaAtC3rulkjXCU8pzsw== 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=8GXfwboeRQXyegt0P1ZqPiHGrq+VYz20x6Ng7HfH8kQ=; b=ZKOGsNBIpBgTDhcXHFDGvih+ooVI/vIDypAS2jjsLKOkSATESthvhE0ZldCX5iRmc+ntNhpJc7DGiPdrvu5S6eCOjPw3BiO594wQYhmJLaOCFkuQkTxVBSuCF4kakWSsZTBi1Z+1B1c7/qJiwYGoWQL+YcHa+MT6J+Lt10eSwcgGx4o33CETpCPFbN7o4myhRIWIJncXNs2Aw9GrbnLDmoYZAcVpuEQtEyXbm7LDC/97jYZYWz7ZhP7De4kmaiC6bcGO/QWeHm9mPlfZaLkEWTLAFdZ7iDHTwkOIRK7Vqv0JGIC6kPR/bBioVNYxKYlAic9tRilXL+j8cXWjauojOw== 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=8GXfwboeRQXyegt0P1ZqPiHGrq+VYz20x6Ng7HfH8kQ=; b=N0TXkxtKubg0hHTtOC4XUwKY2JJyjU+2w4zNppX53kODcJONb5SyvcUJ7GZO8e64TP2Hi8ue+N5wP/876ujk6Yn4RqgZ1GcTMXTFn3vnVhtGeeWT9DnGz890gKZNCWH0+G+iWxxgAs9oTJHeid+ziyrMo/qdcvIwKt9sAA+Ome4= Received: from DM6PR04MB6575.namprd04.prod.outlook.com (2603:10b6:5:1b7::7) by DM6PR04MB4156.namprd04.prod.outlook.com (2603:10b6:5:98::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3700.31; Mon, 28 Dec 2020 12:59:36 +0000 Received: from DM6PR04MB6575.namprd04.prod.outlook.com ([fe80::a564:c676:b866:34f6]) by DM6PR04MB6575.namprd04.prod.outlook.com ([fe80::a564:c676:b866:34f6%8]) with mapi id 15.20.3700.031; Mon, 28 Dec 2020 12:59:36 +0000 From: Avri Altman To: Can Guo , Stanley Chu CC: "linux-scsi@vger.kernel.org" , "martin.petersen@oracle.com" , "alim.akhtar@samsung.com" , "jejb@linux.ibm.com" , "beanhuo@micron.com" , "asutoshd@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" , "chaotian.jing@mediatek.com" , "cc.chou@mediatek.com" , "jiajie.hao@mediatek.com" , "alice.chao@mediatek.com" Subject: RE: [PATCH v1] scsi: ufs-mediatek: Enable UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL Thread-Topic: [PATCH v1] scsi: ufs-mediatek: Enable UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL Thread-Index: AQHW2DQ3JDYDYaEKR0iGb34jWf7AcqoC/HmAgAEYvgCAAAYJAIAAMzzQgAgzZVA= Date: Mon, 28 Dec 2020 12:59:36 +0000 Message-ID: References: <20201222072928.32328-1-stanley.chu@mediatek.com> <1608697172.14045.5.camel@mtkswgap22> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: codeaurora.org; dkim=none (message not signed) header.d=none;codeaurora.org; dmarc=none action=none header.from=wdc.com; x-originating-ip: [212.25.79.133] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: d0ad947b-ad23-4c8f-8957-08d8ab306dfe x-ms-traffictypediagnostic: DM6PR04MB4156: x-microsoft-antispam-prvs: wdcipoutbound: EOP-TRUE x-ms-oob-tlc-oobclassifiers: OLM:962; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: pMMZtha4sr85EHpUIpC1NQCRFSSx+0vJOGaY57HoG4iuR0FQvTVSMv6qLThoO4yrV8gh/vrW+dm96k5TdJcy18UHgWJzSO8Zi131u5CaAwuB5/XUEmFTGg7o6YMZOMowP7PwVCUmAmDU033UfIosglRw1zB4aidQJ5Oc7kXJ3DEK1pmVzR9Oan7X6slZVLVncXRJmp7n8H63/o6vjNWpLCDRGBibOvLnmnlR5HY9nxYaDEWj27weHIXcGYjoNmGoGtI1jKms9Xfg57Lvg5/RJ+oBWqM9XVejCbAVZ0fJLLYJGPVLzzrLHIux/kvpyNRQ/JmxayoQ21XBd2ZeQ5MjwJbGgYP4URbrVAO90bzchjnVGQaHvcmGfYtLZ50xTdN2Wt1sA9mVEEfovPwoAvuz5g== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR04MB6575.namprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(39860400002)(396003)(376002)(366004)(136003)(346002)(8936002)(71200400001)(4744005)(5660300002)(52536014)(478600001)(54906003)(64756008)(4001150100001)(66446008)(7696005)(33656002)(66476007)(66556008)(2906002)(110136005)(8676002)(186003)(86362001)(76116006)(4326008)(66946007)(9686003)(316002)(55016002)(26005)(7416002)(53546011)(6506007);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?E6DQ9T4S3vb8cmtDPVvzetx2mPJatAkbQVX+OuYSdIC41CKB++kbv/BCeYey?= =?us-ascii?Q?0yNVrxWjT1NE1nkzgTnqA1WCQqzH1XNdboC9wu7nPO/5ktf/JgkVN9IlKlLb?= =?us-ascii?Q?ZzM6icl1lVA7+axkPQXBMh3T7RRH7ag33+BHZUbdiTbIit4nCzrNUU3hWHiJ?= =?us-ascii?Q?/qgDv6cgubQSrHWb3dx3bzPQEXPnxwvf8dPO8f0x0fUKPVa/WKMpuJREkl6K?= =?us-ascii?Q?1Q2JM6/edR0G0FMo5rGv3t9AZKd6h1uh+D75UBoQTWWiGaxDRW8dz3Awoyng?= =?us-ascii?Q?TsX8mtQvee9bWuADdVyAW5gTyrZVXPf8OZmr7ere0LNUVxHi6mhfqGYSgxNW?= =?us-ascii?Q?/bGJOQ05ckRZGZUeim0YJVokVlWtIPSNuh7v7qAg1Tyb0K+RITuo8XyKyZ/n?= =?us-ascii?Q?I1c49uL7g5d6hXZJLVNwcv5IyAz5/f5RD9hoHMyOIhJzMEphg8Zx7XaRVR9X?= =?us-ascii?Q?+d/aEER3G9+m5FCrDX35XCSsONHBIY0F6yLJKBmI0/Q/QiEaMcuIhbpxYMca?= =?us-ascii?Q?ZMwXTE7yVc1MqfqRCFsgDLhymoCwUo3YYPZWcDFzMUoJVgPOWgbAlBOqpttR?= =?us-ascii?Q?5jRmHPPyn1a0Zq786prdANA9l9XodeYw+CTC61bCRtcLUs4esQQia8/GYNsF?= =?us-ascii?Q?B8n04GJzxxphk6ZYPDPw+lLuRCI70gu+FV8s2nUZg4Kf3BbWAfGL/vklHNi8?= =?us-ascii?Q?+8bLTDUY6iZ9KSPIrMBjI6/RSV5zXC4e5hVLuyT8Yftnd1u/V0kpyYM8w+uk?= =?us-ascii?Q?HKwuD4H3lZ+yQ18DRgF8NVgTzh8fhid+FJIdsDq/KCNwKVY0TSrFVyjKhOZd?= =?us-ascii?Q?tYjNicx/SsB2b/Zmq60l1DRTBL/C5I8p7KaAMY4Nmpp4rGjd9QD0XWIezJ1y?= =?us-ascii?Q?6rRB1Q6kYG5vkAulIoT4xUccxejgd7Dazb0DEBzNfZ6Eov0nCFXUeOclfKL5?= =?us-ascii?Q?TMwNPal8tbN5nnvYh9av5BlWpiA7SK+YA5X7wpQh2Pg=3D?= 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-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR04MB6575.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d0ad947b-ad23-4c8f-8957-08d8ab306dfe X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Dec 2020 12:59:36.3390 (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: nmsBCEYYATUH34U7QaF53bIb1nRbrtNBt1DYMgPhkQXxccuUAdZOSXCrZDeqS4JmWJlgHIMpxUKWEpYc0wdhmQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR04MB4156 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org =20 > > > > On 2020-12-23 12:19, Stanley Chu wrote: > > > Hi Can, > > > > > > On Tue, 2020-12-22 at 19:34 +0800, Can Guo wrote: > > >> On 2020-12-22 15:29, Stanley Chu wrote: > > >> > Flush during hibern8 is sufficient on MediaTek platforms, thus > > >> > enable UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL to skip > > enabling > > >> > fWriteBoosterBufferFlush during WriteBooster initialization. > > >> > > > >> > Signed-off-by: Stanley Chu Reviewed-by: Avri Altman