Read some device register values for error analysis.
Patch #1, the debug file 'qm_state' is added to obtain
the current device state.
Patch #2, read device register value before resetting
to help analyze the cause of the device exception.
Weili Qian (2):
crypto: hisilicon/qm - support get device state
crypto: hisilicon/qm - dump important registers values before
resetting
Documentation/ABI/testing/debugfs-hisi-hpre | 7 +++
Documentation/ABI/testing/debugfs-hisi-sec | 7 +++
Documentation/ABI/testing/debugfs-hisi-zip | 7 +++
drivers/crypto/hisilicon/debugfs.c | 53 +++++++++++++++++++++
4 files changed, 74 insertions(+)
--
2.33.0