History log of /openbmc/phosphor-watchdog/src/watchdog.cpp (Results 1 – 7 of 7)
Revision Date Author Comments
# 6ac6a347 10-May-2023 Patrick Williams <patrick@stwcx.xyz>

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.

Change-Id: Ia06580233fef9cef24843e1e3ff6b5a3f522852a
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# d1b1e79b 21-Nov-2022 William A. Kennington III <wak@google.com>

main: Leverage common function for loop

sdeventplus now has a common function that works around dbus memory
leaks when being used with sdbus.

Change-Id: Id4a405508296c63158abfa28c4063a386704480b
Si

main: Leverage common function for loop

sdeventplus now has a common function that works around dbus memory
leaks when being used with sdbus.

Change-Id: Id4a405508296c63158abfa28c4063a386704480b
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...


# fcc00392 14-Nov-2022 selvaganapathi <selvaganapathim@ami.com>

phosphor-watchdog: Send Signal None for timout

As per IPMI specification signal should be send
for action "None" when no timout action
configured. Because TimerExpired also a event.

00h - Timer exp

phosphor-watchdog: Send Signal None for timout

As per IPMI specification signal should be send
for action "None" when no timout action
configured. Because TimerExpired also a event.

00h - Timer expired
01h - Hard reset
02h - Power down
03h - Power cycle

Tested:
Successfully build and tested in reference
platform.
Signal received when action configured as None.

Signed-off-by: selvaganapathi <selvaganapathim@ami.com>
Change-Id: I9a0ee11c31a6dc3992f0b6689753b468cf78a095

show more ...


# 73bd5277 22-Jul-2022 Patrick Williams <patrick@stwcx.xyz>

sdbusplus: use shorter type aliases

The sdbusplus headers provide shortened aliases for many types.
Switch to using them to provide better code clarity and shorter
lines. Possible replacements are

sdbusplus: use shorter type aliases

The sdbusplus headers provide shortened aliases for many types.
Switch to using them to provide better code clarity and shorter
lines. Possible replacements are for:
* bus_t
* exception_t
* manager_t
* match_t
* message_t
* object_t
* slot_t

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I592583489212a3a7d3fc48cedac2a97489aa149b

show more ...


# 15c5bd1b 02-Sep-2021 Patrick Williams <patrick@stwcx.xyz>

exception: switch to public sdbus exception

SdBusError was intended to be a private error type inside sdbusplus.
Switch all catch locations to use the general sdbusplus::exception type.

Signed-off-

exception: switch to public sdbus exception

SdBusError was intended to be a private error type inside sdbusplus.
Switch all catch locations to use the general sdbusplus::exception type.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Id531dea23a3084fc0d1e4c5e0504e944bd619b05

show more ...


# 9ef0d0fb 07-Jul-2021 Willy Tu <wltu@google.com>

watchdog: Add signal for timeout event

Send out Timeout signal to indicate timeout event.

The new signal will be sent to the object path of the watchdog with
`xyz.openbmc_project.Watchdog` as the i

watchdog: Add signal for timeout event

Send out Timeout signal to indicate timeout event.

The new signal will be sent to the object path of the watchdog with
`xyz.openbmc_project.Watchdog` as the interface and the "Timeout"
as Member.

The first argument of signal will be the action taken by the timeout
event to help indicate the event type.

This allow the us to know that the timeout event happened and the action
taken. The action taken might not be the same as expiredAction due to
fallback mode.

Tested:
```
$ ipmitool sel list
3c | Pre-Init |0000000173| Watchdog2 #0xf9 | Power cycle | Asserted
3d | Pre-Init |0000000175| Watchdog2 #0xf9 | Power cycle | Asserted
3e | Pre-Init |0000000176| Watchdog2 #0xf9 | Power cycle | Asserted
3f | Pre-Init |0000000178| Watchdog2 #0xf9 | Power cycle | Asserted
```

Change-Id: I88b3e837c0e011fc6c2a0537bfd98b0720716076
Signed-off-by: Willy Tu <wltu@google.com>

show more ...


# 42506393 22-Apr-2021 William A. Kennington III <wak@google.com>

Move source into src directory

This makes the source more distinguishable from top-level metadata.

Change-Id: I5e41186d4606422937ec7d37402a3031d3f776b6
Signed-off-by: William A. Kennington III <wak

Move source into src directory

This makes the source more distinguishable from top-level metadata.

Change-Id: I5e41186d4606422937ec7d37402a3031d3f776b6
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...