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

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
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -685,8 +685,6 @@ static int reset_hw_v2_hw(struct hisi_hba *hisi_hba)
	else
		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);

	/* Disable all of the PHYs */