qcacmn: Ignore sched watchdog timeout incase of recovery
For some targets, whenever the recovery is triggered in the scheduler thread context, in the same context the firmware dump collection could also happen and can more time than the watchdog timeout for the same. So check and ignore watchdog timeout when the recovery is already inprogress. Change-Id: I0e74e73139a83c6361407fe2eef8d6d0cf2a5d8c CRs-Fixed: 2718984
Цей коміт міститься в:

зафіксовано
nshrivas

джерело
a6029b9c59
коміт
6d768494e5
@@ -20,6 +20,7 @@
|
||||
#include <scheduler_core.h>
|
||||
#include <qdf_atomic.h>
|
||||
#include <qdf_module.h>
|
||||
#include <qdf_platform.h>
|
||||
|
||||
QDF_STATUS scheduler_disable(void)
|
||||
{
|
||||
@@ -64,6 +65,11 @@ static void scheduler_watchdog_timeout(void *arg)
|
||||
{
|
||||
struct scheduler_ctx *sched = arg;
|
||||
|
||||
if (qdf_is_recovering()) {
|
||||
sched_debug("Recovery is in progress ignore timeout");
|
||||
return;
|
||||
}
|
||||
|
||||
scheduler_watchdog_notify(sched);
|
||||
if (sched->sch_thread)
|
||||
qdf_print_thread_trace(sched->sch_thread);
|
||||
|
Посилання в новій задачі
Заблокувати користувача