Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp115600ybg; Mon, 8 Jun 2020 18:02:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxdB5ue/pqK++MCTOGCiAfK+iElG2OkLp2h1PUnWI+MaYFr4X0UUuFn8IuHLd/eU3e081/n X-Received: by 2002:a17:906:3289:: with SMTP id 9mr22724905ejw.316.1591664576605; Mon, 08 Jun 2020 18:02:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591664576; cv=none; d=google.com; s=arc-20160816; b=nNb4mot8FZJWjs3GrLLCcSse582b4//TuL9x8jh7cusvnnKzQQV3vWZ1YT3WizdGIu 2+VSAC76L1R/0/tkq+JZKFmdSv0jKOEIpfF8mBlcInpyuyxPc0051vLqdRJYadFCtrea 3xij+blxH409/IdIMqAs1MvOotTQlZ1ACNGhfQe6lp/lowuZAK6cVyBzRxIrGrITawzJ j5TgGmGORJz8x/W7ZOjT9Ij/eMuOULd9PrAXeeFujNhjSZwYa4dCajLQibDcRfvl4nvX Y7BeZWPGz8ddL8pihbYTUCZjqrm+DZydpA/BCbG1x80u/8i34m25sDFcBQxktNi5TfHo 16iQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:content-transfer-encoding:date :message-id:in-reply-to:cc:to:from:reply-to:subject:mime-version :dkim-signature:dkim-filter; bh=53LlOopkFAZwy0SS08Z6bbyhmIN5aDKJdXm2yAPy/ss=; b=eO3DZOJrtOp34/ZUSrMnrh/S9QsrRsAloluDeSt0+XorhdmXDEvXIQC1A7Ej0rPA+h d/usE5nnWmGFDQXuBhNnDpcopasw5fudY8Zytq334bhuNqKY9X+6KRn6arp6I+cCDsYj anpw/3KS+mQQow8y4oztlZKvKbhVCouhAfh95FE9wE0terj5AiMYD8DXq5cXk7xzvtIF tvdcAYcIG6BLBZ1vUXg0H57kmi2S+G0znp+VhHyjS2enyCU5UEytKGAKD8ipke5UUTNr 3sPtB71xJfYXIZYUuhgDTaBI5GM5yz5OtaFzOfGW4apDRxHe/8B6e7wqfg4LRLgR6HeX DfLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=HW2Z9q9s; 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=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k23si10085299ejk.35.2020.06.08.18.02.33; Mon, 08 Jun 2020 18:02:56 -0700 (PDT) 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=pass header.i=@samsung.com header.s=mail20170921 header.b=HW2Z9q9s; 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=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730666AbgFIA6m (ORCPT + 99 others); Mon, 8 Jun 2020 20:58:42 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:27014 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729364AbgFIA6F (ORCPT ); Mon, 8 Jun 2020 20:58:05 -0400 Received: from epcas1p2.samsung.com (unknown [182.195.41.46]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20200609005803epoutp02c20040d5a0ff77ea6993852289633211~WujuCKydP0372803728epoutp02D for ; Tue, 9 Jun 2020 00:58:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20200609005803epoutp02c20040d5a0ff77ea6993852289633211~WujuCKydP0372803728epoutp02D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1591664283; bh=53LlOopkFAZwy0SS08Z6bbyhmIN5aDKJdXm2yAPy/ss=; h=Subject:Reply-To:From:To:CC:In-Reply-To:Date:References:From; b=HW2Z9q9s7KS8h3n/1PyyLMBs8vzZxffPhmW5KyPyejQLxQs7WKnQDlYEqOgZ290If mtrsp6rq/rs+JmOTl9YH6YGcMUxsyJkLPCDKPvmn5ECK7i1XglpQjiWMqg8FW/IJj+ keicX7VO76/sS2wdkuZXbOOi52CI3/iHoCF0/mEY= Received: from epcpadp2 (unknown [182.195.40.12]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20200609005802epcas1p4ee83ccf3c1fdee73406a94a473a013ea~WujtqKQBx1777417774epcas1p41; Tue, 9 Jun 2020 00:58:02 +0000 (GMT) Mime-Version: 1.0 Subject: RE: RE: [RFC PATCH 0/5] scsi: ufs: Add Host Performance Booster Support Reply-To: daejun7.park@samsung.com From: Daejun Park To: Avri Altman , Daejun Park , ALIM AKHTAR , "jejb@linux.ibm.com" , "martin.petersen@oracle.com" , "asutoshd@codeaurora.org" , "beanhuo@micron.com" , "stanley.chu@mediatek.com" , "cang@codeaurora.org" , "bvanassche@acm.org" , "tomas.winkler@intel.com" CC: "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Sang-yoon Oh , Sung-Jun Park , yongmyung lee , Jinyoung CHOI , Adel Choi , BoRam Shin X-Priority: 3 X-Content-Kind-Code: NORMAL In-Reply-To: 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: <336371513.41591664282662.JavaMail.epsvc@epcpadp2> Date: Tue, 09 Jun 2020 09:49:34 +0900 X-CMS-MailID: 20200609004934epcms2p4709b3121e78abd3e2595e1a532227e5d Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: AUTO_CONFIDENTIAL X-CPGSPASS: Y X-CPGSPASS: Y X-Hop-Count: 3 X-CMS-RootMailID: 20200605011604epcms2p8bec8ef6682583d7248dc7d9dc1bfc882 References: <231786897.01591320001492.JavaMail.epsvc@epcpadp1> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, I appreciate your insightful comments. =20 > we propose --> jedec spec XXX proposes =E2=80=A6 > and here you also disclose what version of the spec are you supporting I will change to "JESD220-3 (HPB v1.0) proposes". This patch supports HPB version 1.0. > Like Bart, I am not sure that this extra module is needed. > It only makes sense if indeed there are some common calls that can be sha= red by several features. > There are up to now 10 extended features defined, but none of them can sh= are a common api. > What other features can share this additional layer? And how those ops c= an be reused? > If you have some future implementations in mind, you should add this api = once you'll add those. We added UFS feature layer with several callbacks to important parts of the= UFS control flow. Other extended features can also be implemented using the proposed APIs. For example, in WB, "prep_fn" can be used to guarantee the lifetime of UFS = by updating the amount of write IO used as WB. And reset/reset_host/suspend/resume can be used to manage the kernel task f= or checking lifetime of UFS. > This 2017 study, is being cited by everyone, but does not really describe= s it's test setup to its details. > It does say however that they used a 16MB subregions over a range of 1GB= , > which can be covered by a 64 active regions, Even for a single subregion = per region. > Meaning no eviction should take place, thus HPB overhead is minimized. > Do we have a more recent public studies that supports those impressive fi= gures? There are no other public studies currently. However, when using HPB, there is an internal report that read latency is i= mproved in android=20 user-case scenarios, as well as in the benchmarks. Thanks, Daejun