/openbmc/openbmc-test-automation/ipmi/ |
H A D | test_ipmi_watchdog.robot | 21 Test IPMI Watchdog Timer Does Not Log Bit 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 35 [Template] Execute IPMI Raw Command And Verify Response Data After Watchdog Expires 38 ${IPMI_RAW_CMD['Watchdog']['Set'][6]} ${IPMI_RAW_CMD['Watchdog']['Get'][0]} 39 ... ${IPMI_RAW_CMD['Watchdog']['Get'][5]} 40 ${IPMI_RAW_CMD['Watchdog']['Set'][9]} ${IPMI_RAW_CMD['Watchdog']['Get'][0]} [all …]
|
/openbmc/linux/Documentation/watchdog/ |
H A D | watchdog-parameters.rst | 6 the Linux watchdog drivers. Watchdog driver parameter specs should 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 62 Watchdog timeout in seconds. (1<=timeout<=3600, default=30 67 Watchdog cannot be stopped once started 74 Watchdog margin in seconds (default=60) 83 Watchdog timeout in seconds. (default=120) [all …]
|
H A D | pcwd-watchdog.rst | 2 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 25 Watchdog program. 31 If you want to write a program to be compatible with the PC Watchdog
|
H A D | wdt.rst | 2 WDT Watchdog Timer Interfaces For The Linux Operating System 34 heartbeat Watchdog heartbeat in seconds (default 60) 35 nowayout Watchdog cannot be stopped once started (kernel 61 Example Watchdog Driver:
|
/openbmc/phosphor-watchdog/src/ |
H A D | watchdog.hpp | 22 using WatchdogInherits = sdbusplus::server::object_t<Base::Watchdog>; 29 class Watchdog : public WatchdogInherits class 32 Watchdog() = delete; 33 ~Watchdog() = default; 34 Watchdog(const Watchdog&) = delete; 35 Watchdog& operator=(const Watchdog&) = delete; 36 Watchdog(Watchdog&&) = delete; 37 Watchdog& operator=(Watchdog&&) = delete; 68 Watchdog(sdbusplus::bus_t& bus, const char* objPath, in Watchdog() function in phosphor::watchdog::Watchdog 77 timer(event, std::bind(&Watchdog::timeOutHandler, this)), [all …]
|
H A D | mainapp.cpp | 37 using phosphor::watchdog::Watchdog; 40 void printActionTargetMap(const Watchdog::ActionTargetMap& actionTargetMap) in printActionTargetMap() 51 void printFallback(const Watchdog::Fallback& fallback) in printFallback() 152 Watchdog::ActionTargetMap actionTargetMap; in main() 155 actionTargetMap[Watchdog::Action::HardReset] = *target; in main() 156 actionTargetMap[Watchdog::Action::PowerOff] = *target; in main() 157 actionTargetMap[Watchdog::Action::PowerCycle] = *target; in main() 174 Watchdog::Action action; in main() 177 action = Watchdog::convertActionFromString(key); in main() 197 std::optional<Watchdog::Fallback> maybeFallback; in main() [all …]
|
H A D | watchdog.cpp | 27 void Watchdog::resetTimeRemaining(bool enableWatchdog) in resetTimeRemaining() 37 bool Watchdog::enabled(bool value) in enabled() 63 uint64_t Watchdog::timeRemaining() const in timeRemaining() 75 uint64_t Watchdog::timeRemaining(uint64_t value) in timeRemaining() 103 uint64_t Watchdog::interval(uint64_t value) in interval() 109 void Watchdog::timeOutHandler() in timeOutHandler() 173 void Watchdog::tryFallbackOrDisable() in tryFallbackOrDisable()
|
/openbmc/linux/Documentation/devicetree/bindings/watchdog/ |
H A D | men-a021-wdt.txt | 1 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
|
H A D | st_lpc_wdt.txt | 1 STMicroelectronics Low Power Controller (LPC) - Watchdog 4 LPC currently supports Watchdog OR Real Time Clock OR Clocksource 26 - timeout-sec : Watchdog timeout in seconds
|
/openbmc/phosphor-watchdog/test/ |
H A D | watchdog.cpp | 35 wdog(std::make_unique<Watchdog>( in WdogTest() 36 bus, TEST_PATH, event, Watchdog::ActionTargetMap(), std::nullopt, in WdogTest() 54 std::unique_ptr<Watchdog> wdog; 98 auto newAction = Watchdog::Action::PowerOff; in TEST_F() 277 Watchdog::Fallback fallback; in TEST_F() 278 fallback.action = Watchdog::Action::PowerOff; in TEST_F() 282 wdog = std::make_unique<Watchdog>(bus, TEST_PATH, event, in TEST_F() 283 Watchdog::ActionTargetMap(), fallback); in TEST_F() 306 EXPECT_EQ(Watchdog::Action::None, in TEST_F() 307 wdog->expireAction(Watchdog::Action::None)); in TEST_F() [all …]
|
/openbmc/openbmc/meta-amd/meta-common/recipes-phosphor/watchdog/phosphor-watchdog/ |
H A D | phosphor-watchdog.service | 2 Description=Phosphor Watchdog 5 ExecStart=/usr/bin/env phosphor-watchdog --continue --service=xyz.openbmc_project.Watchdog \ 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.… 12 BusName =xyz.openbmc_project.Watchdog
|
/openbmc/openbmc/meta-ufispace/meta-ncplite/recipes-phosphor/watchdog/phosphor-watchdog/ |
H A D | phosphor-watchdog.service | 2 Description=Phosphor Watchdog 5 ExecStart=/usr/bin/phosphor-watchdog --continue --service=xyz.openbmc_project.Watchdog \ 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.… 12 BusName=xyz.openbmc_project.Watchdog
|
/openbmc/openbmc/meta-quanta/meta-s6q/recipes-phosphor/watchdog/phosphor-watchdog/ |
H A D | phosphor-watchdog.service | 2 Description=Phosphor Watchdog 5 ExecStart=/usr/bin/env phosphor-watchdog --continue --service=xyz.openbmc_project.Watchdog \ 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… 12 BusName=xyz.openbmc_project.Watchdog
|
/openbmc/openbmc/meta-yadro/meta-vegman/recipes-phosphor/watchdog/phosphor-watchdog/ |
H A D | phosphor-watchdog.service | 2 Description=Phosphow Watchdog 6 --service=xyz.openbmc_project.Watchdog \ 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.… 13 BusName=xyz.openbmc_project.Watchdog
|
/openbmc/openbmc/meta-facebook/recipes-phosphor/watchdog/phosphor-watchdog/ |
H A D | phosphor-watchdog.service | 2 Description=Phosphor Watchdog 5 ExecStart=/usr/bin/env phosphor-watchdog --continue --service=xyz.openbmc_project.Watchdog \ 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.… 12 BusName =xyz.openbmc_project.Watchdog
|
/openbmc/qemu/tests/qtest/ |
H A D | npcm7xx_watchdog_timer-test.c | 36 typedef struct Watchdog { struct 39 } Watchdog; typedef 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() 104 static uint32_t watchdog_interrupt_cycles(QTestState *qts, const Watchdog *wd) in watchdog_interrupt_cycles() 115 static int64_t watchdog_interrupt_steps(QTestState *qts, const Watchdog *wd) in watchdog_interrupt_steps() 124 const Watchdog *wd = watchdog; in test_init() [all …]
|
/openbmc/openbmc/meta-fii/meta-kudo/recipes-phosphor/watchdog/phosphor-watchdog/ |
H A D | phosphor-watchdog.service | 2 Description=Phosphor Watchdog 5 ExecStart=/usr/bin/env phosphor-watchdog --continue --service=xyz.openbmc_project.Watchdog \ 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.… 14 BusName=xyz.openbmc_project.Watchdog
|
H A D | phosphor-watchdog-host-reset.service | 2 Description=Watchdog power state reset system 7 ExecStart=echo "Watchdog HardReset Action Happened (no ops)"
|
H A D | phosphor-watchdog-host-cycle.service | 2 Description=Watchdog power state power hotswap 7 ExecStart=echo "Watchdog PowerCycle Action happened (no ops)"
|
H A D | phosphor-watchdog-host-poweroff.service | 2 Description=Watchdog power state power cycle shutdown 7 ExecStart=echo "Watchdog PowerOff Action happened (no ops)"
|
/openbmc/openbmc/meta-quanta/meta-gbs/recipes-phosphor/watchdog/phosphor-watchdog/ |
H A D | phosphor-watchdog@.service | 2 Description=Phosphor Watchdog 9 --action_target=xyz.openbmc_project.State.Watchdog.Action.HardReset=${{UNIT_HARD_RESET}} \ 10 --action_target=xyz.openbmc_project.State.Watchdog.Action.PowerOff=${{UNIT_POWER_OFF}} \ 11 --action_target=xyz.openbmc_project.State.Watchdog.Action.PowerCycle=${{UNIT_POWER_CYCLE}} 13 BusName=xyz.openbmc_project.Watchdog
|
/openbmc/linux/drivers/watchdog/ |
H A D | Kconfig | 4 # Watchdog device configuration 8 bool "Watchdog Timer Support" 84 comment "Watchdog Pretimeout Governors" 117 prompt "Default Watchdog Pretimeout Governor" 145 # General Watchdog drivers 148 comment "Watchdog Device Drivers" 172 tristate "ROHM BD9576MUF and BD9573MUF PMIC Watchdog" 185 tristate "Dialog DA9052 Watchdog" 189 Support for the watchdog in the DA9052 PMIC. Watchdog trigger 197 tristate "Dialog Semiconductor DA9055 Watchdog" [all …]
|
/openbmc/openbmc/meta-fii/meta-kudo/recipes-kudo/host/files/ |
H A D | ampere_power_util.sh | 25 …bmc_project.Watchdog /xyz/openbmc_project/watchdog/host0 xyz.openbmc_project.State.Watchdog Expire… 77 …bmc_project.Watchdog /xyz/openbmc_project/watchdog/host0 xyz.openbmc_project.State.Watchdog Expire…
|
/openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/State/Watchdog/ |
H A D | meson.build | 3 sdbusplus_current_path = 'xyz/openbmc_project/State/Watchdog' 8 '../../../../../yaml/xyz/openbmc_project/State/Watchdog.interface.yaml', 23 'xyz/openbmc_project/State/Watchdog',
|
/openbmc/openbmc/meta-quanta/meta-gbs/recipes-phosphor/watchdog/phosphor-watchdog/obmc/watchdog/ |
H A D | host0 | 2 SERVICE=xyz.openbmc_project.Watchdog 6 FALLBACK_ACTION=xyz.openbmc_project.State.Watchdog.Action.PowerCycle
|