Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4591088pxu; Wed, 9 Dec 2020 23:49:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJwZd51Hm9Fr5y4mPWKo5hKoV2EGtnO/DBR1EQbR/vyatgIXSN50kae0bv0SXf/h86isdzO3 X-Received: by 2002:a17:906:175b:: with SMTP id d27mr5342540eje.260.1607586564149; Wed, 09 Dec 2020 23:49:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1607586564; cv=pass; d=google.com; s=arc-20160816; b=qe60I/vV3xEQbOthM0+Q0XN1sefd8q/OM/Vkv+KiSZKQt/ZPmabEmLy9uDu4NloRHE scYEMRh9/WqbutJNHXMUnDNJBNXU+qHzRpQl83jysqkjBbxWah+2lShZe+CdhFsMM4Oi p8PiyVLETNVw7EC3B4bv3tIP4bgwM8Ga4sALOAhRqh9shdTZICvl2INkblO2WcBrku0j r6Yzo4zHUInlpMX6vrkavVqmmFtI5couc+YeRdwLhqmo1edAyFZIQkBxM8UWYpnxRYmw dqHcSLhwVZyKpuvsr+z29EUzKX/ZprMU9GCrJLxxvKWGwTwa2+/6gkcZYTwdpDypa2fD 0RFQ== 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=Is2wvUH9qnRbaw2drluzY/8GEebrizNvEBIpkpw4tjA=; b=rKsRbTVynL82tKvw0/1afdwbnTW+JwvAn/D9AuGyIAN8fD7fDsQvu1XkjpR0/auJKK C/cIRIwEfY2MciNtog+D4XNFkd+SeqhpPfn55A5fVnbEq47wN7OZeQkP1GLmANVFJS/L K0MVb1MuNDb/l84Y4IR3NYhEbvZPQc8guI/ce/p0p1yqBuKlR23n14ux/rrBedQQddKQ f4xIcuDdRj64hDTpOWqac3Elc3f2AsTvRxBQsF5GB+Rpe0dxZwHq5EEiXiJBIen8YYT6 xju/QKvVGGkKmDH4y25o18xGjEQdt8gYULM4G97eYgU/CYtUSLsWkb+J2q0lUsYKQBSX E6lw== ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=MiWHti2I; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=MgEsXhDV; 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 u9si2118842edb.338.2020.12.09.23.49.01; Wed, 09 Dec 2020 23:49:24 -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=MiWHti2I; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=MgEsXhDV; 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 S1726826AbgLJHre (ORCPT + 99 others); Thu, 10 Dec 2020 02:47:34 -0500 Received: from esa2.hgst.iphmx.com ([68.232.143.124]:47372 "EHLO esa2.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725896AbgLJHre (ORCPT ); Thu, 10 Dec 2020 02:47:34 -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=1607587395; x=1639123395; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=Is2wvUH9qnRbaw2drluzY/8GEebrizNvEBIpkpw4tjA=; b=MiWHti2Iy9JxedDaM5xeDGnxdbShSRpVoH3eYp9uf1sjn42ZaBiEs7nm nkZ9mz2YFKGzvueZyL5ncmjBTKtPDBABJLL/C3M1wj2oNzgi0rVsesarD RcnzUcBEN51QRZ4a79dD6niDM/mTmkRZueT2/FiJ6eCS9tES2Il4ilv08 yYKonR4yPjkyCDuECDzY8eL/m8mJliWnp/nOE88d7FsUuZLuXP+F3ixme 2NGlstDqwGekWYPk8zenUWxk0bq3kDbn0Ez2AQNMXNQAtwCZfyob29uWA AMRaJdP9Y+gzFcRhOXoZmpWPnXKI29DWVbzKoLUO0WSYVJT6uMihm1IwQ w==; IronPort-SDR: +zI7LU6CkRgfIlMlc4irRwhM4JsldnDoijGLDiGJZLjSygKkWHqyApgRyFciAnWhNY6xdQ2tHG ZZNThYUX/NP6I9L6C68lpRsR+7nZwbAZVxeTkJbt5QcK/FZVNRBwIEnoWDe2Vx4wtWr9l2gIjG lrxHgpT8aoNrwqfd5/LqcbMwKoTqw0ixOMv4sszF5HeRSPBHN5T3pseZssRCGcnsI4uOmt4Oa7 w5iFlgDik4CCU4sUA7M0pL+Ukk398vkGrj59bwkgQep915W416UwnB5k3ZvCcPlDDOBeWor2Z/ 4aA= X-IronPort-AV: E=Sophos;i="5.78,407,1599494400"; d="scan'208";a="258563130" Received: from mail-dm6nam10lp2107.outbound.protection.outlook.com (HELO NAM10-DM6-obe.outbound.protection.outlook.com) ([104.47.58.107]) by ob1.hgst.iphmx.com with ESMTP; 10 Dec 2020 16:01:35 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=e7RSA8bkAui9Go0h5Qy6u0lRWPqROwx1zOSf87CMk5TgVGsr6m4JaGO8UzTP2XJQCpbHhxd+WXnYQbU87tMKw9DU3oB1cpo9zVo/cCX+H83bslCuyeM/8w+R7r5cQsl7HXS0hh1P1HB+IjAOttufvz76IaJmNR2HHe62qlxUIpZIDA4JqOOhysse/9vhRgljG4O7C/FO9Gf8ASjv2I9YBN9w90nI1wvMBvqU52BZCTZKhjarZC0QLuDYpGstnwqKY+2+/ecVm9dWLJLYC0+fhl9Ch6186Blp61YWVe0fIDB//KcXZtzmoFlyTpWr8PSGv3Jl3RbY/wf6klucMy9cHw== 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=Is2wvUH9qnRbaw2drluzY/8GEebrizNvEBIpkpw4tjA=; b=hyjAli3KItbp4esYWuyZ3q4bhxO0JGq8O6/HJny0ehgedv7t+o7h9lwNhiWxMcyBFpBO6jjcRqSZxtX6jOEzVwanZUGIIwTg+zNcQ2MEBPrxJe8CBuooC0zcURiambioeenJoQXrhrEHZT4XZY78WvnbgHs5q4gjhLqu/GRgT8pF8vn+APg5lR+lxUG8i9oT5DrFW5eFYaRmustizAsE1/3AwkCMVF9yyTS5H2bNby9NlTBWcCPqP3tOOsZF6fPmBeG44UWTUw9k68Kn3c4hDVDhipY+XiBgl91Dhn0MpO2IrmnXEWESSUwp/s8pGcA53XST3qKOA2yshRzcRjO31Q== 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=Is2wvUH9qnRbaw2drluzY/8GEebrizNvEBIpkpw4tjA=; b=MgEsXhDV+pKfu0yHdbVBgQwij8bvoruZ3yBWUfivf4yXOvRVvk5TRc5s4WG8DSeBME0dbdj2Y5qUaIC/qb10+wgetvgL785SPDhRAaBTn3dxme3sqfBYS/Y6Pvm+BlMdYSeAHp/I/sxwpC5VSWDQ/5P99YRiyTjoQ1Zy0HxANnc= Received: from DM6PR04MB6575.namprd04.prod.outlook.com (2603:10b6:5:1b7::7) by DM6PR04MB6140.namprd04.prod.outlook.com (2603:10b6:5:12c::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12; Thu, 10 Dec 2020 07:46:25 +0000 Received: from DM6PR04MB6575.namprd04.prod.outlook.com ([fe80::a564:c676:b866:34f6]) by DM6PR04MB6575.namprd04.prod.outlook.com ([fe80::a564:c676:b866:34f6%9]) with mapi id 15.20.3654.012; Thu, 10 Dec 2020 07:46:25 +0000 From: Avri Altman To: Bean Huo , "alim.akhtar@samsung.com" , "asutoshd@codeaurora.org" , "jejb@linux.ibm.com" , "martin.petersen@oracle.com" , "stanley.chu@mediatek.com" , "beanhuo@micron.com" , "bvanassche@acm.org" , "tomas.winkler@intel.com" , "cang@codeaurora.org" CC: "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH v3 2/3] scsi: ufs: Keep device active mode only fWriteBoosterBufferFlushDuringHibernate == 1 Thread-Topic: [PATCH v3 2/3] scsi: ufs: Keep device active mode only fWriteBoosterBufferFlushDuringHibernate == 1 Thread-Index: AQHWzaZ8p0p5Ox8520exeCmeSmtzuanuYT1AgADx2oCAAJ/uYA== Date: Thu, 10 Dec 2020 07:46:25 +0000 Message-ID: References: <20201208210941.2177-1-huobean@gmail.com> <20201208210941.2177-3-huobean@gmail.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; 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: 856134fb-f200-40b7-bcb2-08d89cdfb26f x-ms-traffictypediagnostic: DM6PR04MB6140: x-microsoft-antispam-prvs: wdcipoutbound: EOP-TRUE x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 8iY8Xf5lTTByhPtkTaZ/q3a7FfgfliSjQYRSNd4nSCGb3miAJ6QpBF8zLhFC0JikWh34+AZBGWN7TzQphCvrEH2PuMLMghy1xzOIv3kyAU2tBsr+lMoh001uWbkBpj1n5GhfSxmhSbk8nH2ImwY7ePjU6YMLw5nhdP6HlEJuHvW+yP8QNAJnUdxufIlYbf44c/5qXhxut5tFrpbadUdSExL2GyUDSR+y2i03HwAnTZM+sJNEY4hE7iuBZQWVQVN8ZzQhH+bVi3YaHV5rJjGmf6dLbFZExnfitS5Jra6Q8ZIXzpHZ6QkEwyPEF7AVOAn/x2lUbQvhqPp3giiyhNMjiYFFvQIR4tDT8t8h68eDTsjVQH5h/hEht8VD++BqOQnNt/KxHFOkWmDfxCO7+1u78hZFM6ZErmmED+4tjDHX2Js= 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)(346002)(136003)(366004)(376002)(6506007)(7696005)(86362001)(54906003)(55016002)(110136005)(9686003)(921005)(8676002)(76116006)(8936002)(4326008)(52536014)(508600001)(71200400001)(66476007)(66446008)(26005)(64756008)(66946007)(66556008)(7416002)(33656002)(2906002)(83380400001)(5660300002)(186003)(145543001)(213903007);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: =?utf-8?B?Q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YXJUeFF4?= =?utf-8?B?cnp1QVRpblg3UVJpYVVOZ2paTWk0L0lINkwwS21CZlkrNm1aa0Z4bzlmUHVy?= =?utf-8?B?ZDBmcHRHQXJuVXNMcFFmUm9FdkdMMkFRUTk0NGNCZTNta21ZYmJlMUVXV0V4?= =?utf-8?B?RnBDamhIWktYb056R3Q1YUQzL1FEc1l2d2M3WllyQVZTY21sUCtwcWxNeExa?= =?utf-8?B?cWR3cWtld3dQdFFQSFZCano5VXBXQ29NcURvMVhsNVhhZWNzMGJtL28rMFlv?= =?utf-8?B?QndKK1BFYkNwRVNmWmRBOWNUVk1PemQySm11OXMweXppZ2xDNVlnWWwydG1M?= =?utf-8?B?QXhWUXhla205MFdIckZ6TW9CTzlKVDY5UGppMURLS1hkV0UxbURPdVlRZnV3?= =?utf-8?B?emF6c2VWakh4eE5wcnNTMnB5djg0Kzh5Y3VVcXhlbXdTVXkzWWtJaFh5WkNO?= =?utf-8?Q?xo6G7m/a2gLM4=3D?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 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: 856134fb-f200-40b7-bcb2-08d89cdfb26f X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Dec 2020 07:46:25.6619 (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: EoOq2RPLey4glrtSNljRKKM/0qkIao9wA6uoRPaDMEZ1nOEV8Y7R9dWdvwEpU8VDvDeTexR+AkH3dqyvW1u6aw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR04MB6140 Precedence: bulk List-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