Commit d0df8f9a authored by John Garry's avatar John Garry Committed by Martin K. Petersen

scsi: hisi_sas: disable dlvry queues once at reset for v2 hw

The Delivery queue enable register should only be written to once at
reset for v2 hw.
Signed-off-by: default avatarJohn Garry <john.garry@huawei.com>
Reviewed-by: default avatarHannes Reinecke <hare@suse.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 433f5696
...@@ -685,8 +685,6 @@ static int reset_hw_v2_hw(struct hisi_hba *hisi_hba) ...@@ -685,8 +685,6 @@ static int reset_hw_v2_hw(struct hisi_hba *hisi_hba)
else else
reset_val = 0x7ffff; reset_val = 0x7ffff;
/* Disable all of the DQ */
for (i = 0; i < HISI_SAS_MAX_QUEUES; i++)
hisi_sas_write32(hisi_hba, DLVRY_QUEUE_ENABLE, 0); hisi_sas_write32(hisi_hba, DLVRY_QUEUE_ENABLE, 0);
/* Disable all of the PHYs */ /* Disable all of the PHYs */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment