| /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/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/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/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/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/qemu/tests/qtest/ |
| H A D | npcm7xx_watchdog_timer-test.c | 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() 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/phosphor-host-ipmid/app/ |
| H A D | watchdog_service.cpp | 22 using sdbusplus::server::xyz::openbmc_project::state::Watchdog; 27 ipmi::ServiceCache WatchdogService::wdService(Watchdog::interface, wdPath); 35 wdService.newMethodCall(bus, Watchdog::interface, "ResetTimeRemaining"); in resetTimeRemaining() 60 request.append(Watchdog::interface); in getProperties() 86 wdProp.expireAction = Watchdog::convertActionFromString( in getProperties() 88 wdProp.timerUse = Watchdog::convertTimerUseFromString( in getProperties() 90 wdProp.expiredTimerUse = Watchdog::convertTimerUseFromString( in getProperties() 116 request.append(Watchdog::interface, key); in getProperty() 148 request.append(Watchdog::interface, key, std::variant<T>(val)); in setProperty()
|
| H A D | watchdog_service.hpp | 17 sdbusplus::server::xyz::openbmc_project::state::Watchdog::Action; 19 sdbusplus::server::xyz::openbmc_project::state::Watchdog::TimerUse;
|
| /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', 28 'xyz/openbmc_project/State/Watchdog',
|
| /openbmc/openbmc/meta-facebook/meta-catalina/recipes-phosphor/gpio/phosphor-gpio-monitor/catalina/ |
| H A D | platform-gpio-monitor | 78 …ctl set-property xyz.openbmc_project.Watchdog /xyz/openbmc_project/watchdog/host0 xyz.openbmc_proj… 110 …ctl get-property xyz.openbmc_project.Watchdog /xyz/openbmc_project/watchdog/host0 xyz.openbmc_proj… 111 …ctl set-property xyz.openbmc_project.Watchdog /xyz/openbmc_project/watchdog/host0 xyz.openbmc_proj…
|
| /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
|
| /openbmc/openbmc/meta-google/recipes-google/host-power-ctrl/ |
| H A D | libwatchdog_git.bb | 1 SUMMARY = "Watchdog Shell Library" 2 DESCRIPTION = "Watchdog Shell Library"
|
| /openbmc/openbmc/meta-phosphor/recipes-phosphor/watchdog/phosphor-watchdog/ |
| H A D | obmc-enable-host-watchdog@.service | 2 Description=Start Watchdog%i 12 …g/host%i org.freedesktop.DBus.Properties Set ssv xyz.openbmc_project.State.Watchdog Enabled b true"
|
| /openbmc/phosphor-host-ipmid/ |
| H A D | host-ipmid-whitelist.conf | 19 0x06:0x22 //<App>:<Reset Watchdog Timer> 20 0x06:0x24 //<App>:<Set Watchdog Timer> 21 0x06:0x25 //<App>:<Get Watchdog Timer>
|