From: Chris von Recklinghausen crecklin@redhat.com
Enable CONFIG_DMA_NUMA_CMA for x86_64 and aarch64
Upstream status: RHEL-only
Enable CONFIG_DMA_NUMA_CMA so that the numa_cma kernel command line argument is exposed for those customers who have I/O cards that require physically contiguous DMA segments and wish to restrict those segments to a particular numa node.
Signed-off-by: Chris von Recklinghausen crecklin@redhat.com
diff --git a/redhat/configs/common/generic/arm/aarch64/CONFIG_DMA_NUMA_CMA b/redhat/configs/common/generic/arm/aarch64/CONFIG_DMA_NUMA_CMA new file mode 100644 index blahblah..blahblah 100644 --- /dev/null +++ b/redhat/configs/common/generic/arm/aarch64/CONFIG_DMA_NUMA_CMA @@ -0,0 +1 @@ +CONFIG_DMA_NUMA_CMA=y diff --git a/redhat/configs/common/generic/x86/CONFIG_DMA_NUMA_CMA b/redhat/configs/common/generic/x86/CONFIG_DMA_NUMA_CMA new file mode 100644 index blahblah..blahblah 100644 --- /dev/null +++ b/redhat/configs/common/generic/x86/CONFIG_DMA_NUMA_CMA @@ -0,0 +1 @@ +CONFIG_DMA_NUMA_CMA=y
-- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3428
From: Jerry Snitselaar on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3428#note_2144660...
From what I can see it was enabled on x86_64 originally to eventually support rdma <-> gpu p2pdma in e89018a7e535 ("configs: enable CONFIG_CMA on x86_64 in ARK").
kernel@lists.fedoraproject.org