Mark Lord wrote:
But (as I replied to myself earlier), I think it is a non issue, because the IOMMU merging cannot produce more SG entries than there were originally. It may produce less, and the driver may then end up splitting them apart again, but it will never exceed what the block layer permitted in the first place.
That says nothing about the boundaries upon which the IOMMU layer will or will not merge. Without the fix, the problem case happens when (for example) the IOMMU output produces sg_tablesize segments, but some of those segments cross a 64k boundary and need to be split.
Jeff - : send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html