/openbmc/linux/drivers/greybus/ |
H A D | svc_watchdog.c | 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() 109 struct gb_svc_watchdog *watchdog; in gb_svc_watchdog_create() local [all …]
|
/openbmc/u-boot/drivers/watchdog/ |
H A D | Kconfig | 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. 21 bool "Enable BCM2835/2836 watchdog driver" 24 Say Y here to enable the BCM2835/2836 watchdog [all …]
|
/openbmc/openbmc/poky/meta/recipes-extended/watchdog/watchdog/ |
H A D | 0001-watchdog-remove-interdependencies-of-watchdog-and-wd.patch | 4 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 D | watchdog.init | 17 test -x /usr/sbin/watchdog || exit 0 31 [ -e /etc/default/watchdog ] && . /etc/default/watchdog 33 NAME=watchdog 34 DAEMON=/usr/sbin/watchdog 70 …test -e /dev/watchdog || { log_daemon_msg "daemon not start due to lack of /dev/watchdog"; exit 0;…
|
/openbmc/linux/Documentation/devicetree/bindings/watchdog/ |
H A D | da9062-wdt.txt | 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"; 28 Example: DA9061 using a fall-back compatible for the DA9062 watchdog driver [all …]
|
/openbmc/openbmc/poky/meta/recipes-extended/watchdog/ |
H A D | watchdog_5.16.bb | 1 SUMMARY = "Software watchdog" 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" 44 # When using systemd, consider making use of internal watchdog support of systemd. [all …]
|
H A D | watchdog-config.bb | 1 SUMMARY = "Software watchdog" 5 HOMEPAGE = "http://watchdog.sourceforge.net/" 12 file://watchdog.default \ 13 file://watchdog.conf \ 23 install -Dm 0644 ${UNPACKDIR}/watchdog.default ${D}${sysconfdir}/default/watchdog 24 install -Dm 0644 ${UNPACKDIR}/watchdog.conf ${D}${sysconfdir}/watchdog.conf 27 echo "watchdog-timeout = ${WATCHDOG_TIMEOUT}" >> ${D}/etc/watchdog.conf
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/fans/ |
H A D | phosphor-fan_%.bbappend | 23 #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 …]
|
H A D | fan-watchdog.bb | 1 SUMMARY = "Fan watchdog services" 14 RESET_SERVICE = "reset-fan-watchdog.service" 18 MONITOR_SERVICE = "fan-watchdog-monitor@.service" 20 WATCHDOG_SERVICE = "fan-watchdog.service" 25 SYSTEMD_ENVIRONMENT_FILE:${PN}:append:df-openpower = " obmc/fan-watchdog/reset-fan-watchdog.conf" 26 SYSTEMD_ENVIRONMENT_FILE:${PN}:append:df-openpower = " obmc/fan-watchdog/fan-watchdog.conf"
|
/openbmc/linux/Documentation/watchdog/ |
H A D | watchdog-kernel-api.rst | 14 file: Documentation/watchdog/watchdog-api.rst . 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 33 The watchdog_register_device routine registers a watchdog timer device. 37 The watchdog_unregister_device routine deregisters a registered watchdog timer 41 The watchdog subsystem includes an registration deferral mechanism, 42 which allows you to register an watchdog as early as you wish during [all …]
|
H A D | mlx-wdt.rst | 2 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 D | watchdog-api.rst | 23 Usually a userspace daemon will notify the kernel watchdog driver via the 24 /dev/watchdog special device file that userspace is still alive, at 26 usually tell the hardware watchdog that everything is in order, and 27 that the watchdog should wait for yet another little while to reset 29 notifications cease to occur, and the hardware watchdog will reset the 32 The Linux watchdog API is a rather ad-hoc construction and different 40 All drivers support the basic mode of operation, where the watchdog 41 activates as soon as /dev/watchdog is opened and will reboot unless 42 the watchdog is pinged within a certain time, this time is called the 43 timeout or margin. The simplest way to ping the watchdog is to write [all …]
|
H A D | hpwdt.rst | 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 40 to "Y", then there is no way of disabling the watchdog once 43 before calling panic. (-1) disables the watchdog. When value [all …]
|
/openbmc/linux/drivers/watchdog/ |
H A D | Kconfig | 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 36 Say Y here if you want to use the new watchdog timer driver core. 37 This driver provides a framework for all watchdog timer drivers 38 and gives them the /dev/watchdog interface (and later also the [all …]
|
/openbmc/linux/Documentation/translations/zh_CN/admin-guide/ |
H A D | lockup-watchdogs.rst | 37 Hrtimer用于周期性产生中断并唤醒watchdog线程;NMI perf事件则以”watchdog_thresh“ 43 而watchdog线程本质上是一个高优先级内核线程,每调度一次就对时间戳进行一次更新。 55 默认情况下所有在线cpu上都会运行一个watchdog线程。不过在内核配置了”NO_HZ_FULL“的 56 情况下watchdog线程默认只会运行在管家(housekeeping)cpu上,而”nohz_full“启动参数指 57 定的cpu上则不会有watchdog线程运行。试想,如果我们允许watchdog线程在”nohz_full“指 58 定的cpu上运行,这些cpu上必须得运行时钟定时器来激发watchdog线程调度;这样一来就会 60 的cpu即使在内核产生了lockup问题我们也无法检测到。不过,至少我们可以允许watchdog 64 不论哪种情况都可以通过sysctl命令kernel.watchdog_cpumask来对没有运行watchdog线程 66 这种方式打开这些cpu上的watchdog进行调试可能会有所作用。
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-watchdog | 1 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-phosphor/recipes-phosphor/watchdog/ |
H A D | phosphor-watchdog_git.bb | 2 DESCRIPTION = "Application that implements software watchdog" 3 HOMEPAGE = "http://github.com/openbmc/phosphor-watchdog" 19 SRC_URI = "git://github.com/openbmc/phosphor-watchdog;branch=master;protocol=https" 27 # Copies config file having arguments for host watchdog 28 SYSTEMD_ENVIRONMENT_FILE:${PN} +="obmc/watchdog/poweron" 31 SYSTEMD_OVERRIDE:${PN} += "poweron.conf:phosphor-watchdog@poweron.service.d/poweron.conf" 38 WATCHDOG_TMPL = "phosphor-watchdog@.service" 39 ENABLE_WATCHDOG_TMPL = "obmc-enable-host-watchdog@.service" 45 WATCHDOG_TGTFMT = "phosphor-watchdog@{0}.service" 46 ENABLE_WATCHDOG_TGTFMT = "obmc-enable-host-watchdog@{0}.service"
|
/openbmc/qemu/hw/watchdog/ |
H A D | trace-events | 4 allwinner_wdt_read(uint64_t offset, uint64_t data, unsigned size) "Allwinner watchdog read: offset … 5 allwinner_wdt_write(uint64_t offset, uint64_t data, unsigned size) "Allwinner watchdog write: offse… 6 allwinner_wdt_reset_enter(void) "Allwinner watchdog: reset" 7 allwinner_wdt_update_timer(uint8_t count) "Allwinner watchdog: count %" PRIu8 8 allwinner_wdt_expired(bool enabled, bool reset_enabled) "Allwinner watchdog: enabled %u reset_enabl… 10 # cmsdk-apb-watchdog.c 11 cmsdk_apb_watchdog_read(uint64_t offset, uint64_t data, unsigned size) "CMSDK APB watchdog read: of… 12 cmsdk_apb_watchdog_write(uint64_t offset, uint64_t data, unsigned size) "CMSDK APB watchdog write: … 13 cmsdk_apb_watchdog_reset(void) "CMSDK APB watchdog: reset" 14 cmsdk_apb_watchdog_lock(uint32_t lock) "CMSDK APB watchdog: lock %" PRIu32 [all …]
|
/openbmc/openbmc/meta-amd/meta-common/recipes-phosphor/watchdog/phosphor-watchdog/ |
H A D | phosphor-watchdog.service | 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
|
/openbmc/openbmc/meta-ufispace/meta-ncplite/recipes-phosphor/watchdog/phosphor-watchdog/ |
H A D | phosphor-watchdog.service | 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
|
/openbmc/openbmc/meta-quanta/meta-s6q/recipes-phosphor/watchdog/phosphor-watchdog/ |
H A D | phosphor-watchdog.service | 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
|
/openbmc/openbmc/meta-yadro/meta-vegman/recipes-phosphor/watchdog/phosphor-watchdog/ |
H A D | phosphor-watchdog.service | 5 ExecStart=/usr/bin/env phosphor-watchdog --continue \ 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
|
/openbmc/openbmc/meta-quanta/meta-gbs/recipes-phosphor/watchdog/ |
H A D | phosphor-watchdog_%.bbappend | 3 SYSTEMD_ENVIRONMENT_FILE:${PN}:append:gbs = " obmc/watchdog/host0" 5 WATCHDOG_FMT_A = "phosphor-watchdog@{0}.service" 6 SYSTEMD_OVERRIDE:${PN}:remove:gbs = "poweron.conf:phosphor-watchdog@poweron.service.d/poweron.conf" 10 phosphor-host-watchdog-reset.service \ 11 phosphor-host-watchdog-poweroff.service \ 12 phosphor-host-watchdog-powercycle.service \
|
/openbmc/openbmc/meta-facebook/recipes-phosphor/watchdog/phosphor-watchdog/ |
H A D | phosphor-watchdog.service | 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
|
/openbmc/openbmc/meta-google/recipes-google/host-power-ctrl/ |
H A D | gpio-host-pwr_git.bb | 16 file://host-powercycle-watchdog.service \ 18 file://host-poweroff-watchdog.service \ 21 file://host-reset-cold-watchdog.service \ 23 file://host-reset-warm-watchdog.service \ 37 host-reset-cold-watchdog.service \ 39 host-reset-warm-watchdog.service \ 42 host-powercycle-watchdog.service \ 44 host-poweroff-watchdog.service \
|