diff options
author | John Garry <john.garry@huawei.com> | 2022-06-23 20:41:59 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-07-21 21:24:34 +0200 |
commit | 06f818de1621ea4da689fd45f1eb54ff7617342b (patch) | |
tree | 78e56d8ef5e64de570841484f11a8c5313725225 /net/tipc/socket.c | |
parent | 03a400a64050744398cc3645ca51a7cb56d13010 (diff) |
scsi: hisi_sas: Limit max hw sectors for v3 HW
[ Upstream commit fce54ed027577517df1e74b7d54dc2b1bd536887 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions