commit | cf14be0b41c659ede89abef3f7ec0e98e6cfea5b | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Aug 06 14:33:23 2019 +0300 |
committer | Christoph Hellwig <hch@lst.de> | Sat Aug 10 19:52:45 2019 +0200 |
tree | ae57280bce6c3482f37a02b09fe5785a4006532b | |
parent | 451577f3e3a9bf1861218641dbbf98e214e77851 [diff] |
dma-direct: fix DMA_ATTR_NO_KERNEL_MAPPING The new DMA_ATTR_NO_KERNEL_MAPPING needs to actually assign a dma_addr to work. Also skip it if the architecture needs forced decryption handling, as that needs a kernel virtual address. Fixes: d98849aff879 (dma-direct: handle DMA_ATTR_NO_KERNEL_MAPPING in common code) Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Lucas Stach <l.stach@pengutronix.de>