aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAdrian Hunter <[email protected]>2020-11-03 16:14:02 +0200
committerMartin K. Petersen <[email protected]>2020-11-04 23:03:28 -0500
commitfe1d4c2ebcae994dffe8673cc3cba10102d15d11 (patch)
tree1c0acec2f96d93c6aa4471d0d6fbd1989115afd7 /tools/perf/scripts/python
parent1f889b58716a5f5e3e4fe0e6742c1a4472f29ac1 (diff)
scsi: ufs: Add DeepSleep feature
DeepSleep is a UFS v3.1 feature that achieves the lowest power consumption of the device, apart from power off. In DeepSleep mode, no commands are accepted, and the only way to exit is using a hardware reset or power cycle. This patch assumes that if a power cycle was an option, then power off would be preferable, so only exit via a hardware reset is supported. Drivers that wish to support DeepSleep need to set a new capability flag UFSHCD_CAP_DEEPSLEEP and provide a hardware reset via the existing ->device_reset() callback. It is assumed that UFS devices with wspecversion >= 0x310 support DeepSleep. [mkp: dropped sysfs ABI doc due to conflicts] Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Bean Huo <[email protected]> Reviewed-by: Asutosh Das <[email protected]> Reviewed-by: Stanley Chu <[email protected]> Reviewed-by: Can Guo <[email protected]> Acked-by: Jonathan Corbet <[email protected]> Acked-by: Suzuki K Poulose <[email protected]> Signed-off-by: Adrian Hunter <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions