dma-contiguous: support per-numa CMA for all architectures
authorYajun Deng <yajun.deng@linux.dev>
Fri, 12 May 2023 09:42:10 +0000 (17:42 +0800)
committerChristoph Hellwig <hch@lst.de>
Mon, 31 Jul 2023 15:54:28 +0000 (17:54 +0200)
commit22e4a348f87c59df2c02f1efb7ba9a56b622c7b8
tree30ce9c2e09b1991ecff13f8554f908636fc647b9
parent3d6f126b15d9fd8435455fffc912d976973a7a09
dma-contiguous: support per-numa CMA for all architectures

In the commit b7176c261cdb ("dma-contiguous: provide the ability to
reserve per-numa CMA"), Barry adds DMA_PERNUMA_CMA for ARM64.

But this feature is architecture independent, so support per-numa CMA
for all architectures, and enable it by default if NUMA.

Signed-off-by: Yajun Deng <yajun.deng@linux.dev>
Tested-by: Yicong Yang <yangyicong@hisilicon.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Documentation/admin-guide/kernel-parameters.txt
arch/arm64/mm/init.c
include/linux/dma-map-ops.h
kernel/dma/Kconfig
kernel/dma/contiguous.c