From: Chris von Recklinghausen <crecklin(a)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(a)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: Chris von Recklinghausen <crecklin(a)redhat.com>
Enable CONFIG_DMA_NUMA_CMA for x86_64 and aarch64
Upstream status: RHEL-only
Enable CONFIG_DMA_NUMA_CMA so that the nua_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(a)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
On 4-Oct-24 3:46 PM, Christoph von Recklinghausen wrote:
> This was from a RHEL customer request. See https://issues.redhat.com/browse/RHEL-59621
Ok, so it seems that some enterprise customers have custom network cards
which actually require physically contiguous memory on x86_64.
And they are using this in big x86_64 machines with a NUMA setup and want
to specify per NUMA node CMA buffers for performance reasons.
So I guess that this is fine, but can we have something like the above
in the commit message please ? Maybe even with the issues.redhat.com link,
although that link will only be readable by Red Hat folks.
From: Scott Weaver <scweaver(a)redhat.com>
CONFIG_OF_OVERLAY: enable for aarch64 and powerpc
CONFIG_OF_OVERLAY is now selected by some KUnit tests where CONFIG_OF is
enabled. Because these tests are enabled for aarch64 and powerpc we
also need to enable CONFIG_OF_OVERLAY for these arches.
See:
5776526beb95 ('clk: Add KUnit tests for clk fixed rate basic type')
274aff8711b2 ('clk: Add KUnit tests for clks registered with struct clk_parent_data')
5c9dd72d8385 (of: Add a KUnit test for overlays and test managed APIs)
This consolidates CONFIG_OF_OVERLAY now that we're enabling it for all
arches that support it.
Signed-off-by: Scott Weaver <scweaver(a)redhat.com>
diff --git a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_OF_OVERLAY b/redhat/configs/common/generic/CONFIG_OF_OVERLAY
rename from redhat/configs/fedora/generic/arm/aarch64/CONFIG_OF_OVERLAY
rename to redhat/configs/common/generic/CONFIG_OF_OVERLAY
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/arm/aarch64/CONFIG_OF_OVERLAY
+++ b/redhat/configs/common/generic/CONFIG_OF_OVERLAY
diff --git a/redhat/configs/fedora/generic/powerpc/CONFIG_OF_OVERLAY b/redhat/configs/fedora/generic/powerpc/CONFIG_OF_OVERLAY
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/fedora/generic/powerpc/CONFIG_OF_OVERLAY
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_OF_OVERLAY is not set
diff --git a/redhat/configs/fedora/generic/riscv/riscv64/CONFIG_OF_OVERLAY b/redhat/configs/fedora/generic/riscv/riscv64/CONFIG_OF_OVERLAY
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/fedora/generic/riscv/riscv64/CONFIG_OF_OVERLAY
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_OF_OVERLAY=y
diff --git a/redhat/configs/pending-rhel/generic/arm/aarch64/CONFIG_OF_OVERLAY b/redhat/configs/pending-rhel/generic/arm/aarch64/CONFIG_OF_OVERLAY
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/pending-rhel/generic/arm/aarch64/CONFIG_OF_OVERLAY
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_OF_OVERLAY=y
diff --git a/redhat/configs/pending-rhel/generic/powerpc/CONFIG_OF_OVERLAY b/redhat/configs/pending-rhel/generic/powerpc/CONFIG_OF_OVERLAY
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/pending-rhel/generic/powerpc/CONFIG_OF_OVERLAY
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_OF_OVERLAY=y
diff --git a/redhat/configs/rhel/generic/CONFIG_OF_OVERLAY b/redhat/configs/rhel/generic/CONFIG_OF_OVERLAY
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/rhel/generic/CONFIG_OF_OVERLAY
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_OF_OVERLAY is not set
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3425