OpenCloudOS-Kernel/drivers/scsi/hisi_sas
John Garry fce54ed027 scsi: hisi_sas: Limit max hw sectors for v3 HW
If the controller is behind an IOMMU then the IOMMU IOVA caching range can
affect performance, as discussed in [0].

Limit the max HW sectors to not exceed this limit. We need to hardcode the
value until a proper DMA mapping API is available.

[0] https://lore.kernel.org/linux-iommu/20210129092120.1482-1-thunder.leizhen@huawei.com/

Link: https://lore.kernel.org/r/1655988119-223714-1-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>
2022-06-27 22:43:57 -04:00
..
Kconfig scsi: hisi_sas: Enable debugfs support by default 2021-01-26 23:02:11 -05:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
hisi_sas.h scsi: hisi_sas: Use libsas internal abort support 2022-03-14 23:33:24 -04:00
hisi_sas_main.c scsi: hisi_sas: Fix memory ordering in hisi_sas_task_deliver() 2022-05-19 20:16:26 -04:00
hisi_sas_v1_hw.c scsi: hisi_sas: Remove unnecessary print function dev_err() 2022-02-22 21:11:08 -05:00
hisi_sas_v2_hw.c scsi: hisi_sas: Use libsas internal abort support 2022-03-14 23:33:24 -04:00
hisi_sas_v3_hw.c scsi: hisi_sas: Limit max hw sectors for v3 HW 2022-06-27 22:43:57 -04:00