Home
last modified time | relevance | path

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

12345678910>>...89

/openbmc/linux/drivers/watchdog/
H A DKconfig4 # Watchdog device configuration
7 menuconfig WATCHDOG config
8 bool "Watchdog Timer Support"
11 character special file /dev/watchdog with major number 10 and minor
12 number 130 using mknod ("man mknod"), you will get a watchdog, i.e.:
16 on-line as fast as possible after a lock-up. There's both a watchdog
18 reboot the machine) and a driver for hardware watchdog boards, which
21 <file:Documentation/watchdog/watchdog-api.rst> in the kernel source.
23 The watchdog is usually used together with the watchdog daemon
25 <https://ibiblio.org/pub/Linux/system/daemons/watchdog/>. This daemon
[all …]
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 Dwdrtas.c8 * RTAS watchdog driver
11 * device driver to exploit watchdog RTAS functions
26 #include <linux/watchdog.h>
36 MODULE_DESCRIPTION("RTAS watchdog driver");
59 /*** watchdog access functions */
62 * wdrtas_set_interval - sets the watchdog interval
67 * wdrtas_set_interval sets the watchdog keepalive interval by calling the
83 pr_err("setting the watchdog to %i timeout failed: %li\n", in wdrtas_set_interval()
94 * wdrtas_get_interval - returns the current watchdog interval
99 * wdrtas_get_interval returns the current watchdog keepalive interval
[all …]
/openbmc/openbmc-test-automation/ipmi/
H A Dtest_ipmi_watchdog.robot3 Documentation Module to test out of band IPMI watchdog functionality.
21 Test IPMI Watchdog Timer Does Not Log Bit
22 [Documentation] Execute out of band set/get do not log bit for watchdog timer.
27 ${IPMI_RAW_CMD['Watchdog']['Set'][0]} ${IPMI_RAW_CMD['Watchdog']['Get'][0]}
28 ... ${IPMI_RAW_CMD['Watchdog']['Get'][1]}
29 ${IPMI_RAW_CMD['Watchdog']['Set'][3]} ${IPMI_RAW_CMD['Watchdog']['Get'][0]}
30 ... ${IPMI_RAW_CMD['Watchdog']['Get'][3]}
32 Test IPMI Watchdog Timer Stop Bit
33 [Documentation] Execute out of band set/get stop/resume timer stop bit for watchdog timer.
35 [Template] Execute IPMI Raw Command And Verify Response Data After Watchdog Expires
[all …]
/openbmc/u-boot/drivers/watchdog/
H A DKconfig1 menu "Watchdog Timer Support"
3 config WATCHDOG config
4 bool "Enable U-Boot watchdog reset"
6 This option enables U-Boot watchdog support where U-Boot is using
7 watchdog_reset function to service watchdog device in U-Boot. Enable
8 this option if you want to service enabled watchdog by U-Boot. Disable
9 this option if you want U-Boot to start watchdog but never service it.
15 bool "Disable reset watchdog"
17 Disable reset watchdog, which can let WATCHDOG_RESET invalid, so
18 that the watchdog will not be fed in u-boot.
[all …]
/openbmc/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 …]
/openbmc/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 …]
/openbmc/phosphor-watchdog/src/
H A Dwatchdog.hpp7 #include <xyz/openbmc_project/State/Watchdog/server.hpp>
17 namespace watchdog namespace
22 using WatchdogInherits = sdbusplus::server::object_t<Base::Watchdog>;
24 /** @class Watchdog
25 * @brief OpenBMC watchdog implementation.
27 * xyz.openbmc_project.State.Watchdog DBus API.
29 class Watchdog : public WatchdogInherits class
32 Watchdog() = delete;
33 ~Watchdog() = default;
34 Watchdog(const Watchdog&) = delete;
[all …]
/openbmc/linux/Documentation/devicetree/bindings/watchdog/
H A Dda9062-wdt.txt1 * Dialog Semiconductor DA9062/61 Watchdog Timer
6 "dlg,da9061-watchdog", "dlg,da9062-watchdog"
7 "dlg,da9062-watchdog"
10 - dlg,use-sw-pm: Add this property to disable the watchdog during suspend.
11 Only use this option if you can't use the watchdog automatic suspend
13 - dlg,wdt-sd: Set what happens on watchdog timeout. If this bit is set the
14 watchdog timeout triggers SHUTDOWN, if cleared the watchdog triggers
17 set the WATCHDOG_SD bit and on timeout watchdog behavior will match the
23 watchdog {
24 compatible = "dlg,da9062-watchdog";
[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#
28 atmel,watchdog-type:
33 Enable watchdog fault reset. A watchdog fault triggers
34 watchdog reset.
37 Enable watchdog fault interrupt. A watchdog fault asserts
38 watchdog interrupt.
45 present if you want to stop the watchdog when the CPU is in idle state.
47 watchdog not counting when the CPU is in idle state, therefore the
[all …]
/openbmc/openbmc/meta-ibm/recipes-phosphor/fans/
H A Dphosphor-fan_%.bbappend23 #These services are protected by the watchdog
24 …hosphor-fan-control:witherspoon += "fan-watchdog-monitor.conf:phosphor-fan-control-init@0.service.…
25 …E:phosphor-fan-control:witherspoon += "fan-watchdog-monitor.conf:phosphor-fan-control@0.service.d/…
26 …hosphor-fan-monitor:witherspoon += "fan-watchdog-monitor.conf:phosphor-fan-monitor-init@0.service.…
27 …E:phosphor-fan-monitor:witherspoon += "fan-watchdog-monitor.conf:phosphor-fan-monitor@0.service.d/…
28 …IDE:phosphor-fan-control:p10bmc += "fan-watchdog-monitor.conf:phosphor-fan-control-init@0.service.…
29 …ERRIDE:phosphor-fan-control:p10bmc += "fan-watchdog-monitor.conf:phosphor-fan-control@0.service.d/…
30 …IDE:phosphor-fan-monitor:p10bmc += "fan-watchdog-monitor.conf:phosphor-fan-monitor-init@0.service.…
31 …ERRIDE:phosphor-fan-monitor:p10bmc += "fan-watchdog-monitor.conf:phosphor-fan-monitor@0.service.d/…
33 #These services need to be stopped when watchdog expires
[all …]
/openbmc/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 …]
/openbmc/phosphor-host-ipmid/app/
H A Dwatchdog_service.hpp4 #include <xyz/openbmc_project/State/Watchdog/server.hpp>
7 * @brief Access to the running OpenBMC watchdog implementation.
9 * xyz.openbmc_project.State.Watchdog DBus API.
17 sdbusplus::server::xyz::openbmc_project::state::Watchdog::Action;
19 sdbusplus::server::xyz::openbmc_project::state::Watchdog::TimerUse;
21 /** @brief Resets the time remaining on the watchdog.
23 * Optionally enables the watchdog.
25 * @param[in] enableWatchdog - Should the call also enable the watchdog
30 * watchdog service.
44 * host watchdog
[all …]
/openbmc/openbmc/poky/meta/recipes-extended/watchdog/watchdog/
H A D0001-watchdog-remove-interdependencies-of-watchdog-and-wd.patch4 Subject: [PATCH] watchdog: remove interdependencies of watchdog and
7 Since watchdog and watchdog-keepalive packages can't be installed
8 together, remove the inter-dependencies of watchdog and wd_keepalive
15 debian/watchdog.service | 9 +++------
19 diff --git a/debian/watchdog.service b/debian/watchdog.service
21 --- a/debian/watchdog.service
22 +++ b/debian/watchdog.service
25 Description=watchdog daemon
32 EnvironmentFile=/etc/default/watchdog
34 -ExecStart=/bin/sh -c '[ $run_watchdog != 1 ] || exec /usr/sbin/watchdog $watchdog_options'
[all …]
H A Dwatchdog.init2 #/etc/init.d/watchdog: start watchdog daemon.
5 # Provides: watchdog
6 # Short-Description: Start software watchdog daemon
17 test -x /usr/sbin/watchdog || exit 0
20 # /etc/default/watchdog, do not edit this init script.
22 # Set run_watchdog to 1 to start watchdog or 0 to disable it.
25 # Specify additional watchdog options here (see manpage).
31 [ -e /etc/default/watchdog ] && . /etc/default/watchdog
33 NAME=watchdog
34 DAEMON=/usr/sbin/watchdog
[all …]
/openbmc/openbmc/poky/meta/recipes-extended/watchdog/
H A Dwatchdog_5.16.bb1 SUMMARY = "Software watchdog"
2 DESCRIPTION = "Watchdog is a daemon that checks if your system is still \
5 HOMEPAGE = "http://watchdog.sourceforge.net/"
11 SRC_URI = "${SOURCEFORGE_MIRROR}/watchdog/watchdog-${PV}.tar.gz \
12 file://0001-watchdog-remove-interdependencies-of-watchdog-and-wd.patch \
13 file://watchdog.init \
25 UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/watchdog/files/watchdog/"
26 UPSTREAM_CHECK_REGEX = "/watchdog/(?P<pver>(\d+[\.\-_]*)+)/"
35 INITSCRIPT_NAME:${PN} = "watchdog"
42 SYSTEMD_SERVICE:${PN} = "watchdog.service"
[all …]
/openbmc/qemu/tests/qtest/
H A Dnpcm7xx_watchdog_timer-test.c2 * QTests for Nuvoton NPCM7xx Timer Watchdog Modules.
36 typedef struct Watchdog { struct
39 } Watchdog; argument
41 static const Watchdog watchdog_list[] = {
56 static int watchdog_index(const Watchdog *wd) in watchdog_index()
65 static uint32_t watchdog_read_wtcr(QTestState *qts, const Watchdog *wd) in watchdog_read_wtcr()
70 static void watchdog_write_wtcr(QTestState *qts, const Watchdog *wd, in watchdog_write_wtcr()
76 static uint32_t watchdog_prescaler(QTestState *qts, const Watchdog *wd) in watchdog_prescaler()
94 QDict *ev = qtest_qmp_eventwait_ref(qts, "WATCHDOG"); in get_watchdog_action()
104 static uint32_t watchdog_interrupt_cycles(QTestState *qts, const Watchdog *wd) in watchdog_interrupt_cycles()
[all …]
/openbmc/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 …]
/openbmc/openbmc/meta-ufispace/meta-ncplite/recipes-phosphor/watchdog/phosphor-watchdog/
H A Dphosphor-watchdog.service2 Description=Phosphor Watchdog
5 ExecStart=/usr/bin/phosphor-watchdog --continue --service=xyz.openbmc_project.Watchdog \
6 --path=/xyz/openbmc_project/watchdog/host0 \
7 …--action_target=xyz.openbmc_project.State.Watchdog.Action.HardReset=phosphor-watchdog-host-reset.s…
8 …--action_target=xyz.openbmc_project.State.Watchdog.Action.PowerOff=phosphor-watchdog-host-poweroff…
9 …--action_target=xyz.openbmc_project.State.Watchdog.Action.PowerCycle=phosphor-watchdog-host-cycle.…
11 SyslogIdentifier=phosphor-watchdog
12 BusName=xyz.openbmc_project.Watchdog
/openbmc/openbmc/meta-quanta/meta-s6q/recipes-phosphor/watchdog/phosphor-watchdog/
H A Dphosphor-watchdog.service2 Description=Phosphor Watchdog
5 ExecStart=/usr/bin/env phosphor-watchdog --continue --service=xyz.openbmc_project.Watchdog \
6 --path=/xyz/openbmc_project/watchdog/host0 \
7 …--action_target=xyz.openbmc_project.State.Watchdog.Action.HardReset=phosphor-watchdog-host-reset.s…
8 …--action_target=xyz.openbmc_project.State.Watchdog.Action.PowerOff=phosphor-watchdog-host-poweroff…
9 …--action_target=xyz.openbmc_project.State.Watchdog.Action.PowerCycle=phosphor-watchdog-host-powerc…
11 SyslogIdentifier=phosphor-watchdog
12 BusName=xyz.openbmc_project.Watchdog
/openbmc/openbmc/meta-yadro/meta-vegman/recipes-phosphor/watchdog/phosphor-watchdog/
H A Dphosphor-watchdog.service2 Description=Phosphow Watchdog
5 ExecStart=/usr/bin/env phosphor-watchdog --continue \
6 --service=xyz.openbmc_project.Watchdog \
7 --path=/xyz/openbmc_project/watchdog/host0 \
8 …--action_target=xyz.openbmc_project.State.Watchdog.Action.HardReset=phosphor-watchdog-host-reset.s…
9 …--action_target=xyz.openbmc_project.State.Watchdog.Action.PowerOff=phosphor-watchdog-host-poweroff…
10 …--action_target=xyz.openbmc_project.State.Watchdog.Action.PowerCycle=phosphor-watchdog-host-cycle.…
12 SyslogIdentifier=phosphor-watchdog
13 BusName=xyz.openbmc_project.Watchdog
/openbmc/openbmc/meta-facebook/recipes-phosphor/watchdog/phosphor-watchdog/
H A Dphosphor-watchdog.service2 Description=Phosphor Watchdog
5 ExecStart=/usr/bin/env phosphor-watchdog --continue --service=xyz.openbmc_project.Watchdog \
6 --path=/xyz/openbmc_project/watchdog/host0 \
7 …--action_target=xyz.openbmc_project.State.Watchdog.Action.HardReset=phosphor-watchdog-host-reset.s…
8 …--action_target=xyz.openbmc_project.State.Watchdog.Action.PowerOff=phosphor-watchdog-host-poweroff…
9 …--action_target=xyz.openbmc_project.State.Watchdog.Action.PowerCycle=phosphor-watchdog-host-cycle.…
11 SyslogIdentifier=phosphor-watchdog
12 BusName =xyz.openbmc_project.Watchdog
/openbmc/openbmc/meta-amd/meta-common/recipes-phosphor/watchdog/phosphor-watchdog/
H A Dphosphor-watchdog.service2 Description=Phosphor Watchdog
5 ExecStart=/usr/bin/env phosphor-watchdog --continue --service=xyz.openbmc_project.Watchdog \
6 --path=/xyz/openbmc_project/watchdog/host0 \
7 …--action_target=xyz.openbmc_project.State.Watchdog.Action.HardReset=phosphor-watchdog-host-reset.s…
8 …--action_target=xyz.openbmc_project.State.Watchdog.Action.PowerOff=host-phosphor-watchdog-host-pow…
9 …--action_target=xyz.openbmc_project.State.Watchdog.Action.PowerCycle=phosphor-watchdog-host-cycle.…
11 SyslogIdentifier=phosphor-watchdog
12 BusName =xyz.openbmc_project.Watchdog

12345678910>>...89