-
Christoph Hellwig authored
Don't just check for a swiotlb buffer, but also if buffering might be required for this particular device. Fixes: 133d624b ("dma: Introduce dma_max_mapping_size()") Reported-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Christoph Hellwig <hch@lst.de> Tested-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
a5008b59