aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target
diff options
context:
space:
mode:
authorJohn Garry <john.garry@huawei.com>2022-06-23 20:41:59 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2022-06-27 22:43:57 -0400
commitfce54ed027577517df1e74b7d54dc2b1bd536887 (patch)
tree28c076de3f2e2d53019c72ed51f2a54994bd0e4c /drivers/target
parentscsi: ibmvfc: Store vhost pointer during subcrq allocation (diff)
downloadlinux-dev-fce54ed027577517df1e74b7d54dc2b1bd536887.tar.xz
linux-dev-fce54ed027577517df1e74b7d54dc2b1bd536887.zip
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>
Diffstat (limited to 'drivers/target')
0 files changed, 0 insertions, 0 deletions