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
This commit is contained in:
Lihua Liu
2019-06-18 18:38:08 +08:00
committed by nshrivas
parent 7172b499a6
commit e98a13599a

2
Kbuild
View File

@@ -2749,7 +2749,9 @@ endif
ifdef CONFIG_LOCK_STATS_ON ifdef CONFIG_LOCK_STATS_ON
ccflags-y += -DQDF_LOCK_STATS=1 ccflags-y += -DQDF_LOCK_STATS=1
ccflags-y += -DQDF_LOCK_STATS_DESTROY_PRINT=0 ccflags-y += -DQDF_LOCK_STATS_DESTROY_PRINT=0
ifneq ($(CONFIG_ARCH_SDXPRAIRIE), y)
ccflags-y += -DQDF_LOCK_STATS_BUG_ON=1 ccflags-y += -DQDF_LOCK_STATS_BUG_ON=1
endif
ccflags-y += -DQDF_LOCK_STATS_LIST=1 ccflags-y += -DQDF_LOCK_STATS_LIST=1
ccflags-y += -DQDF_LOCK_STATS_LIST_SIZE=256 ccflags-y += -DQDF_LOCK_STATS_LIST_SIZE=256
endif endif