qcacmn: Increase SPINLOCK_IRQ max hold time for Hypervisor system

In hypervisor system, lock may hold too long due to context switches
and system calls at host which is leading to stolen time. Sometimes
this delay will be larger than 100 ms.

To address this issue, it needs to increase irq save spin lock detection
threshold to 100+ ms for hypervisor system.

Change-Id: I6ea11b96e786c7f45bc84b29e0315e690552569f
CRs-Fixed: 3125904
This commit is contained in:
Tiger Yu
2022-07-13 10:53:35 +08:00
committed by Madan Koyyalamudi
父節點 f4ad06f0cc
當前提交 532a58ac1c

查看文件

@@ -44,7 +44,11 @@
#endif
/* Max hold time in micro seconds, 0 to disable detection*/
#ifdef VCPU_TIMESTOLEN
#define QDF_MAX_HOLD_TIME_ALOWED_SPINLOCK_IRQ 400000
#else
#define QDF_MAX_HOLD_TIME_ALOWED_SPINLOCK_IRQ 10000
#endif
#define QDF_MAX_HOLD_TIME_ALOWED_SPINLOCK 0
#if QDF_LOCK_STATS