Skip to content
Commit c1d0af1a authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

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: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
Reviewed-by: default avatarRobin Murphy <robin.murphy@arm.com>
parent 5b394b2d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment