commit | c1d0af1a1d5dfde880f588eceb4c00710e0f60ff | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Fri Aug 24 08:07:52 2018 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Sat Sep 01 15:42:28 2018 +0200 |
tree | f4204c8cb840ebc8c6771f1cbba6247b43c76b48 | |
parent | 5b394b2ddf0347bef56e50c69a58773c94343ff3 [diff] |
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>