[PATCH v4 0/4] scsi: ufs: Fix WriteBooster and cleanup UFS driver

From: Stanley Chu
Date: Fri May 22 2020 - 04:32:23 EST


Hi,

This patch set fixes some WriteBooster issues and do small cleanup in UFS driver

v3 -> v4
- Squash patch [4] and [5] (Asutosh)
- Fix commit message in patch [4]

v2 -> v3
- Introduce patch [5] to fix possible VCC power drain during runtime suspend (Asutosh)

v1 -> v2
- Remove dummy new line in patch [4] (Asutosh)
- Add more limitation to allow WriteBooster flush during Hibern8 in runtime-suspend. Now the device power mode is kept as Active power mode only if link is put in Hibern8 or Auto-Hibern8 is enabled during runtime-suspend (Asutosh)

Stanley Chu (4):
scsi: ufs: Remove unnecessary memset for dev_info
scsi: ufs: Allow WriteBooster on UFS 2.2 devices
scsi: ufs: Fix index of attributes query for WriteBooster feature
scsi: ufs: Fix WriteBooster flush during runtime suspend

drivers/scsi/ufs/ufs-sysfs.c | 13 ++++-
drivers/scsi/ufs/ufs.h | 2 +-
drivers/scsi/ufs/ufshcd.c | 99 +++++++++++++++++++++++++-----------
drivers/scsi/ufs/ufshcd.h | 3 +-
4 files changed, 82 insertions(+), 35 deletions(-)

--
2.18.0