mbox series

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

Message ID 20230202161045.3956-1-quic_ahari@quicinc.com (mailing list archive)
Headers show
Series scsi: ufs: Add hibernation callbacks | expand

Message

Anjana Hari Feb. 2, 2023, 4:10 p.m. UTC
v5:
-Removed extra hba->restore member introduced in previous
patch, moved the concerned code to ufshcd_system_restore.

v4:
-Addressed comments from Bart, removed runtime pm related
code.
-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        |  4 +++
 3 files changed, 62 insertions(+), 1 deletion(-)

Comments

Martin K. Petersen Feb. 8, 2023, 11:52 p.m. UTC | #1
Anjana,

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

Applied to 6.3/scsi-staging, thanks!
Martin K. Petersen Feb. 14, 2023, 4:57 p.m. UTC | #2
On Thu, 02 Feb 2023 21:40:44 +0530, Anjana Hari wrote:

> v5:
> -Removed extra hba->restore member introduced in previous
> patch, moved the concerned code to ufshcd_system_restore.
> 
> v4:
> -Addressed comments from Bart, removed runtime pm related
> code.
> -Address kernel bot compilation issues.
> 
> [...]

Applied to 6.3/scsi-queue, thanks!

[1/1] scsi: ufs: Add hibernation callbacks
      https://git.kernel.org/mkp/scsi/c/88441a8d355d