From: Adrian Hunter <adrian.hunter@intel.com>
To: "Martin K . Petersen" <martin.petersen@oracle.com>
Cc: "James E . J . Bottomley" <jejb@linux.ibm.com>,
Bean Huo <huobean@gmail.com>, Avri Altman <avri.altman@wdc.com>,
Alim Akhtar <alim.akhtar@samsung.com>,
Can Guo <cang@codeaurora.org>,
Asutosh Das <asutoshd@codeaurora.org>,
Bart Van Assche <bvanassche@acm.org>,
Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>,
Wei Li <liwei213@huawei.com>,
linux-scsi@vger.kernel.org
Subject: [PATCH V3 0/3] scsi: ufs: Let devices remain runtime suspended during system suspend
Date: Sun, 5 Sep 2021 12:51:50 +0300 [thread overview]
Message-ID: <20210905095153.6217-1-adrian.hunter@intel.com> (raw)
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
next reply other threads:[~2021-09-05 9:51 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-05 9:51 Adrian Hunter [this message]
2021-09-05 9:51 ` [PATCH V3 1/3] scsi: ufs: Fix error handler clear ua deadlock Adrian Hunter
2021-09-07 14:42 ` Bart Van Assche
2021-09-07 15:43 ` Adrian Hunter
2021-09-07 16:56 ` Bart Van Assche
2021-09-07 22:36 ` Bart Van Assche
2021-09-11 16:47 ` Adrian Hunter
2021-09-13 3:17 ` Bart Van Assche
2021-09-13 8:53 ` Adrian Hunter
2021-09-13 16:33 ` Bart Van Assche
2021-09-13 17:13 ` Adrian Hunter
2021-09-13 20:11 ` Bart Van Assche
2021-09-14 4:55 ` Adrian Hunter
2021-09-14 22:28 ` Bart Van Assche
2021-09-15 15:35 ` Adrian Hunter
2021-09-15 22:41 ` Bart Van Assche
2021-09-16 17:01 ` Adrian Hunter
2021-09-05 9:51 ` [PATCH V3 2/3] scsi: ufs: Fix runtime PM dependencies getting broken Adrian Hunter
2021-09-05 9:51 ` [PATCH V3 3/3] scsi: ufs: Let devices remain runtime suspended during system suspend Adrian Hunter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210905095153.6217-1-adrian.hunter@intel.com \
--to=adrian.hunter@intel.com \
--cc=alim.akhtar@samsung.com \
--cc=asutoshd@codeaurora.org \
--cc=avri.altman@wdc.com \
--cc=bvanassche@acm.org \
--cc=cang@codeaurora.org \
--cc=huobean@gmail.com \
--cc=jejb@linux.ibm.com \
--cc=linux-scsi@vger.kernel.org \
--cc=liwei213@huawei.com \
--cc=manivannan.sadhasivam@linaro.org \
--cc=martin.petersen@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox