From: Peter Robinson <pbrobinson(a)redhat.com>
Fedora: only enable DEBUG_HIGHMEM on debug kernels
We shouldn't have DEBUG_HIGHMEM for default kernels so disable it
and any of the bits that try to enable it on standard kernels but
leave it in place for debug kernels.
Signed-off-by: Peter Robinson <pbrobinson(a)redhat.com>
diff a/redhat/configs/fedora/debug/CONFIG_DEBUG_HIGHMEM
b/redhat/configs/fedora/debug/CONFIG_DEBUG_HIGHMEM
--- /dev/null
+++ b/redhat/configs/fedora/debug/CONFIG_DEBUG_HIGHMEM
@@ -0,0 +1 @@
+CONFIG_DEBUG_HIGHMEM=y
diff a/redhat/configs/fedora/debug/CONFIG_DEBUG_KMAP_LOCAL
b/redhat/configs/fedora/debug/CONFIG_DEBUG_KMAP_LOCAL
--- /dev/null
+++ b/redhat/configs/fedora/debug/CONFIG_DEBUG_KMAP_LOCAL
@@ -0,0 +1 @@
+CONFIG_DEBUG_KMAP_LOCAL=y
diff a/redhat/configs/fedora/debug/x86/CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP
b/redhat/configs/fedora/debug/x86/CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP
--- /dev/null
+++ b/redhat/configs/fedora/debug/x86/CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP
@@ -0,0 +1 @@
+CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP=y
diff a/redhat/configs/fedora/generic/CONFIG_DEBUG_HIGHMEM
b/redhat/configs/fedora/generic/CONFIG_DEBUG_HIGHMEM
--- a/redhat/configs/fedora/generic/CONFIG_DEBUG_HIGHMEM
+++ b/redhat/configs/fedora/generic/CONFIG_DEBUG_HIGHMEM
@@ -1 +1 @@
-CONFIG_DEBUG_HIGHMEM=y
+# CONFIG_DEBUG_HIGHMEM is not set
diff a/redhat/configs/fedora/generic/CONFIG_DEBUG_KMAP_LOCAL
b/redhat/configs/fedora/generic/CONFIG_DEBUG_KMAP_LOCAL
--- /dev/null
+++ b/redhat/configs/fedora/generic/CONFIG_DEBUG_KMAP_LOCAL
@@ -0,0 +1 @@
+# CONFIG_DEBUG_KMAP_LOCAL is not set
diff a/redhat/configs/fedora/generic/x86/CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP
b/redhat/configs/fedora/generic/x86/CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP
--- /dev/null
+++ b/redhat/configs/fedora/generic/x86/CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP
@@ -0,0 +1 @@
+# CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP is not set
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/895