scsi: hisi_sas: Revert change to limit max hw sectors for v3 HW
authorJohn Garry <john.garry@huawei.com>
Mon, 5 Sep 2022 11:48:45 +0000 (19:48 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 7 Sep 2022 02:28:10 +0000 (22:28 -0400)
commit245050af5d15a4f518c130e896cb597a263a070b
tree7b41db826dcd3955c040807e8f28736d3f858d1b
parent1ce871de4f86432be4b40b7a19bd205aedc654bf
scsi: hisi_sas: Revert change to limit max hw sectors for v3 HW

Now that libsas and the SCSI core code limits the default sectors from
commit 4cbfca5f7750 ("scsi: scsi_transport_sas: cap shost opt_sectors
according to DMA optimal limit") and commit 608128d391fa ("scsi: sd: allow
max_sectors be capped at DMA optimal size limit"), there is no need for
the hack to limit the max HW sectors.

Link: https://lore.kernel.org/r/1662378529-101489-2-git-send-email-john.garry@huawei.com
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c