Re: [PATCH v1] System Peripherals - watchdog timer
Mayuresh Chitale <mchitale@...> 於 2021年7月7日 週三 上午1:42寫道：
This patch describes requirements for the watchdog timer
Does it mean the second-stage watchdog timer would be timeout 1 second after the first-stage watchdog timer has not been updated?
On the server platform, firmware usually updates the watchdog timer in the background even under OS in runtime. When the watchdog interrupt is triggered, the firmware takes over, sends the log to BMC, and asks BMC to either shutdown or reset the system according to scenarios. We don't like to see OS or hypervisor in the middle to delay the system recovery, for example, OS or processor is somehow halted and the temperature in the box goes pretty high rapidly.
Is 1 second too long for the crisis recovery? Should the first-stage watchdog timer be able to configure as either M or S mode interrupt? So firmware can handle the crisis immediately.