mbox series

[RFC,v4,0/2] Support vendor specific operations for WB

Message ID cover.1595850338.git.hy50.seo@samsung.com (mailing list archive)
Headers show
Series Support vendor specific operations for WB | expand

Message

SEO HOYOUNG July 27, 2020, 12:17 p.m. UTC
Hi all,
Here is v4 of the patchset.
This patchs for supporting WB of vendor specific.
- when UFS reset and restore, need to cleare WB buffer.
- need to check WB buffer and flush operate before enter suspend
- do not enable WB with UFS probe.

our vendor device did not support gear scaling. So we can't use gear scaling code at mainline.
And we want to WB disable after probe. If IO state busy, then we will enable WB with IO monitoring.
I think always enable WB, then maybe occur power related problems.
If this patch merged, we will select to function sequence for performance of WB.
I think the current WB mainline will not be able to satisfy the performance and operation of each vendor.

[v1 -> v2]
- The ufshcd_reset_vendor() fuction for WB reset.
So I modified function name.
- uploade vendor wb code.

[v2 -> v3]
- modified minor details about blank, typing error etc..

[v3 -> v4]
- squash about fucntion name
- remove export symbol about function. because occur HPB patch.

SEO HOYOUNG (2):
  scsi: ufs: modify write booster
  scsi: ufs: add vendor specific write booster

 drivers/scsi/ufs/Kconfig      |   8 +
 drivers/scsi/ufs/Makefile     |   1 +
 drivers/scsi/ufs/ufs-exynos.c |   6 +
 drivers/scsi/ufs/ufs_ctmwb.c  | 270 ++++++++++++++++++++++++++++++++++
 drivers/scsi/ufs/ufs_ctmwb.h  |  26 ++++
 drivers/scsi/ufs/ufshcd.c     |  19 ++-
 drivers/scsi/ufs/ufshcd.h     |  39 +++++
 7 files changed, 365 insertions(+), 4 deletions(-)
 create mode 100644 drivers/scsi/ufs/ufs_ctmwb.c
 create mode 100644 drivers/scsi/ufs/ufs_ctmwb.h