Re: [PATCH] scsi: hisi_sas: Limit max hw sectors for v3 HW

From: Martin K. Petersen
Date: Mon Jun 27 2022 - 23:24:33 EST


On Thu, 23 Jun 2022 20:41:59 +0800, John Garry wrote:

> 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@xxxxxxxxxx/
>
> [...]

Applied to 5.19/scsi-fixes, thanks!

[1/1] scsi: hisi_sas: Limit max hw sectors for v3 HW
https://git.kernel.org/mkp/scsi/c/fce54ed02757

--
Martin K. Petersen Oracle Linux Engineering