qcacmn: Relax spin lock abuse detection thresholds

Increase irq save spin lock abuse detection threshold to 10 ms
and spin lock bh abuse detection threshold to 1 second such that
very obvious spin lock abuse cases by WLAN driver are detected
and fixed.

Change-Id: I8ca751404dc05e3fc3b6aa5db8538cb98c710260
CRs-Fixed: 2047464
Šī revīzija ir iekļauta:
Rajeev Kumar
2017-05-15 14:44:45 -07:00
revīziju iesūtīja snandini
vecāks e7e6e37448
revīzija a86e46fee9

Parādīt failu

@@ -51,9 +51,10 @@
#define QDF_LOCK_STATS_LIST 0
#endif
#define QDF_MAX_HOLD_TIME_ALOWED_SPINLOCK_IRQ 1000
#define QDF_MAX_HOLD_TIME_ALOWED_SPINLOCK_BH 5000
#define QDF_MAX_HOLD_TIME_ALOWED_SPINLOCK 5000
/* Max hold time in micro seconds, 0 to disable detection*/
#define QDF_MAX_HOLD_TIME_ALOWED_SPINLOCK_IRQ 10000
#define QDF_MAX_HOLD_TIME_ALOWED_SPINLOCK_BH 1000000
#define QDF_MAX_HOLD_TIME_ALOWED_SPINLOCK 0
#if !QDF_LOCK_STATS
struct lock_stats {};