diff options
author | Christoph Hellwig <hch@lst.de> | 2019-11-19 17:35:36 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-11-20 20:31:41 +0100 |
commit | 4268ac6ae5870af10a7417b22990d615f72f77e2 (patch) | |
tree | 4f50419289b7d2e946c5ad499d040a5a9ae27449 /arch/x86 | |
parent | dma-debug: clean up put_hash_bucket() (diff) | |
download | linux-4268ac6ae5870af10a7417b22990d615f72f77e2.tar.xz linux-4268ac6ae5870af10a7417b22990d615f72f77e2.zip |
dma-direct: don't check swiotlb=force in dma_direct_map_resource
When mapping resources we can't just use swiotlb ram for bounce
buffering. Switch to a direct dma_capable check instead.
Fixes: cfced786969c ("dma-mapping: remove the default map_resource implementation")
Reported-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions