Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp122199rdb; Wed, 18 Oct 2023 21:53:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE6dSVsNEGkFt1ninmhw6qUc40DZWGc4eVeay0J87foNXUUS/Wthw2CNuvPlSfbkWp+YtEF X-Received: by 2002:a17:90a:49:b0:27d:5946:5e36 with SMTP id 9-20020a17090a004900b0027d59465e36mr1184763pjb.32.1697691186648; Wed, 18 Oct 2023 21:53:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1697691186; cv=pass; d=google.com; s=arc-20160816; b=D4gYpcRCW7PbDlBdg/27JPOebBracEhHxoOUUYgoj6QgN5Hx4dp0lL9dxJ47LG98Zf mLqvA5FYiFsgAND+kzrfSR7Ypay+liwbOZ6vB2roAOoxoqJde6vSsueeVFfxVRL6iPX/ Qd5W1zXxInt5lJ1dUGik5sXEEafiPfArZbdE168WbIGUqxySaOsllqfw+zQZLvw4LsZV F3zZQQzAMZyx030q4G8esE/iB/Q++TK6o74bV9Lxw3/BQw2oYl4WV6eBUhQmClwW0LUd SbTJl7wnAr/FK6Q2+25J3i3U7q63j9gI+sGA0saUuwKVNVTTX8H9EqNWWvMIz2VEwFrB dYrQ== 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 :in-reply-to:from:references:cc:to:subject:user-agent:date :message-id:dkim-signature; bh=gHQRqIjNA0AFrcQyiFOb3rL31W3SNE1gKDXudF+4aV0=; fh=gAACZVjOF5oITSzj+KWncFW2N6RYGkVV+q06wqiZFWY=; b=QOV2TWS2YlUlyT3848qfDZnJXC4NQqyyWfaQyQkmxrwjPx5p4V58zjdL/rHU6stv1C Pa4Hio2YaXlpKZ3mowBWK80wIV5swl6PyUK4L3mPYIVQnoFhlWlHQBwcgQfDMPNgHf8C 9n9hbARPAGUSNjC8+H1iSMFqOIwwXX/nG4Yh0v9qGfYbF7gJMEQP6t7vAUP1EQoKB6ti p7D+PcSIVsSKXyJbCk4Q3UoHpayvkOu+ck/GRUJ5pWzrEW3NQKW8+4blqFIBvUcoTqD8 k/y90t1PqI8ByYHYFghZuBvMr+L5tNu1JvtMxIpaQBiqiDor6GlWZ2fJRM+y7xUhiTVX ONGw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=qdABdHwg; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id rj8-20020a17090b3e8800b0027b0aac2191si1444593pjb.15.2023.10.18.21.53.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 21:53:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=qdABdHwg; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id AB1918029571; Wed, 18 Oct 2023 21:53:03 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232583AbjJSEwr (ORCPT + 99 others); Thu, 19 Oct 2023 00:52:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229894AbjJSEwq (ORCPT ); Thu, 19 Oct 2023 00:52:46 -0400 Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2111.outbound.protection.outlook.com [40.107.255.111]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0AD39F; Wed, 18 Oct 2023 21:52:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S2e/R6ptx0T7YVNrQI3HJXnJxt4sqDspqrtQnCpe90f+DQ8ingFyFTwdZ2paiSXLX6iBamq4fSnoSxeWcyMBKNHKhxx2zqahNQBKfBSAz4M4w/rDgkw84AWnv2TVG9cm5bmT2IKtdD3ShopgR12oiGkZFZ4T6upaSjycJ5Uf19tg2V5qvveVZjwtcxKsq4dw6ZQo6vtblZyQEWiw2O3nbJCyngd1YOp+aGpOus+CckGu73dWi8HQpy7SdFUOnPOZgeB6Kf+rDiXZJRFD/SVOttmj6FNiYSWJGujqy39ze498eDG696WmUPzMOOP+3mpNBYt3uRQrmkW1l/gl4HEBhw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=gHQRqIjNA0AFrcQyiFOb3rL31W3SNE1gKDXudF+4aV0=; b=QhqZ86T+nLHzwx3uMTAPYhxIYcgmTRuAASUCJG5eRx8jqCwmfw+SESM1nSXb6s+0aB32IpJ3FCLRDYpoMGzwk8ePX7oopCyUFGrt/StNuSnOLYnXJWGLUk1Ptr0if3EWnbDtpvWRhJxERpDNBAY8I6xP86VlUXGtube7neXkHBlqR5iwAMYvRUtVtds7fKD2XOVZ+S+syYKMfWDg8K9XPaQfLpCQIMFzw3W5z+yXnX79j/OFuqDgjefzVgZnDiu9JLVulvEjlIao6zTW6Rmus7a1hWUZmmxIRLeq/1KyQHuBsqMluzjj+ZHtSeql5WFEy03MOqZwA/53CfvxGTwE8A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vivo.com; dmarc=pass action=none header.from=vivo.com; dkim=pass header.d=vivo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gHQRqIjNA0AFrcQyiFOb3rL31W3SNE1gKDXudF+4aV0=; b=qdABdHwgqG4zQO/lIn0i4ylXOBdK0BMorcpLXaDCQakgQlgeZ/gxQOznsV1a62vXbmGonDtiuWRF9I+zyT4VgT5kQdJm3It301lRQ/fqZEr6iWNUHxd7MBqtibT2THAOZenqNljKP3vuJPBMmBMp0FVgT1KfuFkRtY6U1M6kHelyBnwk1DfHDSmOEb1SoLB6iskVajeDlbAvplbG4nwMYIK0A153fXe5dsoWfHV1EmZJU7tPoLeoTkK6S3Yb4SIRsAF+aQcUXzEpTUZcIkHupK8vH7T+7MoO/wXgTawkYVQtW0BeR1ZiecN7pTx5SM1nY/nUgD5Sud+wzWRWnQnDrg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from TYZPR06MB6697.apcprd06.prod.outlook.com (2603:1096:400:451::6) by TYZPR06MB6141.apcprd06.prod.outlook.com (2603:1096:400:343::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.22; Thu, 19 Oct 2023 04:52:38 +0000 Received: from TYZPR06MB6697.apcprd06.prod.outlook.com ([fe80::e9c4:dade:c65f:a63c]) by TYZPR06MB6697.apcprd06.prod.outlook.com ([fe80::e9c4:dade:c65f:a63c%7]) with mapi id 15.20.6907.022; Thu, 19 Oct 2023 04:52:38 +0000 Message-ID: <86e5cc25-80f7-451b-9067-a220c7a2c39e@vivo.com> Date: Thu, 19 Oct 2023 12:50:32 +0800 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 0/3] scsi: ufs: core: support WB buffer resize function To: Alim Akhtar , Avri Altman , Bart Van Assche , "James E.J. Bottomley" , "Martin K. Petersen" , Bean Huo , Can Guo , Arthur Simchaev , Stanley Chu , Manivannan Sadhasivam , Asutosh Das , "Bao D. Nguyen" , Po-Wen Kao , Eric Biggers , Keoseong Park , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org Cc: opensource.kernel@vivo.com References: <20230911055810.879-1-luhongfei@vivo.com> From: Lu Hongfei In-Reply-To: <20230911055810.879-1-luhongfei@vivo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: TY1PR01CA0198.jpnprd01.prod.outlook.com (2603:1096:403::28) To TYZPR06MB6697.apcprd06.prod.outlook.com (2603:1096:400:451::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYZPR06MB6697:EE_|TYZPR06MB6141:EE_ X-MS-Office365-Filtering-Correlation-Id: 8b57771b-7a1c-472a-a0b1-08dbd05f3814 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: anTSbKCNa5CUKUsGiZNFwmwqsX8yfGFb0FyKEYTVJeqk8nhRqCHQljsklF64fb/UkFKEu81J/fn81iQNrR85m+crcgTLJxSkhywwsjhtuIydqyXWoG6b6i/YW4ArFusftgZSF/lhYQbc9/qVXdsEdE4IIyAzKW1Tk+MU/wi3PjYYVRwPCJ5hPo+xDffRuDtJDYVjIt7YRsaPD8Ju96/JooO3UZApwtQx/OyHn4Gj2eOYJfBK1X1Wp+G8uyUmA+bT3wAlXZt7iBW3J6YPv2tyz5ca0s5u2uiAdFXlutDZ9Jjg6jW73ndWqDAHoHCtQuRaWcerAry3tT0QERmzSaUV3wui5vVXyHxtpzF2uaIpgbyIIhJdl5JX/Tg9S1SXaeToOuym3mHabLSXyzXjVN3/kYEg/U+g3aodJUfcRb9kksH5JCDS8G6bPMXDfLS0cb8TBDukJbm5LeVkKm+4OTwDayzhjJMDQwqezh9NTGriBI4DELpGVvH4XQYfIjOtTTfKwCmnjPc7qiDEThv5v47l24gxu66VFMyRy+FtBpc8hfK2nE5jTWZ9ZsQ7Z8Bw2WfweCCvj9BWmjUtEul5BDwkQ1fWBAISXNW5CJSIgZNzZnbSVsATPxpNnJJf70t1a+dkJW69zckJDwacEBCVBHEa8h8yDQVmRbb56xjWRA2eqf6P/tuOtCtCytO+ZY5IBpSK X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYZPR06MB6697.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376002)(396003)(39850400004)(366004)(346002)(136003)(230922051799003)(1800799009)(186009)(64100799003)(451199024)(7416002)(2906002)(38100700002)(6666004)(110136005)(66556008)(6506007)(66476007)(86362001)(31696002)(921005)(66946007)(53546011)(6486002)(52116002)(316002)(83380400001)(6512007)(478600001)(8676002)(2616005)(107886003)(4326008)(26005)(5660300002)(41300700001)(36756003)(8936002)(38350700005)(31686004)(43740500002)(45980500001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?R2VzeERKeWU1dGhVczdWZDVDMjZmRVYxRDVlaDhNMXRGSkp5M2ZERTJLNlpL?= =?utf-8?B?Y3JWUGZHd0NIN3MrdlozaTNqRytRVXRzVGJ1WW1iYXJXNGE1Sjd2ZEIrbmNR?= =?utf-8?B?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1VkRGZvZ0ZRZVQ0NXRE?= =?utf-8?B?TlVTRFlWM0VxaXFJN3lhY3BQYk1hR0NCYVRFZDJuZTBDc0tBdTQ0ZFU5Q2Q0?= =?utf-8?B?Wi8ycWtYWU9CMFNpZGNRUDBHWWpKQklheGh2MFVQQ04vTWZ6N205Q1RrMG5j?= =?utf-8?B?V0IxWlpGMzgrVGhlOHNWMEpBb2U2K2U5S0x0TnFDK1J2cVBYUzYvSEtyMEJC?= =?utf-8?Q?2xnSDPM60al5+jV6aLmrDClMw?= X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8b57771b-7a1c-472a-a0b1-08dbd05f3814 X-MS-Exchange-CrossTenant-AuthSource: TYZPR06MB6697.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Oct 2023 04:52:38.5727 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 923e42dc-48d5-4cbe-b582-1a797a6412ed X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 0K5D7crgpasa5Qhumat0AlYwpF/YW0Cj4PwpuJWYf1M093oSPwwIPgMV7PhSqpxwZ6aGXIHaPcTM/sda0ZcL6g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR06MB6141 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 18 Oct 2023 21:53:03 -0700 (PDT) On 2023/9/11 13:57, Lu Hongfei wrote: > Hello, > > In August 2023, the ballot for resizing the WriteBooster buffer has been > approved. > > This v3 series implements the function of controlling the WriteBooster > buffer resize via sysfs that will be supported in UFS. > > version 2 changes > -Using sysfs to control WB buffer resize instead of exception event handler > -Removed content related to exception event > -Solved several issues that caused compilation errors > > version 3 changes > -Removed UFS version number check > -Optimized several function names to make their definitions clear and easy > to understand > -Fixed several formatting issues to avoid reporting warning information > during compilation > -Removed the ufshcd_scsi_block_requests(), ufshcd_wait_for_doorbell_clr() > and ufshcd_scsi_unblock_requests() calls in ufshcd_configure_wb_buf_resize. > > ------------------------------------------------------------------------ > Lu Hongfei (3): > scsi: ufs: core: add wb buffer resize related attr_idn > scsi: ufs: core: Add sysfs attribute to control WB buffer resize > function > scsi: ufs: core: Add sysfs attributes to get the hint information and > status of WB buffer resize > > Documentation/ABI/testing/sysfs-driver-ufs | 52 ++++++++++++++++ > drivers/ufs/core/ufs-sysfs.c | 70 ++++++++++++++++++++++ > drivers/ufs/core/ufshcd.c | 15 +++++ > include/ufs/ufs.h | 5 +- > include/ufs/ufshcd.h | 1 + > 5 files changed, 142 insertions(+), 1 deletion(-) Hi Bart, Are there any new developments in this group of patches? Thanks, Hongfei.