Home
last modified time | relevance | path

Searched full:watchdog (Results 1 – 25 of 1304) sorted by relevance

12345678910>>...53

/linux/Documentation/watchdog/
H A Dwatchdog-kernel-api.rst2 The Linux WatchDog Timer Driver Core kernel API
11 This document does not describe what a WatchDog Timer (WDT) Driver or Device is.
13 with a WatchDog Timer. If you want to know this then please read the following
14 file: Documentation/watchdog/watchdog-api.rst .
17 WatchDog Timer Drivers that want to use the WatchDog Timer Driver Core
20 a watchdog timer driver then only needs to provide the different routines
21 (operations) that control the watchdog timer (WDT).
25 Each watchdog timer driver that wants to use the WatchDog Timer Driver Core
26 must #include <linux/watchdog.h> (you would have to do this anyway when
27 writing a watchdog device driver). This include file contains following
[all …]
H A Dwatchdog-parameters.rst2 WatchDog Module Parameters
6 the Linux watchdog drivers. Watchdog driver parameter specs should
16 watchdog core:
18 Maximum time, in seconds, for which the watchdog framework will take
19 care of pinging a running hardware watchdog until userspace opens the
33 Watchdog cannot be stopped once started
44 Watchdog timeout in seconds. 1<= timeout <=63, default=60.
46 Watchdog cannot be stopped once started
53 Watchdog timeout in seconds. (0 < timeout < 18000, default=60
55 Watchdog cannot be stopped once started
[all …]
H A Dmlx-wdt.rst2 Mellanox watchdog drivers
8 This driver provides watchdog functionality for various Mellanox
11 Mellanox watchdog device is implemented in a programmable logic device.
13 There are 2 types of HW watchdog implementations.
31 Type 1 HW watchdog implementation exist in old systems and
32 all new systems have type 2 HW watchdog.
35 Type 3 HW watchdog implementation can exist on all Mellanox systems
38 Old systems still have only one main watchdog.
41 Main and auxiliary watchdog devices can be enabled together
43 There are several actions that can be defined in the watchdog:
[all …]
H A Dhpwdt.rst2 HPE iLO NMI Watchdog Driver
11 The HPE iLO NMI Watchdog driver is a kernel module that provides basic
12 watchdog functionality and handler for the iLO "Generate NMI to System"
18 Watchdog functionality is enabled like any other common watchdog driver. That
19 is, an application needs to be started that kicks off the watchdog timer. A
20 basic application exists in tools/testing/selftests/watchdog/ named
21 watchdog-test.c. Simply compile the C file and kick it off. If the system
29 soft_margin allows the user to set the watchdog timer value.
32 pretimeout allows the user to set the watchdog pretimeout value.
37 nowayout basic watchdog parameter that does not allow the timer to
[all …]
H A Dpcwd-watchdog.rst2 Berkshire Products PC Watchdog Card
12 The PC Watchdog is a card that offers the same type of functionality that
18 The Watchdog Driver has one basic role: to talk to the card and send
22 The Watchdog Driver will automatically find your watchdog card, and will
23 attach a running driver for use with that card. After the watchdog
25 Watchdog program.
27 I suggest putting a "watchdog -d" before the beginning of an fsck, and
28 a "watchdog -e -t 1" immediately after the end of an fsck. (Remember
31 If you want to write a program to be compatible with the PC Watchdog
32 driver, simply use of modify the watchdog test program:
[all …]
/linux/drivers/greybus/
H A Dsvc_watchdog.c3 * SVC Greybus "watchdog" driver.
27 struct gb_svc_watchdog *watchdog = in svc_watchdog_pm_notifier() local
32 gb_svc_watchdog_disable(watchdog->svc); in svc_watchdog_pm_notifier()
35 gb_svc_watchdog_enable(watchdog->svc); in svc_watchdog_pm_notifier()
65 struct gb_svc_watchdog *watchdog; in do_work() local
69 watchdog = container_of(work, struct gb_svc_watchdog, work.work); in do_work()
70 svc = watchdog->svc; in do_work()
98 watchdog->enabled = false; in do_work()
103 if (watchdog->enabled) in do_work()
104 schedule_delayed_work(&watchdog->work, SVC_WATCHDOG_PERIOD); in do_work()
[all …]
/linux/drivers/watchdog/
H A Dwatchdog_dev.c13 * by all the watchdog timer drivers.
16 * misc device: /dev/watchdog.
45 #include <linux/watchdog.h> /* For watchdog specific items */
51 #include <trace/events/watchdog.h>
53 /* the dev_t structure to store the dynamically allocated watchdog devices */
55 /* Reference to watchdog device behind /dev/watchdog */
85 * - Userspace activated the watchdog. in watchdog_need_worker()
91 * Alternatively, if userspace has not opened the watchdog in watchdog_need_worker()
92 * device, we take care of feeding the watchdog if it is in watchdog_need_worker()
118 * To ensure that the watchdog times out wdd->timeout seconds in watchdog_next_keepalive()
[all …]
H A Dvia_wdt.c3 * VIA Chipset Watchdog Driver
10 * Caveat: PnP must be enabled in BIOS to allow full access to watchdog
11 * control registers. If not, the watchdog must be configured in BIOS manually.
22 #include <linux/watchdog.h>
26 #define VIA_WDT_CONF 0xec /* watchdog enable state */
29 #define VIA_WDT_CONF_ENABLE 0x01 /* 1: enable watchdog */
30 #define VIA_WDT_CONF_MMIO 0x02 /* 1: enable watchdog MMIO */
33 * The MMIO region contains the watchdog control register and the
42 #define VIA_WDT_FIRED 0x02 /* 1: restarted by expired watchdog */
58 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds, between 1 and 1023 "
[all …]
H A Dsun4v_wdt.c3 * sun4v watchdog timer
6 * Implement a simple watchdog driver using the built-in sun4v hypervisor
7 * watchdog support. If time expires, the hypervisor stops or bounces
18 #include <linux/watchdog.h>
29 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds (default="
34 MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started (default="
49 * HV watchdog timer will round up the timeout in sun4v_wdt_ping()
51 * watchdog resolution in milliseconds. in sun4v_wdt_ping()
72 .identity = "sun4v hypervisor watchdog",
102 * domain for the watchdog. in sun4v_wdt_init()
[all …]
H A Dwatchdog_core.c11 * by all the watchdog timer drivers.
32 #include <linux/watchdog.h> /* For watchdog specific items */
42 #include <trace/events/watchdog.h>
53 * Sometimes watchdog drivers needs to be loaded as soon as possible,
55 * raising the initcall level of the watchdog driver is a solution.
57 * watchdog_core need miscdev to register the watchdog as a char device.
59 * The deferred registration infrastructure offer a way for the watchdog
60 * subsystem to register a watchdog properly, even before miscdev is ready.
103 * @wdd: watchdog device
222 * @wdd: watchdog device
[all …]
H A Ddiag288_wdt.c3 * Watchdog driver for z/VM and LPAR using the diag 288 interface.
5 * Under z/VM, expiration of the watchdog will send a "system restart" command
11 * On LPAR, the watchdog will always trigger a system restart. the module
29 #include <linux/watchdog.h>
48 /* Action codes for LPAR watchdog */
59 MODULE_DESCRIPTION("System z diag288 Watchdog Timer");
62 MODULE_PARM_DESC(cmd, "CP command that is run when the watchdog triggers (z/VM only)");
65 MODULE_PARM_DESC(conceal, "Enable the CONCEAL CP option while the watchdog is active (z/VM only)");
68 MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started (default = CONFIG_WATCHDOG_NOWA…
123 pr_err("The watchdog cannot be activated\n"); in wdt_start()
[all …]
H A Dda9063_wdt.c3 * Watchdog driver for DA9063 PMICs.
13 #include <linux/watchdog.h>
25 * Watchdog selector to timeout in seconds.
54 * Zero means the watchdog is disabled.
79 * The watchdog triggers a reboot if a timeout value is already in da9063_wdt_update_timeout()
81 * in one: indicating the counter limit and starting the watchdog. in da9063_wdt_update_timeout()
82 * The watchdog must be disabled to be able to change the timeout in da9063_wdt_update_timeout()
83 * value if the watchdog is already running. Then we can set the in da9063_wdt_update_timeout()
84 * new timeout value which enables the watchdog again. in da9063_wdt_update_timeout()
104 dev_err(da9063->dev, "Watchdog failed to start (err = %d)\n", in da9063_wdt_start()
[all …]
H A Dmei_wdt.c12 #include <linux/watchdog.h>
18 * iAMT Watchdog Device
40 * enum mei_wdt_state - internal watchdog state
79 * struct mei_wdt - mei watchdog driver
80 * @wdd: watchdog device
82 * @cldev: mei watchdog client device
83 * @state: watchdog internal state
87 * @reg_lock: watchdog device registration lock
88 * @timeout: watchdog current timeout
124 * struct mei_wdt_start_request - watchdog start/ping
[all …]
H A Dat91sam9_wdt.h3 * drivers/watchdog/at91sam9_wdt.h
9 * Watchdog Timer (WDT) - System peripherals regsters.
20 #define AT91_WDT_CR 0x00 /* Watchdog Control Register */
24 #define AT91_WDT_MR 0x04 /* Watchdog Mode Register */
30 #define AT91_SAM9X60_WDDIS BIT(12) /* Watchdog Disable */
33 #define AT91_WDT_WDDIS BIT(15) /* Watchdog Disable */
39 #define AT91_WDT_SR 0x08 /* Watchdog Status Register */
40 #define AT91_WDT_WDUNF BIT(0) /* Watchdog Underflow */
41 #define AT91_WDT_WDERR BIT(1) /* Watchdog Error */
43 /* Watchdog Timer Value Register */
[all …]
H A Dsbsa_gwdt.c3 * SBSA(Server Base System Architecture) Generic Watchdog driver
11 * ARM SBSA Generic Watchdog has two stage timeouts:
17 * This driver can operate ARM SBSA Generic Watchdog as a single stage watchdog
18 * or a two stages watchdog, it's set up by the module parameter "action".
37 * Note: Since this watchdog timer has two stages, and each stage is determined
51 #include <linux/watchdog.h>
55 #define WATCHDOG_NAME "SBSA Generic Watchdog"
57 /* SBSA Generic Watchdog register definitions */
70 /* Watchdog Control and Status Register */
83 * @refresh_base: Virtual address of the watchdog refresh frame
[all …]
H A Dbooke_wdt.c3 * Watchdog timer for PowerPC Book-E systems
15 #include <linux/watchdog.h>
21 /* If the kernel parameter wdt=1, the watchdog will be enabled at boot.
22 * Also, the wdt_period sets the watchdog timer period timeout.
24 * trigger a watchdog timeout. This watchdog timeout will occur 3 times, the
25 * first time nothing will happen, the second time a watchdog exception will
45 "Watchdog cannot be stopped once started (default="
51 * corresponding to the reset time. There will be a watchdog
141 /* clear status before enabling watchdog */ in __booke_wdt_enable()
151 * __booke_wdt_disable - disable the watchdog on the given CPU
[all …]
/linux/include/linux/
H A Dwatchdog.h3 * Generic watchdog defines. Derived from..
5 * Berkshire PC Watchdog Defines
18 #include <uapi/linux/watchdog.h>
25 /** struct watchdog_ops - The watchdog-devices operations
28 * @start: The routine for starting the watchdog device.
29 * @stop: The routine for stopping the watchdog device.
30 * @ping: The routine that sends a keepalive ping to the watchdog device.
31 * @status: The routine that shows the status of the watchdog device.
32 * @set_timeout:The routine for setting the watchdog devices timeout value (in seconds).
33 * @set_pretimeout:The routine for setting the watchdog devices pretimeout.
[all …]
/linux/Documentation/devicetree/bindings/watchdog/
H A Ddlg,da9062-watchdog.yaml4 $id: http://devicetree.org/schemas/watchdog/dlg,da9062-watchdog.yaml#
7 title: Dialog Semiconductor DA906{1,2,3} Watchdog Timer
13 - $ref: watchdog.yaml#
19 - dlg,da9062-watchdog
20 - dlg,da9063-watchdog
22 - const: dlg,da9061-watchdog
23 - const: dlg,da9062-watchdog
28 Add this property to disable the watchdog during suspend.
29 Only use this option if you can't use the watchdog automatic suspend
36 Set what happens on watchdog timeout. If this bit is set the
[all …]
H A Datmel,sama5d4-wdt.yaml4 $id: http://devicetree.org/schemas/watchdog/atmel,sama5d4-wdt.yaml#
7 title: Atmel SAMA5D4 Watchdog Timer (WDT) Controller
13 - $ref: watchdog.yaml#
32 atmel,watchdog-type:
37 Enable watchdog fault reset. A watchdog fault triggers
38 watchdog reset.
41 Enable watchdog fault interrupt. A watchdog fault asserts
42 watchdog interrupt.
49 present if you want to stop the watchdog when the CPU is in idle state.
51 watchdog not counting when the CPU is in idle state, therefore the
[all …]
H A Datmel,at91sam9-wdt.yaml5 $id: http://devicetree.org/schemas/watchdog/atmel,at91sam9-wdt.yaml#
8 title: Atmel Watchdog Timers
39 atmel,watchdog-type:
45 Hardware watchdog uses the at91 watchdog reset.
48 Software watchdog uses the watchdog interrupt
56 Should be proc or all. This is valid only when using hardware watchdog.
69 Should be present if you want to stop the watchdog.
74 Should be present if you want to stop the watchdog when
77 watchdog not counting when the CPU is in idle state, therefore the
78 watchdog reset time depends on mean CPU usage and will not reset at all
[all …]
H A Dti,rti-wdt.yaml4 $id: http://devicetree.org/schemas/watchdog/ti,rti-wdt.yaml#
7 title: Texas Instruments K3 SoC Watchdog Timer
13 The TI K3 SoC watchdog timer is implemented via the RTI (Real Time
14 Interrupt) IP module. This timer adds a support for windowed watchdog
15 mode, which will signal an error if it is pinged outside the watchdog
21 - $ref: watchdog.yaml#
40 Contains the watchdog reserved memory. It is optional.
44 3 * 4 bytes to tell that last boot was caused by watchdog reset.
63 * select the source clock for the watchdog, forcing it to tick with
65 * the watchdog reset cause persistent, which was be written in 12 bytes
[all …]
H A Dmen-a021-wdt.txt1 Bindings for MEN A21 Watchdog device connected to GPIO lines
5 - gpios: Specifies the pins that control the Watchdog, order:
6 1: Watchdog enable
7 2: Watchdog fast-mode
8 3: Watchdog trigger
9 4: Watchdog reset cause bit 0
10 5: Watchdog reset cause bit 1
11 6: Watchdog reset cause bit 2
17 watchdog {
/linux/Documentation/ABI/testing/
H A Dsysfs-class-watchdog1 What: /sys/class/watchdog/watchdogn/bootstatus
5 It is a read only file. It contains status of the watchdog
9 What: /sys/class/watchdog/watchdogn/options
13 It is a read only file. It contains options of watchdog device.
15 What: /sys/class/watchdog/watchdogn/fw_version
20 watchdog device.
22 What: /sys/class/watchdog/watchdogn/identity
27 watchdog device.
29 What: /sys/class/watchdog/watchdogn/nowayout
41 What: /sys/class/watchdog/watchdogn/state
[all …]
/linux/tools/testing/selftests/watchdog/
H A Dwatchdog-test.c3 * Watchdog Driver Test Program
7 * don't have watchdog hardware.
11 * Reference: Documentation/watchdog/watchdog-api.rst
24 #include <linux/watchdog.h>
50 * the PC Watchdog card to reset its internal timer so it doesn't trigger
74 printf("\nStopping watchdog ticks failed (%d)...\n", errno); in term()
76 printf("\nStopping watchdog ticks...\n"); in term()
83 printf(" -f, --file\t\tOpen watchdog device file\n"); in usage()
84 printf("\t\t\tDefault is /dev/watchdog\n"); in usage()
87 printf(" -b, --bootstatus\tGet last boot status (Watchdog/POR)\n"); in usage()
[all …]
/linux/Documentation/ABI/stable/
H A Dsysfs-driver-firmware-zynqmp126 temperature and external watchdog. Here, the external watchdog
127 is completely different than the /dev/watchdog as the external
128 watchdog is running on the firmware and it is used to monitor
130 watchdog is interfaced outside of the zynqmp soc.
138 the external watchdog feature.
140 external watchdog feature.
158 Select external watchdog config ID to enable/disable feature
161 Check external watchdog config ID is selected or not
165 Select external watchdog config ID to configure time interval
168 Check external watchdog config ID is selected or not
[all …]

12345678910>>...53