Re: [PATCH v3 3/4] scsi: core: Cap shost max_sectors according to DMA optimum mapping limits

From: Bart Van Assche
Date: Wed Jun 08 2022 - 17:07:18 EST


On 6/8/22 10:50, John Garry wrote:
Please note that this limit only applies if we have an IOMMU enabled for the scsi host dma device. Otherwise we are limited by dma direct or swiotlb max mapping size, as before.

SCSI host bus adapters that support 64-bit DMA may support much larger transfer sizes than 128 KiB.

Thanks,

Bart.