mbox series

[v4,0/1] scsi: ufs: Add hibernation callbacks

Message ID 20230202154614.31433-1-quic_ahari@quicinc.com
Headers show
Series scsi: ufs: Add hibernation callbacks | expand

Message

Anjana Hari Feb. 2, 2023, 3:46 p.m. UTC
v4:
-Addressed comments from Bart, removed runtime pm related
code.
-Removed extra hba->restore member introduced in previous
patch, moved the concerned code to ufshcd_system_restore.
-Address kernel bot compilation issues.

v3:
-Address compilation issues

v2:
- Addressed Bart's comments
- Moved core and host related changes to single patch
- Note to Bart: Regrading the comment to pass "restore" as an
argument instead of adding a new member to ufs_hba structure, adding
new function argument in core file (ufshcd.c) is forcing us to make
changes to other vendor files to fix the compilation errors. Hence
we have retained our original change. Please let us know your inputs
on this.

Initial version:
- Adds hibernation callbacks - freeze, restore and thaw,
	required for suspend to disk feature.

Anjana Hari (1):
  scsi: ufs: Add hibernation callbacks

 drivers/ufs/core/ufshcd.c   | 51 +++++++++++++++++++++++++++++++++++++
 drivers/ufs/host/ufs-qcom.c |  8 +++++-
 include/ufs/ufshcd.h        |  7 +++++
 3 files changed, 65 insertions(+), 1 deletion(-)