From: Waiman Long <long...@redhat.com>

redhat/configs: Move CONFIG_PROVE_RAW_LOCK_NESTING to common/debug

CONFIG_PROVE_RAW_LOCK_NESTING is a debug option that helps debugging RT
locking issue in !RT kernel. This option is only enabled on debug kernel
with CONFIG_PROVE_LOCKING on. Move it to common.

As the common/generic version isn't really needed, just remove it.

This kernel config option is forced on for arches that set
ARCH_SUPPORTS_RT (x86 & arm64), though it can be turned off for other
arches. For now, just turn it on for all and we can disable specific
arch later if needed.

Signed-off-by: Waiman Long <long...@redhat.com>

diff --git a/redhat/configs/fedora/debug/CONFIG_PROVE_RAW_LOCK_NESTING 
b/redhat/configs/common/debug/CONFIG_PROVE_RAW_LOCK_NESTING
rename from redhat/configs/fedora/debug/CONFIG_PROVE_RAW_LOCK_NESTING
rename to redhat/configs/common/debug/CONFIG_PROVE_RAW_LOCK_NESTING
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/debug/CONFIG_PROVE_RAW_LOCK_NESTING
+++ b/redhat/configs/common/debug/CONFIG_PROVE_RAW_LOCK_NESTING
diff --git a/redhat/configs/common/generic/CONFIG_PROVE_RAW_LOCK_NESTING 
b/redhat/configs/common/generic/CONFIG_PROVE_RAW_LOCK_NESTING
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/common/generic/CONFIG_PROVE_RAW_LOCK_NESTING
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_PROVE_RAW_LOCK_NESTING is not set
diff --git a/redhat/configs/rhel/debug/CONFIG_PROVE_RAW_LOCK_NESTING 
b/redhat/configs/rhel/debug/CONFIG_PROVE_RAW_LOCK_NESTING
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/rhel/debug/CONFIG_PROVE_RAW_LOCK_NESTING
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_PROVE_RAW_LOCK_NESTING=y

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3695

-- 
_______________________________________________
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
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/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to