[PATCH v3 0/6] Several changes for UFSHPB

From: Bean Huo
Date: Sun Apr 24 2022 - 18:07:29 EST


From: Bean Huo <beanhuo@xxxxxxxxxx>

Hi UFS driver developers/reviewers

Here are some changes to the UFS HPB driver. They are all based on Martin's Git repo
5.18/scsi-staging branch. Please refer to the patch submission information for the
specific purpose of each patch. I tested them on my own platform. Please have a review
and any comments and suggestions are welcome.

v2--v3:
1. Fix two comment issues in patch 5/6
2. change function ufshpb_toggle_state() in patch 1/6
3. Add new pach 4/6
v1--v2:
1. Increase the submission information of the cover letter.
2. Fix coding style issues in patch 4/5
3. Add new patch 5/5.

Bean Huo (6):
scsi: ufshpb: Merge ufshpb_reset() and ufshpb_reset_host()
scsi: ufshpb: Remove 0 assignment for enum value
scsi: ufshpb: Cleanup the handler when device reset HPB information
scsi: ufshpb: Change sysfs node hpb_stats/rb_* prefix to start with
rcmd_*
scsi: ufshpb: Add handing of device reset HPB regions Infos in HPB
device mode
scsi: ufshpb: Cleanup ufshpb_suspend/resume

Documentation/ABI/testing/sysfs-driver-ufs | 18 +-
drivers/scsi/ufs/ufshcd.c | 4 +-
drivers/scsi/ufs/ufshpb.c | 182 ++++++++++++---------
drivers/scsi/ufs/ufshpb.h | 16 +-
4 files changed, 125 insertions(+), 95 deletions(-)

--
2.34.1