xref: /linux/Documentation/watchdog/watchdog-parameters.rst (revision 7a5f93ea5862da91488975acaa0c7abd508f192b)
1==========================
2WatchDog Module Parameters
3==========================
4
5This file provides information on the module parameters of many of
6the Linux watchdog drivers.  Watchdog driver parameter specs should
7be listed here unless the driver has its own driver-specific information
8file.
9
10See Documentation/admin-guide/kernel-parameters.rst for information on
11providing kernel parameters for builtin drivers versus loadable
12modules.
13
14-------------------------------------------------
15
16watchdog core:
17    open_timeout:
18	Maximum time, in seconds, for which the watchdog framework will take
19	care of pinging a running hardware watchdog until userspace opens the
20	corresponding /dev/watchdogN device. A value of 0 means an infinite
21	timeout. Setting this to a non-zero value can be useful to ensure that
22	either userspace comes up properly, or the board gets reset and allows
23	fallback logic in the bootloader to try something else.
24
25-------------------------------------------------
26
27acquirewdt:
28    wdt_stop:
29	Acquire WDT 'stop' io port (default 0x43)
30    wdt_start:
31	Acquire WDT 'start' io port (default 0x443)
32    nowayout:
33	Watchdog cannot be stopped once started
34	(default=kernel config parameter)
35
36-------------------------------------------------
37
38advantechwdt:
39    wdt_stop:
40	Advantech WDT 'stop' io port (default 0x443)
41    wdt_start:
42	Advantech WDT 'start' io port (default 0x443)
43    timeout:
44	Watchdog timeout in seconds. 1<= timeout <=63, default=60.
45    nowayout:
46	Watchdog cannot be stopped once started
47	(default=kernel config parameter)
48
49-------------------------------------------------
50
51alim1535_wdt:
52    timeout:
53	Watchdog timeout in seconds. (0 < timeout < 18000, default=60
54    nowayout:
55	Watchdog cannot be stopped once started
56	(default=kernel config parameter)
57
58-------------------------------------------------
59
60alim7101_wdt:
61    timeout:
62	Watchdog timeout in seconds. (1<=timeout<=3600, default=30
63    use_gpio:
64	Use the gpio watchdog (required by old cobalt boards).
65	default=0/off/no
66    nowayout:
67	Watchdog cannot be stopped once started
68	(default=kernel config parameter)
69
70-------------------------------------------------
71
72ar7_wdt:
73    margin:
74	Watchdog margin in seconds (default=60)
75    nowayout:
76	Disable watchdog shutdown on close
77	(default=kernel config parameter)
78
79-------------------------------------------------
80
81armada_37xx_wdt:
82    timeout:
83	Watchdog timeout in seconds. (default=120)
84    nowayout:
85	Disable watchdog shutdown on close
86	(default=kernel config parameter)
87
88-------------------------------------------------
89
90at91rm9200_wdt:
91    wdt_time:
92	Watchdog time in seconds. (default=5)
93    nowayout:
94	Watchdog cannot be stopped once started
95	(default=kernel config parameter)
96
97-------------------------------------------------
98
99at91sam9_wdt:
100    heartbeat:
101	Watchdog heartbeats in seconds. (default = 15)
102    nowayout:
103	Watchdog cannot be stopped once started
104	(default=kernel config parameter)
105
106-------------------------------------------------
107
108bcm47xx_wdt:
109    wdt_time:
110	Watchdog time in seconds. (default=30)
111    nowayout:
112	Watchdog cannot be stopped once started
113	(default=kernel config parameter)
114
115-------------------------------------------------
116
117coh901327_wdt:
118    margin:
119	Watchdog margin in seconds (default 60s)
120
121-------------------------------------------------
122
123cpwd:
124    wd0_timeout:
125	Default watchdog0 timeout in 1/10secs
126    wd1_timeout:
127	Default watchdog1 timeout in 1/10secs
128    wd2_timeout:
129	Default watchdog2 timeout in 1/10secs
130
131-------------------------------------------------
132
133da9052wdt:
134    timeout:
135	Watchdog timeout in seconds. 2<= timeout <=131, default=2.048s
136    nowayout:
137	Watchdog cannot be stopped once started
138	(default=kernel config parameter)
139
140-------------------------------------------------
141
142davinci_wdt:
143    heartbeat:
144	Watchdog heartbeat period in seconds from 1 to 600, default 60
145
146-------------------------------------------------
147
148ebc-c384_wdt:
149    timeout:
150	Watchdog timeout in seconds. (1<=timeout<=15300, default=60)
151    nowayout:
152	Watchdog cannot be stopped once started
153
154-------------------------------------------------
155
156ep93xx_wdt:
157    nowayout:
158	Watchdog cannot be stopped once started
159    timeout:
160	Watchdog timeout in seconds. (1<=timeout<=3600, default=TBD)
161
162-------------------------------------------------
163
164eurotechwdt:
165    nowayout:
166	Watchdog cannot be stopped once started
167	(default=kernel config parameter)
168    io:
169	Eurotech WDT io port (default=0x3f0)
170    irq:
171	Eurotech WDT irq (default=10)
172    ev:
173	Eurotech WDT event type (default is `int`)
174
175-------------------------------------------------
176
177gef_wdt:
178    nowayout:
179	Watchdog cannot be stopped once started
180	(default=kernel config parameter)
181
182-------------------------------------------------
183
184geodewdt:
185    timeout:
186	Watchdog timeout in seconds. 1<= timeout <=131, default=60.
187    nowayout:
188	Watchdog cannot be stopped once started
189	(default=kernel config parameter)
190
191-------------------------------------------------
192
193i6300esb:
194    heartbeat:
195	Watchdog heartbeat in seconds. (1<heartbeat<2046, default=30)
196    nowayout:
197	Watchdog cannot be stopped once started
198	(default=kernel config parameter)
199
200-------------------------------------------------
201
202iTCO_wdt:
203    heartbeat:
204	Watchdog heartbeat in seconds.
205	(2<heartbeat<39 (TCO v1) or 613 (TCO v2), default=30)
206    nowayout:
207	Watchdog cannot be stopped once started
208	(default=kernel config parameter)
209
210-------------------------------------------------
211
212iTCO_vendor_support:
213    vendorsupport:
214	iTCO vendor specific support mode, default=0 (none),
215	1=SuperMicro Pent3, 2=SuperMicro Pent4+, 911=Broken SMI BIOS
216
217-------------------------------------------------
218
219ib700wdt:
220    timeout:
221	Watchdog timeout in seconds. 0<= timeout <=30, default=30.
222    nowayout:
223	Watchdog cannot be stopped once started
224	(default=kernel config parameter)
225
226-------------------------------------------------
227
228ibmasr:
229    nowayout:
230	Watchdog cannot be stopped once started
231	(default=kernel config parameter)
232
233-------------------------------------------------
234
235imx2_wdt:
236    timeout:
237	Watchdog timeout in seconds (default 60 s)
238    nowayout:
239	Watchdog cannot be stopped once started
240	(default=kernel config parameter)
241
242-------------------------------------------------
243
244indydog:
245    nowayout:
246	Watchdog cannot be stopped once started
247	(default=kernel config parameter)
248
249-------------------------------------------------
250
251iop_wdt:
252    nowayout:
253	Watchdog cannot be stopped once started
254	(default=kernel config parameter)
255
256-------------------------------------------------
257
258it8712f_wdt:
259    margin:
260	Watchdog margin in seconds (default 60)
261    nowayout:
262	Disable watchdog shutdown on close
263	(default=kernel config parameter)
264
265-------------------------------------------------
266
267it87_wdt:
268    nogameport:
269	Forbid the activation of game port, default=0
270    nocir:
271	Forbid the use of CIR (workaround for some buggy setups); set to 1 if
272system resets despite watchdog daemon running, default=0
273    exclusive:
274	Watchdog exclusive device open, default=1
275    timeout:
276	Watchdog timeout in seconds, default=60
277    testmode:
278	Watchdog test mode (1 = no reboot), default=0
279    nowayout:
280	Watchdog cannot be stopped once started
281	(default=kernel config parameter)
282
283-------------------------------------------------
284
285ixp4xx_wdt:
286    heartbeat:
287	Watchdog heartbeat in seconds (default 60s)
288    nowayout:
289	Watchdog cannot be stopped once started
290	(default=kernel config parameter)
291
292-------------------------------------------------
293
294machzwd:
295    nowayout:
296	Watchdog cannot be stopped once started
297	(default=kernel config parameter)
298    action:
299	after watchdog resets, generate:
300	0 = RESET(*)  1 = SMI  2 = NMI  3 = SCI
301
302-------------------------------------------------
303
304max63xx_wdt:
305    heartbeat:
306	Watchdog heartbeat period in seconds from 1 to 60, default 60
307    nowayout:
308	Watchdog cannot be stopped once started
309	(default=kernel config parameter)
310    nodelay:
311	Force selection of a timeout setting without initial delay
312	(max6373/74 only, default=0)
313
314-------------------------------------------------
315
316mixcomwd:
317    nowayout:
318	Watchdog cannot be stopped once started
319	(default=kernel config parameter)
320
321-------------------------------------------------
322
323mpc8xxx_wdt:
324    timeout:
325	Watchdog timeout in ticks. (0<timeout<65536, default=65535)
326    reset:
327	Watchdog Interrupt/Reset Mode. 0 = interrupt, 1 = reset
328    nowayout:
329	Watchdog cannot be stopped once started
330	(default=kernel config parameter)
331
332-------------------------------------------------
333
334mv64x60_wdt:
335    nowayout:
336	Watchdog cannot be stopped once started
337	(default=kernel config parameter)
338
339-------------------------------------------------
340
341ni903x_wdt:
342    timeout:
343	Initial watchdog timeout in seconds (0<timeout<516, default=60)
344    nowayout:
345	Watchdog cannot be stopped once started
346	(default=kernel config parameter)
347
348-------------------------------------------------
349
350nic7018_wdt:
351    timeout:
352	Initial watchdog timeout in seconds (0<timeout<464, default=80)
353    nowayout:
354	Watchdog cannot be stopped once started
355	(default=kernel config parameter)
356
357-------------------------------------------------
358
359omap_wdt:
360    timer_margin:
361	initial watchdog timeout (in seconds)
362    early_enable:
363	Watchdog is started on module insertion (default=0
364    nowayout:
365	Watchdog cannot be stopped once started
366	(default=kernel config parameter)
367
368-------------------------------------------------
369
370orion_wdt:
371    heartbeat:
372	Initial watchdog heartbeat in seconds
373    nowayout:
374	Watchdog cannot be stopped once started
375	(default=kernel config parameter)
376
377-------------------------------------------------
378
379pc87413_wdt:
380    io:
381	pc87413 WDT I/O port (default: io).
382    timeout:
383	Watchdog timeout in minutes (default=timeout).
384    nowayout:
385	Watchdog cannot be stopped once started
386	(default=kernel config parameter)
387
388-------------------------------------------------
389
390pika_wdt:
391    heartbeat:
392	Watchdog heartbeats in seconds. (default = 15)
393    nowayout:
394	Watchdog cannot be stopped once started
395	(default=kernel config parameter)
396
397-------------------------------------------------
398
399pnx4008_wdt:
400    heartbeat:
401	Watchdog heartbeat period in seconds from 1 to 60, default 19
402    nowayout:
403	Set to 1 to keep watchdog running after device release
404
405-------------------------------------------------
406
407pnx833x_wdt:
408    timeout:
409	Watchdog timeout in Mhz. (68Mhz clock), default=2040000000 (30 seconds)
410    nowayout:
411	Watchdog cannot be stopped once started
412	(default=kernel config parameter)
413    start_enabled:
414	Watchdog is started on module insertion (default=1)
415
416-------------------------------------------------
417
418pseries-wdt:
419    action:
420	Action taken when watchdog expires: 0 (power off), 1 (restart),
421	2 (dump and restart). (default=1)
422    timeout:
423	Initial watchdog timeout in seconds. (default=60)
424    nowayout:
425	Watchdog cannot be stopped once started.
426	(default=kernel config parameter)
427
428-------------------------------------------------
429
430rc32434_wdt:
431    timeout:
432	Watchdog timeout value, in seconds (default=20)
433    nowayout:
434	Watchdog cannot be stopped once started
435	(default=kernel config parameter)
436
437-------------------------------------------------
438
439riowd:
440    riowd_timeout:
441	Watchdog timeout in minutes (default=1)
442
443-------------------------------------------------
444
445s3c2410_wdt:
446    tmr_margin:
447	Watchdog tmr_margin in seconds. (default=15)
448    tmr_atboot:
449	Watchdog is started at boot time if set to 1, default=0
450    nowayout:
451	Watchdog cannot be stopped once started
452	(default=kernel config parameter)
453    soft_noboot:
454	Watchdog action, set to 1 to ignore reboots, 0 to reboot
455    debug:
456	Watchdog debug, set to >1 for debug, (default 0)
457
458-------------------------------------------------
459
460sa1100_wdt:
461    margin:
462	Watchdog margin in seconds (default 60s)
463
464-------------------------------------------------
465
466sb_wdog:
467    timeout:
468	Watchdog timeout in microseconds (max/default 8388607 or 8.3ish secs)
469
470-------------------------------------------------
471
472sbc60xxwdt:
473    wdt_stop:
474	SBC60xx WDT 'stop' io port (default 0x45)
475    wdt_start:
476	SBC60xx WDT 'start' io port (default 0x443)
477    timeout:
478	Watchdog timeout in seconds. (1<=timeout<=3600, default=30)
479    nowayout:
480	Watchdog cannot be stopped once started
481	(default=kernel config parameter)
482
483-------------------------------------------------
484
485sbc7240_wdt:
486    timeout:
487	Watchdog timeout in seconds. (1<=timeout<=255, default=30)
488    nowayout:
489	Disable watchdog when closing device file
490
491-------------------------------------------------
492
493sbc8360:
494    timeout:
495	Index into timeout table (0-63) (default=27 (60s))
496    nowayout:
497	Watchdog cannot be stopped once started
498	(default=kernel config parameter)
499
500-------------------------------------------------
501
502sbc_epx_c3:
503    nowayout:
504	Watchdog cannot be stopped once started
505	(default=kernel config parameter)
506
507-------------------------------------------------
508
509sbc_fitpc2_wdt:
510    margin:
511	Watchdog margin in seconds (default 60s)
512    nowayout:
513	Watchdog cannot be stopped once started
514
515-------------------------------------------------
516
517sbsa_gwdt:
518    timeout:
519	Watchdog timeout in seconds. (default 10s)
520    action:
521	Watchdog action at the first stage timeout,
522	set to 0 to ignore, 1 to panic. (default=0)
523    nowayout:
524	Watchdog cannot be stopped once started
525	(default=kernel config parameter)
526
527-------------------------------------------------
528
529sc1200wdt:
530    isapnp:
531	When set to 0 driver ISA PnP support will be disabled (default=1)
532    io:
533	io port
534    timeout:
535	range is 0-255 minutes, default is 1
536    nowayout:
537	Watchdog cannot be stopped once started
538	(default=kernel config parameter)
539
540-------------------------------------------------
541
542sc520_wdt:
543    timeout:
544	Watchdog timeout in seconds. (1 <= timeout <= 3600, default=30)
545    nowayout:
546	Watchdog cannot be stopped once started
547	(default=kernel config parameter)
548
549-------------------------------------------------
550
551sch311x_wdt:
552    force_id:
553	Override the detected device ID
554    therm_trip:
555	Should a ThermTrip trigger the reset generator
556    timeout:
557	Watchdog timeout in seconds. 1<= timeout <=15300, default=60
558    nowayout:
559	Watchdog cannot be stopped once started
560	(default=kernel config parameter)
561
562-------------------------------------------------
563
564scx200_wdt:
565    margin:
566	Watchdog margin in seconds
567    nowayout:
568	Disable watchdog shutdown on close
569
570-------------------------------------------------
571
572shwdt:
573    clock_division_ratio:
574	Clock division ratio. Valid ranges are from 0x5 (1.31ms)
575	to 0x7 (5.25ms). (default=7)
576    heartbeat:
577	Watchdog heartbeat in seconds. (1 <= heartbeat <= 3600, default=30
578    nowayout:
579	Watchdog cannot be stopped once started
580	(default=kernel config parameter)
581
582-------------------------------------------------
583
584smsc37b787_wdt:
585    timeout:
586	range is 1-255 units, default is 60
587    nowayout:
588	Watchdog cannot be stopped once started
589	(default=kernel config parameter)
590
591-------------------------------------------------
592
593softdog:
594    soft_margin:
595	Watchdog soft_margin in seconds.
596	(0 < soft_margin < 65536, default=60)
597    nowayout:
598	Watchdog cannot be stopped once started
599	(default=kernel config parameter)
600    soft_noboot:
601	Softdog action, set to 1 to ignore reboots, 0 to reboot
602	(default=0)
603
604-------------------------------------------------
605
606stmp3xxx_wdt:
607    heartbeat:
608	Watchdog heartbeat period in seconds from 1 to 4194304, default 19
609
610-------------------------------------------------
611
612tegra_wdt:
613    heartbeat:
614	Watchdog heartbeats in seconds. (default = 120)
615    nowayout:
616	Watchdog cannot be stopped once started
617	(default=kernel config parameter)
618
619-------------------------------------------------
620
621ts72xx_wdt:
622    timeout:
623	Watchdog timeout in seconds. (1 <= timeout <= 8, default=8)
624    nowayout:
625	Disable watchdog shutdown on close
626
627-------------------------------------------------
628
629twl4030_wdt:
630    nowayout:
631	Watchdog cannot be stopped once started
632	(default=kernel config parameter)
633
634-------------------------------------------------
635
636txx9wdt:
637    timeout:
638	Watchdog timeout in seconds. (0<timeout<N, default=60)
639    nowayout:
640	Watchdog cannot be stopped once started
641	(default=kernel config parameter)
642
643-------------------------------------------------
644
645uniphier_wdt:
646    timeout:
647	Watchdog timeout in power of two seconds.
648	(1 <= timeout <= 128, default=64)
649    nowayout:
650	Watchdog cannot be stopped once started
651	(default=kernel config parameter)
652
653-------------------------------------------------
654
655w83627hf_wdt:
656    wdt_io:
657	w83627hf/thf WDT io port (default 0x2E)
658    timeout:
659	Watchdog timeout in seconds. 1 <= timeout <= 255, default=60.
660    nowayout:
661	Watchdog cannot be stopped once started
662	(default=kernel config parameter)
663
664-------------------------------------------------
665
666w83877f_wdt:
667    timeout:
668	Watchdog timeout in seconds. (1<=timeout<=3600, default=30)
669    nowayout:
670	Watchdog cannot be stopped once started
671	(default=kernel config parameter)
672
673-------------------------------------------------
674
675w83977f_wdt:
676    timeout:
677	Watchdog timeout in seconds (15..7635), default=45)
678    testmode:
679	Watchdog testmode (1 = no reboot), default=0
680    nowayout:
681	Watchdog cannot be stopped once started
682	(default=kernel config parameter)
683
684-------------------------------------------------
685
686wafer5823wdt:
687    timeout:
688	Watchdog timeout in seconds. 1 <= timeout <= 255, default=60.
689    nowayout:
690	Watchdog cannot be stopped once started
691	(default=kernel config parameter)
692
693-------------------------------------------------
694
695wdt285:
696    soft_margin:
697	Watchdog timeout in seconds (default=60)
698
699-------------------------------------------------
700
701wdt977:
702    timeout:
703	Watchdog timeout in seconds (60..15300, default=60)
704    testmode:
705	Watchdog testmode (1 = no reboot), default=0
706    nowayout:
707	Watchdog cannot be stopped once started
708	(default=kernel config parameter)
709
710-------------------------------------------------
711
712wm831x_wdt:
713    nowayout:
714	Watchdog cannot be stopped once started
715	(default=kernel config parameter)
716
717-------------------------------------------------
718
719wm8350_wdt:
720    nowayout:
721	Watchdog cannot be stopped once started
722	(default=kernel config parameter)
723
724-------------------------------------------------
725
726sun4v_wdt:
727    timeout_ms:
728	Watchdog timeout in milliseconds 1..180000, default=60000)
729    nowayout:
730	Watchdog cannot be stopped once started
731