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

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: d98849af (dma-direct: handle DMA_ATTR_NO_KERNEL_MAPPING in common code)
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarLucas Stach <l.stach@pengutronix.de>
parent 451577f3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment