[linux-yocto] [PATCH 1/2] lockdep: disable self-test

Paul Gortmaker paul.gortmaker at windriver.com
Mon Feb 5 11:56:27 PST 2018


From: Sebastian Andrzej Siewior <bigeasy at linutronix.de>

The self-test wasn't always 100% accurate for RT. We disabled a few
tests which failed because they had a different semantic for RT. Some
still reported false positives. Now the selftest locks up the system
during boot and it needs to be investigated…

Signed-off-by: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
Signed-off-by: Paul Gortmaker <paul.gortmaker at windriver.com>
---
 lib/Kconfig.debug | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 1f1cb51005de..cc977b9189bb 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -1163,7 +1163,7 @@ config DEBUG_ATOMIC_SLEEP
 
 config DEBUG_LOCKING_API_SELFTESTS
 	bool "Locking API boot-time self-tests"
-	depends on DEBUG_KERNEL
+	depends on DEBUG_KERNEL && !PREEMPT_RT_FULL
 	help
 	  Say Y here if you want the kernel to run a short self-test during
 	  bootup. The self-test checks whether common types of locking bugs
-- 
2.15.0



More information about the linux-yocto mailing list