Re: [PATCH] watchdog: qcom: Avoid context switch in restart handler

2020-12-06 Thread Guenter Roeck
On 12/6/20 10:00 PM, Manivannan Sadhasivam wrote: > The use of msleep() in the restart handler will cause scheduler to > induce a context switch which is not desirable. This generates below > warning on SDX55 when WDT is the only available restart source: > > [ 39.800188] reboot: Restarting syst

[PATCH] watchdog: qcom: Avoid context switch in restart handler

2020-12-06 Thread Manivannan Sadhasivam
The use of msleep() in the restart handler will cause scheduler to induce a context switch which is not desirable. This generates below warning on SDX55 when WDT is the only available restart source: [ 39.800188] reboot: Restarting system [ 39.804115] [ cut here ] [ 3