From 308c0bf51601597d2f690451ac87ed48623aed29 Mon Sep 17 00:00:00 2001 From: duxu1 Date: Mon, 13 Jun 2022 17:33:54 +0800 Subject: [PATCH] Enable SPINLOCK and MUTEXES debug config Enable SPINLOCK and MUTEXES debug config in userdebug build to debug deadlock issue. CONFIG_DEBUG_SPINLOCK=y CONFIG_DEBUG_MUTEXES=y Change-Id: I2dee3eb1997b54ae18cba0c41fd8db32e68f3e3d Signed-off-by: duxu1 Reviewed-on: https://gerrit.mot.com/2298955 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Hongshu Lou Reviewed-by: Huosheng Liao Reviewed-by: Zhizhong Ge Submit-Approved: Jira Key --- arch/arm64/configs/vendor/ext_config/debug-holi.config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/configs/vendor/ext_config/debug-holi.config b/arch/arm64/configs/vendor/ext_config/debug-holi.config index 2aad8fa96812..c23f9114764a 100644 --- a/arch/arm64/configs/vendor/ext_config/debug-holi.config +++ b/arch/arm64/configs/vendor/ext_config/debug-holi.config @@ -54,8 +54,8 @@ CONFIG_CORESIGHT_TGU=y # CONFIG_DEBUG_KMEMLEAK is not set # CONFIG_DEBUG_VIRTUAL is not set # CONFIG_DEBUG_RT_MUTEXES is not set -# CONFIG_DEBUG_SPINLOCK is not set -# CONFIG_DEBUG_MUTEXES is not set +CONFIG_DEBUG_SPINLOCK=y +CONFIG_DEBUG_MUTEXES=y # CONFIG_DEBUG_LOCK_ALLOC is not set # CONFIG_DEBUG_LOCKDEP is not set # CONFIG_DEBUG_ATOMIC_SLEEP is not set