History log of /openbmc/openpower-proc-control/nmi_main.cpp (Results 1 – 5 of 5)
Revision Date Author Comments
# 00dd33ef 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: I66785e0aa71a93f9370db0168049cd62c1f69728
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# aaea6867 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: I29672cb229bd07022b00f52105ac1d50ecacca62

show more ...


# 63508a73 27-Oct-2020 Brad Bishop <bradleyb@fuzziesquirrel.com>

fix compiler warnings

Fix a couple pedantic, format=, and unused-parameter warnings so we can
turn the warnings all the way up.

Change-Id: I7c6309e30147f54fc64ace99dc784fbd96c77c70
Signed-off-by: B

fix compiler warnings

Fix a couple pedantic, format=, and unused-parameter warnings so we can
turn the warnings all the way up.

Change-Id: I7c6309e30147f54fc64ace99dc784fbd96c77c70
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...


# 424475d4 02-Aug-2019 Andrew Jeffery <andrew@aj.id.au>

nmi: Use libpdbg directly

This avoids calling DBus to run a systemd unit that is effectively a
shell script when we already have libpdbg on the system anyway.

Signed-off-by: Andrew Jeffery <andrew@

nmi: Use libpdbg directly

This avoids calling DBus to run a systemd unit that is effectively a
shell script when we already have libpdbg on the system anyway.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I9a36c38f075d402b9bc406433475a371d1cdbe62

show more ...


# 16ab00cb 03-Jun-2019 Lakshminarayana R. Kammath <lkammath@in.ibm.com>

NMI (soft reset) control code enablement

Changes here include:
1) A service that triggers Open BMC App (openpower-proc-nmi)
2) An application that waits for a dbus event (NMI) to occur
3) A

NMI (soft reset) control code enablement

Changes here include:
1) A service that triggers Open BMC App (openpower-proc-nmi)
2) An application that waits for a dbus event (NMI) to occur
3) A reset logic that triggers a NMI/softreset dbus service which
will invoke pdbg call to trigger stop followed by sreset on all
threads
4) Necessary Makefile.am changes

Tested: Verified following
1) openpower-proc-nmi app is automatically started once host is started
2) After killing the app made sure app is restarted successfully
3) Verified NMI is detected on the Host side and crash dump being
collected in /var/crash/ and taking a watchdog triggered reboot
4) System coming back to original state once all #3 is completed
5) Powered off the system (obmcutil poweroff) service disabled and
enabled after host is powered on

Signed-off-by: Lakshminarayana R. Kammath <lkammath@in.ibm.com>
Change-Id: I16f3bb2a2ed0c0ffcea2a720a2ae39a2b303ef9e

show more ...