Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dma-direct: don't call dma_set_decrypted for remapped allocations
[ Upstream commit 5570449 ] 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: Christoph Hellwig <hch@lst.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information