From: Jan Stancek on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3438#note_2166796827

That workaround covers only CONFIG_PREEMPT_RT, but not other configs that are
reset back by rhel/fedora directories, such as CONFIG_DEBUG_PREEMPT.

If I diff all configs with and without the last commit (that moves configs to
common)  I get:
```diff
diff -u -r /tmp/2/kernel-6.12.0-aarch64-rt.config
/tmp/3/kernel-6.12.0-aarch64-rt.config
--- /tmp/2/kernel-6.12.0-aarch64-rt.config      2024-10-18 16:01:08.070396500
-0400
+++ /tmp/3/kernel-6.12.0-aarch64-rt.config      2024-10-18 16:01:52.731014002
-0400
@@ -8535,7 +8535,7 @@
 # end of Scheduler Debugging

 # CONFIG_DEBUG_TIMEKEEPING is not set
-CONFIG_DEBUG_PREEMPT=y
+# CONFIG_DEBUG_PREEMPT is not set

 #
 # Lock Debugging (spinlocks, mutexes, etc...)
@@ -8797,5 +8797,5 @@
 # Red Hat options
 #
 CONFIG_RHEL_DIFFERENCES=y
-# CONFIG_RH_KABI_SIZE_ALIGN_CHECKS is not set
+CONFIG_RH_KABI_SIZE_ALIGN_CHECKS=y
 # end of Red Hat options
diff -u -r /tmp/2/kernel-6.12.0-aarch64-rt-debug.config
/tmp/3/kernel-6.12.0-aarch64-rt-debug.config
--- /tmp/2/kernel-6.12.0-aarch64-rt-debug.config        2024-10-18
16:01:08.070396500 -0400
+++ /tmp/3/kernel-6.12.0-aarch64-rt-debug.config        2024-10-18
16:01:52.732014016 -0400
@@ -8593,7 +8593,7 @@
 CONFIG_DEBUG_LOCK_ALLOC=y
 CONFIG_LOCKDEP=y
 CONFIG_LOCKDEP_BITS=18
-CONFIG_LOCKDEP_CHAINS_BITS=20
+CONFIG_LOCKDEP_CHAINS_BITS=18
 CONFIG_LOCKDEP_STACK_TRACE_BITS=20
 CONFIG_LOCKDEP_STACK_TRACE_HASH_BITS=14
 CONFIG_LOCKDEP_CIRCULAR_QUEUE_BITS=13
diff -u -r /tmp/2/kernel-6.12.0-x86_64-rt.config
/tmp/3/kernel-6.12.0-x86_64-rt.config
--- /tmp/2/kernel-6.12.0-x86_64-rt.config       2024-10-18 16:01:08.071396514
-0400
+++ /tmp/3/kernel-6.12.0-x86_64-rt.config       2024-10-18 16:01:52.734014044
-0400
@@ -9140,7 +9140,7 @@
 # end of Scheduler Debugging

 # CONFIG_DEBUG_TIMEKEEPING is not set
-CONFIG_DEBUG_PREEMPT=y
+# CONFIG_DEBUG_PREEMPT is not set

 #
 # Lock Debugging (spinlocks, mutexes, etc...)
@@ -9454,5 +9454,5 @@
 # Red Hat options
 #
 CONFIG_RHEL_DIFFERENCES=y
-# CONFIG_RH_KABI_SIZE_ALIGN_CHECKS is not set
+CONFIG_RH_KABI_SIZE_ALIGN_CHECKS=y
 # end of Red Hat options
diff -u -r /tmp/2/kernel-6.12.0-x86_64-rt-debug.config
/tmp/3/kernel-6.12.0-x86_64-rt-debug.config
--- /tmp/2/kernel-6.12.0-x86_64-rt-debug.config 2024-10-18 16:01:08.072396528
-0400
+++ /tmp/3/kernel-6.12.0-x86_64-rt-debug.config 2024-10-18 16:01:52.734014044
-0400
@@ -9203,7 +9203,7 @@
 CONFIG_DEBUG_LOCK_ALLOC=y
 CONFIG_LOCKDEP=y
 CONFIG_LOCKDEP_BITS=18
-CONFIG_LOCKDEP_CHAINS_BITS=20
+CONFIG_LOCKDEP_CHAINS_BITS=18
 CONFIG_LOCKDEP_STACK_TRACE_BITS=20
 CONFIG_LOCKDEP_STACK_TRACE_HASH_BITS=14
 CONFIG_LOCKDEP_CIRCULAR_QUEUE_BITS=13
```

-- 
_______________________________________________
kernel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to