commit | a20bb058375147cb639c7aa17ef86ad68b32d847 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Sep 20 13:26:13 2018 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Mon Oct 01 07:27:15 2018 -0700 |
tree | fb2e006f2c9bd963f515fdeeb99c12adf6ded318 | |
parent | c6d4381220a0087ce19dbf6984d92c451bd6b364 [diff] |
dma-direct: add an explicit dma_direct_get_required_mask This is somewhat modelled after the powerpc version, and differs from the legacy fallback in use fls64 instead of pointlessly splitting up the address into low and high dwords and in that it takes (__)phys_to_dma into account. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Reviewed-by: Robin Murphy <robin.murphy@arm.com>