Re: [RFC PATCH] dma-iommu: Add iommu_dma_max_mapping_size()

From: Christoph Hellwig
Date: Tue May 17 2022 - 05:11:59 EST


On Tue, May 17, 2022 at 10:02:00AM +0100, John Garry wrote:
> BTW, on a separate topic, I noticed that even with this change my ATA
> devices have max_hw_sectors_kb of 32767, as opposed to 128 for SAS devices.
> It seems that libata-scsi - specifically ata_scsi_dev_config() - doesn't
> honour the shost max_sectors limit. I guess that is not intentional.

I don't think it is. the libsas/libsata integration is a bit messy
sometimes..