From e98a13599a2d1d382fb236ad0fe21f86d9af7e7b Mon Sep 17 00:00:00 2001 From: Lihua Liu Date: Tue, 18 Jun 2019 18:38:08 +0800 Subject: [PATCH] qcacld-3.0: Disable QDF_LOCK_STATS_BUG_ON on SDXPRAIRIE platform As single CPU and low frequency platform, the held time of spin lock easily exceed the max time allowed when system taking heavy payload. then crash occur. To address this, Disable QDF_LOCK_STATS_BUG_ON on SDXPRAIRIE platform. Change-Id: I156a003b361f3653591102de1cde9b131c467968 CRs-Fixed: 2456386 --- Kbuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Kbuild b/Kbuild index 012798bf3c..c465cf7981 100644 --- a/Kbuild +++ b/Kbuild @@ -2749,7 +2749,9 @@ endif ifdef CONFIG_LOCK_STATS_ON ccflags-y += -DQDF_LOCK_STATS=1 ccflags-y += -DQDF_LOCK_STATS_DESTROY_PRINT=0 +ifneq ($(CONFIG_ARCH_SDXPRAIRIE), y) ccflags-y += -DQDF_LOCK_STATS_BUG_ON=1 +endif ccflags-y += -DQDF_LOCK_STATS_LIST=1 ccflags-y += -DQDF_LOCK_STATS_LIST_SIZE=256 endif