diff options
| author | Stanley Chu <[email protected]> | 2020-01-29 18:52:50 +0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2020-02-10 22:46:54 -0500 |
| commit | 5a244e0ea67b293abb1d26c825db2ddde5f2862f (patch) | |
| tree | 03abcec95b371559e6554380599f3bb4362357dd /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 2a06ff207445ddb7aa643751f85c54e7e3895fb4 (diff) | |
scsi: ufs: fix Auto-Hibern8 error detection
Auto-Hibern8 may be disabled by some vendors or sysfs in runtime even if
Auto-Hibern8 capability is supported by host. If Auto-Hibern8 capability is
supported by host but not actually enabled, Auto-Hibern8 error shall not
happen.
To fix this, provide a way to detect if Auto-Hibern8 is actually enabled
first, and bypass Auto-Hibern8 disabling case in
ufshcd_is_auto_hibern8_error().
Fixes: 821744403913 ("scsi: ufs: Add error-handling of Auto-Hibernate")
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Bean Huo <[email protected]>
Reviewed-by: Alim Akhtar <[email protected]>
Reviewed-by: Asutosh Das <[email protected]>
Reviewed-by: Can Guo <[email protected]>
Signed-off-by: Stanley Chu <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions