On 22/07/2022 16:03, Christoph Hellwig wrote: >> + return max_t(size_t, UINT_MAX, dma_max_mapping_size(dev)); > > Shouldn't this be a min? eugh! yes. Stand by for v3