diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-10-13 19:44:20 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-10-13 19:44:20 -0400 |
commit | e3799a210d794fda0fa2ae99841d30cadf76069c (patch) | |
tree | b292d7e4e740d09c8c3c86b493a34b31f4b5822a /drivers/watchdog/Kconfig | |
parent | b67be92feb486f800d80d72c67fd87b47b79b18e (diff) | |
parent | 39487f6688a557ebfc69816d7e02f210bf8fb2a3 (diff) |
Merge git://www.linux-watchdog.org/linux-watchdog
Pull watchdog updates from Wim Van Sebroeck:
- a new watchdog pretimeout governor framework
- support to upload the firmware on the ziirave_wdt
- several fixes and cleanups
* git://www.linux-watchdog.org/linux-watchdog: (26 commits)
watchdog: imx2_wdt: add pretimeout function support
watchdog: softdog: implement pretimeout support
watchdog: pretimeout: add pretimeout_available_governors attribute
watchdog: pretimeout: add option to select a pretimeout governor in runtime
watchdog: pretimeout: add panic pretimeout governor
watchdog: pretimeout: add noop pretimeout governor
watchdog: add watchdog pretimeout governor framework
watchdog: hpwdt: add support for iLO5
fs: compat_ioctl: add pretimeout functions for watchdogs
watchdog: add pretimeout support to the core
watchdog: imx2_wdt: use preferred BIT macro instead of open coded values
watchdog: st_wdt: Remove support for obsolete platforms
watchdog: bindings: Remove obsolete platforms from dt doc.
watchdog: mt7621_wdt: Remove assignment of dev pointer
watchdog: rt2880_wdt: Remove assignment of dev pointer
watchdog: constify watchdog_ops structures
watchdog: tegra: constify watchdog_ops structures
watchdog: iTCO_wdt: constify iTCO_wdt_pm structure
watchdog: cadence_wdt: Fix the suspend resume
watchdog: txx9wdt: Add missing clock (un)prepare calls for CCF
...
Diffstat (limited to 'drivers/watchdog/Kconfig')
-rw-r--r-- | drivers/watchdog/Kconfig | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index 50dbaa805658..fdd3228e0678 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig | |||
@@ -1844,4 +1844,53 @@ config USBPCWATCHDOG | |||
1844 | 1844 | ||
1845 | Most people will say N. | 1845 | Most people will say N. |
1846 | 1846 | ||
1847 | comment "Watchdog Pretimeout Governors" | ||
1848 | |||
1849 | config WATCHDOG_PRETIMEOUT_GOV | ||
1850 | bool "Enable watchdog pretimeout governors" | ||
1851 | help | ||
1852 | The option allows to select watchdog pretimeout governors. | ||
1853 | |||
1854 | if WATCHDOG_PRETIMEOUT_GOV | ||
1855 | |||
1856 | choice | ||
1857 | prompt "Default Watchdog Pretimeout Governor" | ||
1858 | default WATCHDOG_PRETIMEOUT_DEFAULT_GOV_PANIC | ||
1859 | help | ||
1860 | This option selects a default watchdog pretimeout governor. | ||
1861 | The governor takes its action, if a watchdog is capable | ||
1862 | to report a pretimeout event. | ||
1863 | |||
1864 | config WATCHDOG_PRETIMEOUT_DEFAULT_GOV_NOOP | ||
1865 | bool "noop" | ||
1866 | select WATCHDOG_PRETIMEOUT_GOV_NOOP | ||
1867 | help | ||
1868 | Use noop watchdog pretimeout governor by default. If noop | ||
1869 | governor is selected by a user, write a short message to | ||
1870 | the kernel log buffer and don't do any system changes. | ||
1871 | |||
1872 | config WATCHDOG_PRETIMEOUT_DEFAULT_GOV_PANIC | ||
1873 | bool "panic" | ||
1874 | select WATCHDOG_PRETIMEOUT_GOV_PANIC | ||
1875 | help | ||
1876 | Use panic watchdog pretimeout governor by default, if | ||
1877 | a watchdog pretimeout event happens, consider that | ||
1878 | a watchdog feeder is dead and reboot is unavoidable. | ||
1879 | |||
1880 | endchoice | ||
1881 | |||
1882 | config WATCHDOG_PRETIMEOUT_GOV_NOOP | ||
1883 | tristate "Noop watchdog pretimeout governor" | ||
1884 | help | ||
1885 | Noop watchdog pretimeout governor, only an informational | ||
1886 | message is added to kernel log buffer. | ||
1887 | |||
1888 | config WATCHDOG_PRETIMEOUT_GOV_PANIC | ||
1889 | tristate "Panic watchdog pretimeout governor" | ||
1890 | help | ||
1891 | Panic watchdog pretimeout governor, on watchdog pretimeout | ||
1892 | event put the kernel into panic. | ||
1893 | |||
1894 | endif # WATCHDOG_PRETIMEOUT_GOV | ||
1895 | |||
1847 | endif # WATCHDOG | 1896 | endif # WATCHDOG |