commit | 06ec0fb97c028102c95d52422fd6dc5ac701039f | [log] [tgz] |
---|---|---|
author | Xiang Chen <chenxiang66@hisilicon.com> | Thu Mar 23 01:25:18 2017 +0800 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Thu Mar 23 11:12:01 2017 -0400 |
tree | c28bb8ca5a68622bb4a8e78348f2ec78eaa10c2c | |
parent | 2e244f0f5bcaa95e8b9006282d7c1ad07605d4fe [diff] |
scsi: hisi_sas: add controller reset There are some scenarios that we need to warm-reset to reset registers of SAS controller. During reset we disable interrupts/DQs/PHYs, and after reset we re-init the hardware and rescan the topology to see if anything changed. Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com> Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com> Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>