mbox series

[v4,0/7] scsi: ufs: wb: Add sysfs attribute and cleanup

Message ID 20220727065904epcms2p60a7a56101785ddefa55c82b3cc25116d@epcms2p6
Headers show
Series scsi: ufs: wb: Add sysfs attribute and cleanup | expand

Message

Jinyoung CHOI July 27, 2022, 6:59 a.m. UTC
This patch series is to clean up UFS's Write Booster code and
adds sysfs attribute 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)
V4:
	- split patch (The number of patches from 2 to 7)
	- modify dev messages
	- modify commit message

Jinyoung Choi (7):
  scsi: ufs: wb: Move ufshcd_is_wb_allowed() to callee function
  scsi: ufs: wb: Change wb_enabled condition test
  scsi: ufs: wb: Change functions name and modify parameter name
  scsi: ufs: wb: Add explicit flush sysfs attribute
  scsi: ufs: wb: Add ufshcd_is_wb_buf_flush_allowed()
  scsi: ufs: wb: Modify messages
  scsi: ufs: wb: Move the comment to the right position

 drivers/ufs/core/ufs-sysfs.c | 46 +++++++++++++++++++++++-
 drivers/ufs/core/ufshcd.c    | 69 +++++++++++++++++++-----------------
 include/ufs/ufshcd.h         |  7 ++++
 3 files changed, 89 insertions(+), 33 deletions(-)