Received: by 2002:ac0:c50a:0:0:0:0:0 with SMTP id y10csp1039427imi; Fri, 1 Jul 2022 01:31:57 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vFZYwMyBYxn3a27ydzMckiXSjh7dHmZ4ID0Z3Xxs6wHrZXZZbNrSowoN4RikHZ4lmq+hJ6 X-Received: by 2002:a05:6a00:1253:b0:525:886a:37df with SMTP id u19-20020a056a00125300b00525886a37dfmr20058570pfi.85.1656664316826; Fri, 01 Jul 2022 01:31:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656664316; cv=none; d=google.com; s=arc-20160816; b=AtDBYeA/EhUYwvu5mu/6Sag6xrTXvhdU2DkXKPQh4NzF81NFnX3TfJMThdiNdggm48 zdXZ4HmtW1eARKRquc52Ndrl0cfjyLb+1kY9yrqdDYwbvFac9WoWipF5am2LcpRWkIR8 tYWXD1zTFzf1/FUgqQqSvc0+oYOVZxFSn9Wr5MK0Sz4SuNNljC8DbiFmljp/24R7KGqS YYFx16jac3AvliS8JqAT8Lgp0MPi4MuJWywUco1jMMouFsceKesJmBe74qY3eodKoZHY Ikt31eeQzQ/q9GxaEuZMMFFHV3v6ENYEgj2L0S+tgp6Ycc/p2Iu1TFMfL4K6MejFXllI H16A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type :content-transfer-encoding:date:message-id:to:from:sender:reply-to :subject:mime-version:dkim-signature:dkim-filter; bh=xfYOrQ+4hivqp2gEfSionOxsv4wOOKujiLYahF+aDNA=; b=NxYasG9vZN5Sv2lIpqV4q1pMjhZsMKAJwrwCU/sOrSTmbNRJ62BPSsRylSmhK8C+xe Oyy9G9kxn2Rf+WlMyckkfKHnLGuICbOOfvsu5Cq2j9JIOMzljEberq3EYaGkrFC6XsSI 7tumBlWxzPPbQG+L5OOWCry7mMZRck5PHeRVTgv8ws7vVU2T3Uw/h3v0Z4Scx/v6blCO 2r93Gl15X0i9Qq2Nd8nU2w8w/QVgj4bkuztO3lPgglwrFsP7upCkyFM8bA70BvQ1MuR1 kCIQyBKAu49En5/hV/Kzlkcj2w1NONlHm1tdXegEApZuk1X3dCZd7ZfDgpws6Tec3CPm Nd6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=JR8aHrBH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u6-20020a170902e80600b00168b5301386si833004plg.84.2022.07.01.01.31.44; Fri, 01 Jul 2022 01:31:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=JR8aHrBH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229966AbiGAHo1 (ORCPT + 99 others); Fri, 1 Jul 2022 03:44:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229689AbiGAHo0 (ORCPT ); Fri, 1 Jul 2022 03:44:26 -0400 Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4597D3819F for ; Fri, 1 Jul 2022 00:44:24 -0700 (PDT) Received: from epcas2p1.samsung.com (unknown [182.195.41.53]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20220701074422epoutp04f12abb312d0eb3b1c7e90cdca81c2b9e~9pNKV5Piu3045330453epoutp04R for ; Fri, 1 Jul 2022 07:44:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20220701074422epoutp04f12abb312d0eb3b1c7e90cdca81c2b9e~9pNKV5Piu3045330453epoutp04R DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1656661462; bh=xfYOrQ+4hivqp2gEfSionOxsv4wOOKujiLYahF+aDNA=; h=Subject:Reply-To:From:To:Date:References:From; b=JR8aHrBHXW8nEJfr0zNkor1H+7IANrNFTS9zTsUWcslq/U2kIyY1Cy1ykX5Pg7Wzf XqN4ZAleVmgWRHURg67gh0UEkfzy+r3oVglowwyESmUIpRbfh4EjGRF8sdkusgciii lxHhbDUuZgWMXfmWw/7rTAK7PLTde1RpQAT4/efg= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas2p3.samsung.com (KnoxPortal) with ESMTP id 20220701074421epcas2p3efeff3c5c6f4296c36b34c0868ae9627~9pNJq4IIM1390113901epcas2p3G; Fri, 1 Jul 2022 07:44:21 +0000 (GMT) Received: from epsmges2p4.samsung.com (unknown [182.195.36.100]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4LZ6fF1MmLz4x9Pt; Fri, 1 Jul 2022 07:44:21 +0000 (GMT) X-AuditID: b6c32a48-9e1ff700000025be-e1-62bea5d4dd4b Received: from epcas2p4.samsung.com ( [182.195.41.56]) by epsmges2p4.samsung.com (Symantec Messaging Gateway) with SMTP id 50.E2.09662.4D5AEB26; Fri, 1 Jul 2022 16:44:20 +0900 (KST) Mime-Version: 1.0 Subject: [PATCH v3 0/2] scsi: ufs: wb: Add sysfs and cleanup Reply-To: j-young.choi@samsung.com Sender: Jinyoung CHOI From: Jinyoung CHOI To: ALIM AKHTAR , "avri.altman@wdc.com" , "bvanassche@acm.org" , "jejb@linux.ibm.com" , "martin.petersen@oracle.com" , "beanhuo@micron.com" , "adrian.hunter@intel.com" , "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" X-Priority: 3 X-Content-Kind-Code: NORMAL X-CPGS-Detection: blocking_info_exchange X-Drm-Type: N,general X-Msg-Generator: Mail X-Msg-Type: PERSONAL X-Reply-Demand: N Message-ID: <20220701074420epcms2p4c4a6a016c7070d5dfa279fc4607caa95@epcms2p4> Date: Fri, 01 Jul 2022 16:44:20 +0900 X-CMS-MailID: 20220701074420epcms2p4c4a6a016c7070d5dfa279fc4607caa95 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: AUTO_CONFIDENTIAL X-CPGSPASS: Y X-CPGSPASS: Y CMS-TYPE: 102P X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrCJsWRmVeSWpSXmKPExsWy7bCmhe6VpfuSDPb/UrM4+WQNm8WDedvY LF7+vMpmcfBhJ4vFtA8/mS1eHtK06O3fymax6MY2JovLu+awWXRf38Fmsfz4PyYHbo/LV7w9 Fu95yeQxYdEBRo/v6zvYPD4+vcXi0bdlFaPH501yHu0HupkCOKKybTJSE1NSixRS85LzUzLz 0m2VvIPjneNNzQwMdQ0tLcyVFPISc1NtlVx8AnTdMnOA7lRSKEvMKQUKBSQWFyvp29kU5ZeW pCpk5BeX2CqlFqTkFJgX6BUn5haX5qXr5aWWWBkaGBiZAhUmZGf8XLiKreA7S8XXOx9YGxg/ M3cxcnJICJhIrFn3ibWLkYtDSGAHo8TCpj+MXYwcHLwCghJ/dwiD1AgL2Eis6P0EVi8koCRx bs0ssBJhAQOJW73mIGE2AT2Jn0tmsIGMERE4yyyx8OEUJoj5vBIz2p+yQNjSEtuXb2WEsDUk fizrhbpBVOLm6rfsMPb7Y/OhakQkWu+dhaoRlHjwczdUXFLi0KGvbCA3SAjkS2w4EAgRrpF4 u/wAVIm+xLWOjWBreQV8JW7s3QpmswioSkzr3MkKUeMicbSlHexMZgF5ie1v5zCDjGQW0JRY v0sfYrqyxJFbLDCPNGz8zY7OZhbgk+g4/BcuvmPeEyaIVjWJRU1GEGEZia+H50OVeEgceX+J eQKj4ixEKM9CcsIshBMWMDKvYhRLLSjOTU8tNiowgUdscn7uJkZwctXy2ME4++0HvUOMTByM hxglOJiVRHjZ5u1NEuJNSaysSi3Kjy8qzUktPsRoCvT8RGYp0eR8YHrPK4k3NLE0MDEzMzQ3 MjUwVxLn9UrZkCgkkJ5YkpqdmlqQWgTTx8TBKdXAlPU2vPdBwatEEW3pXNX5539MfXlj4obj X28l8gb4L8xfuE5D6VnJd+abe/ManvyvcTXcWbnCUSzoUJCU7Zb9FpLqnc1T78Y2C/3u3Xin Jo+1xTw25sfKyXtLXeUW9cw5z/PRdI+pxPM1igUlknMeJ/+7NK3o6oPPvz9ekGI3sDN5L8x8 MMN5mYDiHnemqQ77HB4c+114ybDvZ8D7loaqXfs3XZpY8z6sSc3i49Qlbhf9Px1dIr+wJDPU SS+Y40/5pvOrDX24VJPfzO/jsS/avM2yZK72XB/xwI/Rtn/Vrfes6juU1rDa4pSmZSfbu5/3 N4kvYvZY3RfGraqxxPuXRlSXWIv0pqg+9hnxDo4XlViKMxINtZiLihMBLS9xnjcEAAA= DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20220701074420epcms2p4c4a6a016c7070d5dfa279fc4607caa95 References: X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series is to clean up UFS's Write Booster code and adds sysfs which can control the specific feature of it. V2: - modify commit message - move & modify err messages - remove unnesscessary debug messages V3: - split patch (functional, non-functional) Jinyoung Choi (2): scsi: ufs: wb: renaming & cleanups functions scsi: ufs: wb: Add Manual Flush sysfs drivers/ufs/core/ufs-sysfs.c | 46 +++++++++++++++++++++++- drivers/ufs/core/ufshcd.c | 69 +++++++++++++++++------------------- include/ufs/ufshcd.h | 7 ++++ 3 files changed, 84 insertions(+), 38 deletions(-) -- 2.25.1