History log of /openbmc/openpower-hw-diags/util/dbus.hpp (Results 1 – 17 of 17)
Revision Date Author Comments
# df9f8e40 18-Feb-2025 Zane Shelley <zshelle@us.ibm.com>

Add xbus connections for new systems

Change-Id: I4e36c21a872a4e480095656ccc189c88f6f609c6
Signed-off-by: Zane Shelley <zshelle@us.ibm.com>


# 36b043e9 14-Oct-2024 Pavithra Barithaya <pavithrabarithaya07@gmail.com>

Move to libpldm instance id APIs

libpldm provides APIs for allocating instance IDs directly, which
eliminates the need for remote dbus calls to the pldm daemon. Refactor
the code to use these APIs

Move to libpldm instance id APIs

libpldm provides APIs for allocating instance IDs directly, which
eliminates the need for remote dbus calls to the pldm daemon. Refactor
the code to use these APIs and eliminate all the dbus operations.

Change-Id: Ie73a1abb30e12a40014b2d35209e6e90c38a148b
Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com>

show more ...


# 08f25b21 14-Oct-2024 Pavithra Barithaya <pavithrabarithaya07@gmail.com>

Change "mctp instance id" to "pldm instance id"

Instance IDs are the ids given from the instanceID database
to the PLDM request and response messages.
Its not a MCTP thing but rather related to the

Change "mctp instance id" to "pldm instance id"

Instance IDs are the ids given from the instanceID database
to the PLDM request and response messages.
Its not a MCTP thing but rather related to the PLDM messages.

Change-Id: I6eda652ec86cba691b8b2b848ca0c9227e4c05dc
Signed-off-by: Pavithra Barithaya <pavithrabarithaya07@gmail.com>

show more ...


# a0c724d3 16-Aug-2024 Patrick Williams <patrick@stwcx.xyz>

clang-format: re-format for clang-18

clang-format-18 isn't compatible with the clang-format-17 output, so we
need to reformat the code with the latest version. The way clang-18
handles lambda forma

clang-format: re-format for clang-18

clang-format-18 isn't compatible with the clang-format-17 output, so we
need to reformat the code with the latest version. The way clang-18
handles lambda formatting also changed, so we have made changes to the
organization default style format to better handle lambda formatting.

See I5e08687e696dd240402a2780158664b7113def0e for updated style.
See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.

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

show more ...


# a92dc027 16-Apr-2024 Deepa Karthikeyan <deepakala.karthikeyan@ibm.com>

Disable host watchdog during dump collection

Host watchdog to be disabled during hostboot and hardware dump
collection.

During a checkstop attention, the system is not functioning normally. So
a ha

Disable host watchdog during dump collection

Host watchdog to be disabled during hostboot and hardware dump
collection.

During a checkstop attention, the system is not functioning normally. So
a hardware or hostboot dump is collected and it could take a while to
get completed. If the watchdog timer is active during that time, it may
get triggered. As we already know the system is not functioning
normally and are collecting dump, disable the watchdog when the dump
collection is in progress.

Tested and ensured that one dump is created during a checkstop.

From the logs was able to identify that the host watchdog is disabled
just when the dump collection starts and host watchdog resumes after the
dump collection.

It is verified for both hardware dump and hostboot dump

Change-Id: I5f9df253594f9e858ca0477acb3ce1f3a4639785
Signed-off-by: deepakala-k <deepakala.karthikeyan@ibm.com>

show more ...


# a7dc66ba 06-Nov-2023 Zane Shelley <zshelle@us.ibm.com>

Add SMP link support for Bonnell

Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: I69e9cec0e050fa207254d11ba3596858ed767432


# 27dd6368 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: I27b0d1357211259edb6ec2776924729052f238d6
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# 1ff926e0 26-Jan-2023 Andrew Geissler <geissonator@yahoo.com>

power down when host fail detected in power off path

Some code was introduced recently within hw-diags to ensure it was still
running while the host was in the process of powering off. Prior to this

power down when host fail detected in power off path

Some code was introduced recently within hw-diags to ensure it was still
running while the host was in the process of powering off. Prior to this
change, hw-diags was only ever running while either hostboot or PHYP was
running. Now that hw-diags can be running in the power off path, a
change in logic is needed on which systemd target to call on detection
of a host error.

Both the quiesce and crash targets can only be called from a host
running state. If the host is in the process of powering off when an
error is detected then an appropriate error should be logged, and then
the obmc-chassis-hard-poweroff@.target should be called. This will
ensure the services waiting for the host to indicate it has shutdown are
properly stopped and the system is powered off.

If more of these types of situation arise, it may be pertinent to
revisit service directly calling systemd targets. An alternative to
putting the responsibility on the calling service is to have a central
authority that services call instead of the systemd target directly.
This would be a large change requiring extensive changes and testing.

Tested:
- Injected PHYP TI while graceful power off was in process
- Verified hw-diags generate error with TI data
- Verified hard-poweroff target was called and pldm soft power off
service was stopped and system properly powered off
- Injected error with dumps disabled and system at runtime, verified
system went to Quiesced and auto rebooted
- Injected error with dumps enabled and system at runtime, verified
MPIPL was done and SYSDUMP generated

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I13e2bc45a948930c31ede2728f9d78b9b8bff5b1

show more ...


# 2b26b2bb 15-Dec-2022 Ben Tyner <ben.tyner@ibm.com>

Add power fault check to checkstop handler

If a power fault is being reported during a
checkstop condition we will not call the
analyzer.

Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: I98

Add power fault check to checkstop handler

If a power fault is being reported during a
checkstop condition we will not call the
analyzer.

Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: I9813a55b80eb1b94c6ad2d5cddb2e56b1daa67f4

show more ...


# 88b10093 14-Dec-2022 Ben Tyner <ben.tyner@ibm.com>

Add functions useful for pldm requests

Added functions for getting state effector PDRs,
state sensor PDRs and MCTP instances.

Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: If7f0675c55c68c

Add functions useful for pldm requests

Added functions for getting state effector PDRs,
state sensor PDRs and MCTP instances.

Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: If7f0675c55c68cb10402d50e4a2d2f3e7f4a793b

show more ...


# 626270af 21-Feb-2022 Caleb Palmer <cnpalmer@us.ibm.com>

Add support for getting a connected peer from IOHS or SMPGROUP

This adds getConnectedTarget support to get a connected peer
target that is across a bus from a provided IOHS or
SMPGROUP/IOLINK target

Add support for getting a connected peer from IOHS or SMPGROUP

This adds getConnectedTarget support to get a connected peer
target that is across a bus from a provided IOHS or
SMPGROUP/IOLINK target

Signed-off-by: Caleb Palmer <cnpalmer@us.ibm.com>
Change-Id: I00320cf604ea21023b702fc984efd83f137ab36d

show more ...


# 1315968c 16-Feb-2022 Ben Tyner <ben.tyner@ibm.com>

attn: Move create pel support to util

Move the create pel support from attention handler the util library.

Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: I023add4b3e237d0253b218ff2912ea081

attn: Move create pel support to util

Move the create pel support from attention handler the util library.

Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: I023add4b3e237d0253b218ff2912ea081961da6d

show more ...


# 39fcf65d 19-Oct-2021 Ben Tyner <ben.tyner@ibm.com>

Attn: Qualify MPIPL request with dump policy

Check the value of the dumpPolicyEnabled property and if it is true
(dumps enabled) then request MPIPL for PHYP TI cases, otherwise quiesce
the host.

Si

Attn: Qualify MPIPL request with dump policy

Check the value of the dumpPolicyEnabled property and if it is true
(dumps enabled) then request MPIPL for PHYP TI cases, otherwise quiesce
the host.

Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: Iff9d89c18b37fff02b741c20b9f988238674a147

show more ...


# fe2c50d7 23-Jul-2021 Ben Tyner <ben.tyner@ibm.com>

util::dbus: Make common the hostRunningState code

Move the code for getting the host running state from attention handler
specific code to common utility code.

Signed-off-by: Ben Tyner <ben.tyner@i

util::dbus: Make common the hostRunningState code

Move the code for getting the host running state from attention handler
specific code to common utility code.

Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: I457662cc13aa4dc89b321f238cd060e7e7486d1b

show more ...


# ffb4867f 23-Jul-2021 Ben Tyner <ben.tyner@ibm.com>

util::dbus: Make common the autorebootEnabled code

Move the code for checking autoreboot property from attention handler
specific code to common utility dbus code.

Signed-off-by: Ben Tyner <ben.tyn

util::dbus: Make common the autorebootEnabled code

Move the code for checking autoreboot property from attention handler
specific code to common utility dbus code.

Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: Ia2b5e4bd3d7baa57ca46600cb5ed150144d5728e

show more ...


# 9306716d 23-Jul-2021 Ben Tyner <ben.tyner@ibm.com>

util::dbus: Make common the transition host support

Move transition host support from attention handler specific code to
common util code.

Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: I7

util::dbus: Make common the transition host support

Move transition host support from attention handler specific code to
common util code.

Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: I7fb4970354aaeca65fcc074107f99262e504ac34

show more ...


# 324234b4 28-Jun-2021 Ben Tyner <ben.tyner@ibm.com>

Util: Add common dbus code to util namespace

Add dbus code that can be used by analyzer, isolator, attention to util.

Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: I6205ea227b72c7bafa2304

Util: Add common dbus code to util namespace

Add dbus code that can be used by analyzer, isolator, attention to util.

Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: I6205ea227b72c7bafa230446c3c2120b87abc207

show more ...