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

dma-direct: don't call dma_set_decrypted for remapped allocations



Remapped allocations handle the encrypted bit through the pgprot passed
to vmap, so there is no call dma_set_decrypted.  Note that this case is
currently entirely theoretical as no valid kernel configuration supports
remapped allocations and memory encryption currently.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 4d056478
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment