commit | eb1c2b72b7694c984d520300c901f5fc1fa8ea9e | [log] [tgz] |
---|---|---|
author | Luo Jiaxing <luojiaxing@huawei.com> | Wed Dec 19 23:56:40 2018 +0800 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Tue Jan 08 21:58:37 2019 -0500 |
tree | 681108cfb12d67f95e3299b5e030f562d3e51b72 | |
parent | ef63464bcf8feaa793e1aee4d3d186dfd1fff05f [diff] |
scsi: hisi_sas: Alloc debugfs snapshot buffer memory for all registers This patch allocates snapshot memory for global reg, port regs, CQ, DQ, IOST, ITCT. When we fail to allocate memory for some registers, we free the memory and set hisi_sas_debugfs_enable as 0 to stop loading debugfs from running. Signed-off-by: Luo Jiaxing <luojiaxing@huawei.com> Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>