Skip to content
Commit e860c299 authored by David Rientjes's avatar David Rientjes Committed by Christoph Hellwig
Browse files

dma-remap: separate DMA atomic pools from direct remap code



DMA atomic pools will be needed beyond only CONFIG_DMA_DIRECT_REMAP so
separate them out into their own file.

This also adds a new Kconfig option that can be subsequently used for
options, such as CONFIG_AMD_MEM_ENCRYPT, that will utilize the coherent
pools but do not have a dependency on direct remapping.

For this patch alone, there is no functional change introduced.

Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarDavid Rientjes <rientjes@google.com>
[hch: fixup copyrights and remove unused includes]
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 05f099a7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment