aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2021-10-27 16:06:14 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2021-11-29 22:37:04 -0500
commitddba1cf7a506b09b3583bcac2d64ec88bd4e3a96 (patch)
tree8f64fa994690f7ced58bdeb48f63167013569204 /tools/perf/scripts/python/stackcollapse.py
parentscsi: ufs: Fix double space in SCSI_UFS_HWMON description (diff)
downloadlinux-dev-ddba1cf7a506b09b3583bcac2d64ec88bd4e3a96.tar.xz
linux-dev-ddba1cf7a506b09b3583bcac2d64ec88bd4e3a96.zip
scsi: ufs: Let devices remain runtime suspended during system suspend
If the UFS Device WLUN is runtime suspended and is in the same power mode, link state, and b_rpm_dev_flush_capable (BKOP or WB buffer flush etc) state, then it can remain runtime suspended instead of being runtime resumed and then system suspended. The following patch has cleared the way for that to happen: scsi: core: pm: Only runtime resume if necessary So amend the logic accordingly. Note, the ufs-hisi driver uses different RPM and SPM, but it is made explicit by a new parameter to suspend prepare. Link: https://lore.kernel.org/r/20211027130614.406985-2-adrian.hunter@intel.com Reviewed-by: Asutosh Das <asutoshd@codeaurora.org> Reviewed-by: Bean Huo <beanhuo@micron.com> Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions