diff options
author | Yajun Deng <yajun.deng@linux.dev> | 2023-05-12 17:42:10 +0800 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2023-07-31 17:54:28 +0200 |
commit | 22e4a348f87c59df2c02f1efb7ba9a56b622c7b8 (patch) | |
tree | 30ce9c2e09b1991ecff13f8554f908636fc647b9 /arch/arm64/mm | |
parent | 3d6f126b15d9fd8435455fffc912d976973a7a09 (diff) | |
download | linux-stable-22e4a348f87c59df2c02f1efb7ba9a56b622c7b8.tar.gz linux-stable-22e4a348f87c59df2c02f1efb7ba9a56b622c7b8.tar.bz2 linux-stable-22e4a348f87c59df2c02f1efb7ba9a56b622c7b8.zip |
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>
Diffstat (limited to 'arch/arm64/mm')
-rw-r--r-- | arch/arm64/mm/init.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm64/mm/init.c b/arch/arm64/mm/init.c index d31c3a9290c5..527b0057434b 100644 --- a/arch/arm64/mm/init.c +++ b/arch/arm64/mm/init.c @@ -434,8 +434,6 @@ void __init bootmem_init(void) arm64_hugetlb_cma_reserve(); #endif - dma_pernuma_cma_reserve(); - kvm_hyp_reserve(); /* |