diff options
| author | Jianqin Xie <[email protected]> | 2021-04-06 19:48:29 +0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-04-12 23:21:26 -0400 |
| commit | 2c74cb1f9222ebfcc204c02018275ad167d25212 (patch) | |
| tree | 48060c7d0ce56cba4078fcd8e1c1af364d149b07 /tools/perf/scripts/python | |
| parent | f467666504bf0c7eae95b929d0c86f77ff9b4356 (diff) | |
scsi: hisi_sas: Directly snapshot registers when executing a reset
The debugfs snapshot should be executed before the reset occurs to ensure
that the register contents are saved properly.
As such, it is incorrect to queue the debugfs dump when running a reset as
the reset will occur prior to the snapshot work item is handler.
Therefore, directly snapshot registers in the reset work handler.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jianqin Xie <[email protected]>
Signed-off-by: Luo Jiaxing <[email protected]>
Signed-off-by: John Garry <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions