The design and implementation of a prototype of this watchdog processor is also presented.doi:10.1016/0141-9331(91)90131-XHenrique MadeiraJosé Cam?esJo?o Gabriel SilvaMicroprocessors & MicrosystemsH. Madeira et al.: A Watchdog Processor for Concurrent Error Detection in Multiple Processor Systems....
Watchdong Timer(看门狗计时器)在目前的现代的微控制器中非常的common,它可以reset整个系统,如果系统中出现了bug。 图1 它是一个硬件系统,可以集成在processor内部,也可以集成在processor外部,但是不论是哪一种情况,看门狗计时器的输出都与处理器的复位端同时绑定。 图2 看门狗计时器的原理很简单,图二就是其中一个...
/* 得到下一颗CPU */ next_cpu = watchdog_next_cpu(smp_processor_id()); if (is_hardlockup_other_cpu(next_cpu)) { if (hardlockup_panic)//是否panic panic("Watchdog detected hard LOCKUP on cpu %u", next_cpu); else WARN(1, "Watchdog detected hard LOCKUP on cpu %u", next_cpu)...
lockup 检测函数:static int is_softlockup(unsigned long touch_ts) { //当前时间戳 unsigned long now = get_timestamp(smp_processor_id()); //watchdog在 watchdog_thresh * 2 时间内未被调度过 if (time_after(now, touch_ts + get_softlockup_thresh())) return now - touch_ts; return 0;...
smp_processor_id(),duration, current->comm,task_pid_nr(current)); print_modules(); print_irqtrace_events(current); if(regs) show_regs(regs); else dump_stack(); //如果配置了softlockup_panic(proc中配置),则panic if(softlockup_panic) ...
static enum hrtimer_restart watchdog_timer_fn(struct hrtimer *hrtimer) { unsigned long touch_ts = __this_cpu_read(watchdog_touch_ts); //获取上一次dog时间戳 int duration; stop_one_cpu_nowait(smp_processor_id(), //通过stop_cpu机制来 softlockup_fn, NULL, //调用softlockup_fn来喂狗更新...
Registers (R1-R2) provide locations for obtained data. The processor can read test data and the contents of the registers and perform a comparison process to identify faults in the communication process. ADVANTAGE - Continuous monitoring of data and address bus. 展开 ...
The Watchdog Timer contains several configuration registers that can be written and read by the processor. Two 4-bit prescalers precede a 16-bit counter. The counter can be clocked at either the input clock rate, or a choice of 2 prescaled rates. The counter can be loaded with a value ...
Some users with an ASUS* motherboard combined with an unlocked processor may be unable to restore profile settings after reboot. This is because the Intel® Watchdog Timer Driver (Intel® WDT Driver) is not present in Intel® XTU. Intel® WDT Driver is responsible for the automatic ...
[15013187.660325] CPU6 has been hot-added [15013187.663126] CPU7 has been hot-added [15013187.663454] CPU8 has been hot-added [15013187.663927] CPU9 has been hot-added [15013187.673920] smpboot: Booting Node 0 Processor 7 APIC 0x7 [15013188.089777] kvm-clock: cpu 7, msr 24d6011c1, secondar...