aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-07-16 22:00:54 +0200
committerChristoph Hellwig <hch@lst.de>2019-07-17 08:25:45 +0200
commita5008b59cd9d8de12ab623cb5052bb4735330e5c (patch)
tree50f36841635531cb81255bc1ffad56b3e229512e /arch/x86
parentdma-mapping: add a dma_addressing_limited helper (diff)
downloadlinux-dev-a5008b59cd9d8de12ab623cb5052bb4735330e5c.tar.xz
linux-dev-a5008b59cd9d8de12ab623cb5052bb4735330e5c.zip
dma-direct: only limit the mapping size if swiotlb could be used
Don't just check for a swiotlb buffer, but also if buffering might be required for this particular device. Fixes: 133d624b1cee ("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>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions