mbox series

[v2,0/2] Put Qualcomm's ufs controller to hibern8 during clock scaling

Message ID cover.1632818942.git.nguyenb@codeaurora.org (mailing list archive)
Headers show
Series Put Qualcomm's ufs controller to hibern8 during clock scaling | expand

Message

Bao D. Nguyen Sept. 28, 2021, 9:06 a.m. UTC
Asutosh Das tried to upstream this change about a year ago.
We would like to resume his work because Qualcomm's ufs controller
needs to be in hibern8 before scaling up/down the clocks.
Just like ufshcd_uic_hibern8_exit() is already being exported,
we would like to export ufshcd_uic_hibern8_enter() so that
Qualcomm's ufs controller can be put in hibern8 state.

Changes from v1:
- Removed the extra ufshcd_uic_hibern8_exit().
- Moved the ufshcd_uic_hibern8_enter() above the current ufshcd_uic_hibern8_exit().

Asutosh Das (2):
  scsi: ufs: export hibern8 entry and exit
  scsi: ufs-qcom: enter and exit hibern8 during clock scaling

 drivers/scsi/ufs/ufs-qcom.c | 12 +++++++++++-
 drivers/scsi/ufs/ufshcd.c   |  4 ++--
 drivers/scsi/ufs/ufshcd.h   |  1 +
 3 files changed, 14 insertions(+), 3 deletions(-)

Comments

Martin K. Petersen Oct. 5, 2021, 4:34 a.m. UTC | #1
On Tue, 28 Sep 2021 02:06:11 -0700, Bao D. Nguyen wrote:

> Asutosh Das tried to upstream this change about a year ago.
> We would like to resume his work because Qualcomm's ufs controller
> needs to be in hibern8 before scaling up/down the clocks.
> Just like ufshcd_uic_hibern8_exit() is already being exported,
> we would like to export ufshcd_uic_hibern8_enter() so that
> Qualcomm's ufs controller can be put in hibern8 state.
> 
> [...]

Applied to 5.16/scsi-queue, thanks!

[1/2] scsi: ufs: export hibern8 entry and exit
      https://git.kernel.org/mkp/scsi/c/525943a586ef
[2/2] scsi: ufs-qcom: enter and exit hibern8 during clock scaling
      https://git.kernel.org/mkp/scsi/c/a0cea83332ae