[PATCH V3 0/3] scsi: ufs: Let devices remain runtime suspended during system suspend
From: Adrian Hunter <adrian.hunter@intel.com>
Date: 2021-09-05 09:51:29
From: Adrian Hunter <adrian.hunter@intel.com>
Date: 2021-09-05 09:51:29
Hi
UFS devices can remain runtime suspended at system suspend time,
if the conditions are right. Add support for that, first fixing
the impediments.
Changes in V3:
scsi: ufs: Fix error handler clear ua deadlock
Correct commit message.
Amend stable tags to add dependent cherry picks
Changes in V2:
scsi: ufs: Let devices remain runtime suspended during system suspend
The ufs-hisi driver uses different RPM and SPM, but it is made
explicit by a new parameter to suspend prepare.
Adrian Hunter (3):
scsi: ufs: Fix error handler clear ua deadlock
scsi: ufs: Fix runtime PM dependencies getting broken
scsi: ufs: Let devices remain runtime suspended during system suspend
drivers/scsi/scsi_pm.c | 16 ++++++---
drivers/scsi/ufs/ufs-hisi.c | 8 ++++-
drivers/scsi/ufs/ufshcd.c | 87 +++++++++++++++++++++++++++++++--------------
drivers/scsi/ufs/ufshcd.h | 12 ++++++-
include/scsi/scsi_device.h | 1 +
5 files changed, 90 insertions(+), 34 deletions(-)
Regards
Adrian