Linux SCSI subsystem development
 help / color / mirror / Atom feed
* [PATCH v1 0/5] scsi: ufs: add UFS Host Performance Booster(HPB) driver
@ 2020-03-21  0:41 huobean
  2020-03-21  0:41 ` [PATCH v1 1/5] scsi; ufs: add device descriptor for Host Performance Booster huobean
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: huobean @ 2020-03-21  0:41 UTC (permalink / raw)
  To: alim.akhtar, avri.altman, asutoshd, jejb, martin.petersen,
	stanley.chu, beanhuo, bvanassche, tomas.winkler, cang
  Cc: linux-scsi, linux-kernel, ymhungry.lee, j-young.choi

From: Bean Huo <beanhuo@micron.com>

I disclose my development/changes on UFS HPB (UFS Host Performance Booster) to the
community, as this would enable more UFS developers to test and start an iterative
review and update process.                                                         
                                                                                   
The HPB is defined in Jedec Standard Universal Flash (UFS) Host Performance        
Booster(HPB) Extension Version 1.0, which is designed to improve a read performance
by utilizing the host side memory. Based on our testing, the HPB can increase the
random read performance by up to about 46% in random read.                         
                                                                                   
The original HPB driver is from [1]. Based on it, I did some                       
optimizations, simplications, fixed several reliability issues, implemented HPB 
host control mode and make it much more readable. There are still some FIXME need
to do, but this doesn't stop disclosure of patches to community to let you review.
                                                                                   
To avoid touching the traditional SCSI core, the HPB driver in this version series
HPB patch chooses to develop under SCSI, and sits the same layer with UFSHCD. At the
same time, in order to minimize changes on UFSHCD driver, the HPB driver inserts
HPB READ BUFFER and HPB WRITE BUFFER requests into the scsi_device->request_queueu
to execute, rather than that directly go through raw UPIU request path.            
                                                                                   
                                                                                   
[1] https://github.com/OpenMPDK/HPBDriver 

Bean Huo (5):
  scsi; ufs: add device descriptor for Host Performance Booster
  scsi: ufs: make ufshcd_read_unit_desc_param() non-static func
  scsi: ufs: add ufs_features parameter in structure ufs_dev_info
  scsi: ufs: add unit and geometry parameters for HPB
  scsi: ufs: UFS Host Performance Booster(HPB) driver

 drivers/scsi/ufs/Kconfig  |   34 +
 drivers/scsi/ufs/Makefile |    1 +
 drivers/scsi/ufs/ufs.h    |   19 +
 drivers/scsi/ufs/ufshcd.c |   66 +-
 drivers/scsi/ufs/ufshcd.h |   14 +-
 drivers/scsi/ufs/ufshpb.c | 3322 +++++++++++++++++++++++++++++++++++++
 drivers/scsi/ufs/ufshpb.h |  421 +++++
 7 files changed, 3870 insertions(+), 7 deletions(-)
 create mode 100644 drivers/scsi/ufs/ufshpb.c
 create mode 100644 drivers/scsi/ufs/ufshpb.h

-- 
2.17.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-03-21 16:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-21  0:41 [PATCH v1 0/5] scsi: ufs: add UFS Host Performance Booster(HPB) driver huobean
2020-03-21  0:41 ` [PATCH v1 1/5] scsi; ufs: add device descriptor for Host Performance Booster huobean
2020-03-21  0:41 ` [PATCH v1 2/5] scsi: ufs: make ufshcd_read_unit_desc_param() non-static func huobean
2020-03-21  0:41 ` [PATCH v1 3/5] scsi: ufs: add ufs_features parameter in structure ufs_dev_info huobean
2020-03-21  0:41 ` [PATCH v1 4/5] scsi: ufs: add unit and geometry parameters for HPB huobean
2020-03-21  0:41 ` [PATCH v1 5/5] scsi: ufs: UFS Host Performance Booster(HPB) driver huobean
2020-03-21  2:27   ` kbuild test robot
2020-03-21  3:37   ` kbuild test robot
2020-03-21 16:50   ` kbuild test robot
2020-03-21 16:50   ` [RFC PATCH] scsi: ufs: alloc_mctx can be static kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox