[PATCH v1 0/5] scsi: ufs: allow customizable WriteBooster flush policy

From: Stanley Chu
Date: Fri May 08 2020 - 13:15:24 EST


Hi,

This patch set tries to allow vendors to modify the WriteBooster flush policy.

In the same time, collect all customizable parameters to an unified structure to make UFS driver more clean.

Stanley Chu (5):
scsi: ufs: introduce ufs_hba_variant_params to collect customizable
parameters
scsi: ufs-mediatek: change the way to use customizable parameters
scsi: ufs: customize flush threshold for WriteBooster
scsi: ufs: use flexible definition for UFS_WB_BUF_REMAIN_PERCENT
scsi: ufs-mediatek: customize WriteBooster flush policy

drivers/scsi/ufs/ufs-mediatek.c | 5 ++--
drivers/scsi/ufs/ufs.h | 5 +---
drivers/scsi/ufs/ufshcd.c | 46 ++++++++++++++-------------------
drivers/scsi/ufs/ufshcd.h | 9 ++++++-
4 files changed, 32 insertions(+), 33 deletions(-)

--
2.18.0