watchdog-parameters.rst 18 KB

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