public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "정요한(JOUNG YOHAN) Mobile SE" <yohan.joung@sk.com>
To: "daejun7.park@samsung.com" <daejun7.park@samsung.com>
Cc: "alim.akhtar@samsung.com" <alim.akhtar@samsung.com>,
	"asutoshd@codeaurora.org" <asutoshd@codeaurora.org>,
	"avri.altman@wdc.com" <avri.altman@wdc.com>,
	"bvanassche@acm.org" <bvanassche@acm.org>,
	"cang@codeaurora.org" <cang@codeaurora.org>,
	"d_hyun.kwon@samsung.com" <d_hyun.kwon@samsung.com>,
	Greg KH <gregkh@linuxfoundation.org>,
	"huobean@gmail.com" <huobean@gmail.com>,
	"j-young.choi@samsung.com" <j-young.choi@samsung.com>,
	"jaemyung.lee@samsung.com" <jaemyung.lee@samsung.com>,
	"javier.gonz@samsung.com" <javier.gonz@samsung.com>,
	"jejb@linux.ibm.com" <jejb@linux.ibm.com>,
	"jh.i.park@samsung.com" <jh.i.park@samsung.com>,
	"jieon.seol@samsung.com" <jieon.seol@samsung.com>,
	"keosung.park@samsung.com" <keosung.park@samsung.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
	"martin.petersen@oracle.com" <martin.petersen@oracle.com>,
	"stanley.chu@mediatek.com" <stanley.chu@mediatek.com>,
	"sungjun07.park@samsung.com" <sungjun07.park@samsung.com>
Subject: Re: [PATCH v36 4/4] scsi: ufs: Add HPB 2.0 support
Date: Thu, 10 Jun 2021 02:12:27 +0000	[thread overview]
Message-ID: <b64cf2a49a1b43f09961eb4d5d4ea5c2@sk.com> (raw)

diff --git a/drivers/scsi/ufs/ufshpb.h b/drivers/scsi/ufs/ufshpb.h index 6e6a0252dc15..b1128b0ce486 100644
--- a/drivers/scsi/ufs/ufshpb.h
+++ b/drivers/scsi/ufs/ufshpb.h
@@ -30,19 +30,29 @@
 #define PINNED_NOT_SET				U32_MAX
 
 /* hpb support chunk size */
-#define HPB_MULTI_CHUNK_HIGH			1
+#define HPB_LEGACY_CHUNK_HIGH			1
+#define HPB_MULTI_CHUNK_LOW			7
+#define HPB_MULTI_CHUNK_HIGH			128
 
According to the JEDEC spec, bMAX_DATA_SIZE_FOR_HPB_SINGLE_CMD can be set from 4kb to 1024kb. 
The transfer length should be provided up to 1020kb or 1024kb.
Why did you set HPB_MULTI_CHUNK_HIGH to 128? 
It can sends the hpb command up to 512kb. 
This doesn't seem to match the specs.

Thanks
Yohan.


             reply	other threads:[~2021-06-10  2:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-10  2:12 정요한(JOUNG YOHAN) Mobile SE [this message]
     [not found] <CGME20210607041650epcms2p29002c9d072738bbf21fb4acf31847e8e@epcms2p7>
2021-06-07  4:16 ` [PATCH v36 0/4] scsi: ufs: Add Host Performance Booster Support Daejun Park
2021-06-07  4:19   ` [PATCH v36 4/4] scsi: ufs: Add HPB 2.0 support Daejun Park
2021-06-10  1:55     ` 정요한(JOUNG YOHAN) Mobile SE
2021-06-10  3:37     ` Bart Van Assche
2021-06-10  6:07       ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b64cf2a49a1b43f09961eb4d5d4ea5c2@sk.com \
    --to=yohan.joung@sk.com \
    --cc=alim.akhtar@samsung.com \
    --cc=asutoshd@codeaurora.org \
    --cc=avri.altman@wdc.com \
    --cc=bvanassche@acm.org \
    --cc=cang@codeaurora.org \
    --cc=d_hyun.kwon@samsung.com \
    --cc=daejun7.park@samsung.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=huobean@gmail.com \
    --cc=j-young.choi@samsung.com \
    --cc=jaemyung.lee@samsung.com \
    --cc=javier.gonz@samsung.com \
    --cc=jejb@linux.ibm.com \
    --cc=jh.i.park@samsung.com \
    --cc=jieon.seol@samsung.com \
    --cc=keosung.park@samsung.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    --cc=stanley.chu@mediatek.com \
    --cc=sungjun07.park@samsung.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox