Re: [PATCH] watchdog: da9062: da9063: prevent watchdog pings ahead of reboot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Guenter,

I will re-spin boards in boot loop tests to see if your solution to the problem also works. If this is the case, that would significantly reduce code complexity, indeed.

On the other hand I fear that it might be too late to check for (system_state > SYSTEM_RUNNING) in watchdog ping handler since if I remember correctly reboot notifier still runs in system_state == SYSTEM_RUNNING which might be just enough sooner to hit the sweet spot.

But nevertheless, thank you for your input and the idea.

Keep you informed,

BR,
Primoz


On 6. 07. 21 15:28, Guenter Roeck wrote:
Why all that complexity and not just check system_state here ?

Guenter



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux