Files
linux-stable-mirror/drivers/scsi
John Garry 06f818de16 scsi: hisi_sas: Limit max hw sectors for v3 HW
[ Upstream commit fce54ed027 ]

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>
2022-07-21 21:24:34 +02:00
..
2022-04-27 14:38:56 +02:00
2022-04-27 14:38:56 +02:00
2022-04-08 14:23:33 +02:00
2022-04-13 20:59:05 +02:00
2022-02-16 12:56:14 +01:00
2022-01-27 11:05:03 +01:00
2021-08-23 12:54:30 -06:00
2021-08-16 13:33:24 -04:00