diff options
author | Xiaofei Tan <tanxiaofei@huawei.com> | 2017-08-11 00:09:26 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-08-10 20:15:01 -0400 |
commit | 917d3bdaf8f2ab3bace2bd60b78d83a2b3096d98 (patch) | |
tree | 09c3858f2b6bffc33f45aeadc3332d42edaa40d7 /drivers/eisa | |
parent | b98117caa0e3d99e4aee1114bcb03ae9ad02bf22 (diff) | |
download | linux-917d3bdaf8f2ab3bace2bd60b78d83a2b3096d98.tar.bz2 |
scsi: hisi_sas: fix reset and port ID refresh issues
This patch provides fixes for the following issues:
1. Fix issue of controller reset required to send commands. For reset
process, it may be required to send commands to the controller, but
not during soft reset. So add HISI_SAS_NOT_ACCEPT_CMD_BIT to prevent
executing a task during this period.
2. Send a broadcast event in rescan topology to detect any topology
changes during reset.
3. Previously it was not ensured that libsas has processed the PHY up
and down events after reset. Potentially this could cause an issue
that we still process the PHY event after reset. So resolve this by
flushing shot workqueue in LLDD reset.
4. Port ID requires refresh after reset. The port ID generated after
reset is not guaranteed to be the same as before reset, so it needs
to be refreshed for each device's ITCT.
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>
Diffstat (limited to 'drivers/eisa')
0 files changed, 0 insertions, 0 deletions