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: NChristoph Hellwig <hch@lst.de> Signed-off-by: NDavid Rientjes <rientjes@google.com> [hch: fixup copyrights and remove unused includes] Signed-off-by: NChristoph Hellwig <hch@lst.de>
Showing
kernel/dma/pool.c
0 → 100644
想要评论请 注册 或 登录