diff options
author | Christoph Hellwig <hch@lst.de> | 2018-08-24 08:07:52 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-09-01 15:42:28 +0200 |
commit | c1d0af1a1d5dfde880f588eceb4c00710e0f60ff (patch) | |
tree | f4204c8cb840ebc8c6771f1cbba6247b43c76b48 /kernel/bounds.c | |
parent | 5b394b2ddf0347bef56e50c69a58773c94343ff3 (diff) | |
download | linux-c1d0af1a1d5dfde880f588eceb4c00710e0f60ff.tar.bz2 |
kernel/dma/direct: take DMA offset into account in dma_direct_supported
When a device has a DMA offset the dma capable result will change due
to the difference between the physical and DMA address. Take that into
account.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Diffstat (limited to 'kernel/bounds.c')
0 files changed, 0 insertions, 0 deletions