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