linux/drivers/scsi/hisi_sas
John Garry 897cc769bc scsi: hisi_sas: Drop hisi_sas_hw.get_free_slot
In commit 1273d65f29 ("scsi: hisi_sas: change queue depth from 512 to
4096"), the depth of each queue is the same as the max IPTT in the system.

As such, as long as we have an IPTT allocated, we will have enough space on
any delivery queue.

All .get_free_slot functions were checking for space on the queue by
reading the DQ read pointer. Drop this, and also raise the code into common
code, as there is nothing hw specific remaining.

Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2019-08-07 22:13:14 -04:00
..
hisi_sas_main.c scsi: hisi_sas: Drop hisi_sas_hw.get_free_slot 2019-08-07 22:13:14 -04:00
hisi_sas_v1_hw.c scsi: hisi_sas: Drop hisi_sas_hw.get_free_slot 2019-08-07 22:13:14 -04:00
hisi_sas_v2_hw.c scsi: hisi_sas: Drop hisi_sas_hw.get_free_slot 2019-08-07 22:13:14 -04:00
hisi_sas_v3_hw.c scsi: hisi_sas: Drop hisi_sas_hw.get_free_slot 2019-08-07 22:13:14 -04:00
hisi_sas.h scsi: hisi_sas: Drop hisi_sas_hw.get_free_slot 2019-08-07 22:13:14 -04:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00