Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a5cf64a5 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "lib: Kconfig.debug: Fix the recursive dependency"

parents 096d8b6d caebe7cb
Loading
Loading
Loading
Loading
+21 −15
Original line number Diff line number Diff line
@@ -582,9 +582,15 @@ config DEBUG_SPINLOCK
	  best used in conjunction with the NMI watchdog so that spinlock
	  deadlocks are also debuggable.

choice
	prompt "Perform Action on spinlock bug"
	depends on DEBUG_SPINLOCK

	default DEBUG_SPINLOCK_BITE_ON_BUG

	config DEBUG_SPINLOCK_BITE_ON_BUG
		bool "Cause a Watchdog Bite on Spinlock bug"
	depends on DEBUG_SPINLOCK && !DEBUG_SPINLOCK_PANIC_ON_BUG && MSM_WATCHDOG_V2
		depends on MSM_WATCHDOG_V2
		help
		  On a spinlock bug, cause a watchdog bite so that we can get the precise
		  state of the system captured at the time of spin dump. This is mutually
@@ -592,11 +598,11 @@ config DEBUG_SPINLOCK_BITE_ON_BUG

	config DEBUG_SPINLOCK_PANIC_ON_BUG
		bool "Cause a Kernel Panic on Spinlock bug"
	depends on DEBUG_SPINLOCK && !DEBUG_SPINLOCK_BITE_ON_BUG
		help
		  On a spinlock bug, cause a kernel panic so that we can get the complete
		  information about the system at the time of spin dump in the dmesg.
		  This is mutually exclusive with the above DEBUG_SPINLOCK_BITE_ON_BUG.
endchoice

config DEBUG_MUTEXES
	bool "Mutex debugging: basic checks"